Boot from USB compact flash reader...?

Boot from USB compact flash reader...?

Post by Alan Lythab » Tue, 29 Oct 2002 20:54:02



Hi!

Is it possible to boot from a USB CF adaptor?

The BIOS supports booting from USB floppy, USB ZIP, USB CD and USB HDD.

I formatted a CF with FDISK as a FAT partition, marked it as bootable, and
copied the files from a boot floppy to it, intending to load Linux via the
network from a DVD.... But I can't boot from the CF.

I can't use a floppy to boot from, as there isn't a floppy interface! The
motherboard is a VIA EPIA mini ITX.

Thanks!

 
 
 

Boot from USB compact flash reader...?

Post by bill » Tue, 29 Oct 2002 22:22:54


check out this site -
http://old.lwn.net/1998/0430/miniHOWTO.html
good luck

> Hi!

> Is it possible to boot from a USB CF adaptor?

> The BIOS supports booting from USB floppy, USB ZIP, USB CD and USB HDD.

> I formatted a CF with FDISK as a FAT partition, marked it as bootable, and
> copied the files from a boot floppy to it, intending to load Linux via the
> network from a DVD.... But I can't boot from the CF.

> I can't use a floppy to boot from, as there isn't a floppy interface! The
> motherboard is a VIA EPIA mini ITX.

> Thanks!


 
 
 

Boot from USB compact flash reader...?

Post by Henrik Carlqvis » Wed, 30 Oct 2002 04:27:23



> Is it possible to boot from a USB CF adaptor?

According to http://www.mini-itx.com/reviews/2688R/page4.asp#cubid0006 it
should be possible.

Quote:> I formatted a CF with FDISK as a FAT partition, marked it as bootable,
> and copied the files from a boot floppy to it, intending to load Linux
> via the network from a DVD.... But I can't boot from the CF.

To boot from a DOS partition you will have to:

1) Partition the disk with at least one primary partition (you probably
did that)

2) Mark the partition as active (you say you did that)

3) Write a master boot record to the disk. (this is done if you used DOS
fdisk. If you used linux fdisk to create partitions, use DOS "fdisk /mbr"
or download ms-sys from http://ms-sys.sourceforge.net )

4) Write a boot record to your partition (this is done with "sys D:" in
DOS or ms-sys in Linux)

5) Copy system files (you say you did that and it has already been done if
you used "sys D:")

Quote:> The motherboard is a VIA EPIA mini ITX.

So is the one at the web page above.

regards Henrik

--
The address in the header is only to prevent spam. My real address is:
hc1(at)uthyres.com Examples of addresses which go to spammers:

 
 
 

Boot from USB compact flash reader...?

Post by Christian Ostheim » Thu, 28 Nov 2002 20:29:44




> > Is it possible to boot from a USB CF adaptor?

> According to http://www.mini-itx.com/reviews/2688R/page4.asp#cubid0006 it
> should be possible.

> > I formatted a CF with FDISK as a FAT partition, marked it as bootable,
> > and copied the files from a boot floppy to it, intending to load Linux
> > via the network from a DVD.... But I can't boot from the CF.

> To boot from a DOS partition you will have to:

> 1) Partition the disk with at least one primary partition (you probably
> did that)

> 2) Mark the partition as active (you say you did that)

> 3) Write a master boot record to the disk. (this is done if you used DOS
> fdisk. If you used linux fdisk to create partitions, use DOS "fdisk /mbr"
> or download ms-sys from http://ms-sys.sourceforge.net )

> 4) Write a boot record to your partition (this is done with "sys D:" in
> DOS or ms-sys in Linux)

> 5) Copy system files (you say you did that and it has already been done if
> you used "sys D:")

> > The motherboard is a VIA EPIA mini ITX.

> So is the one at the web page above.

> regards Henrik

It really depends on the bios and the CF-card reader.
In my case the pendrive usb memory stick works and the sandisk
cruzer SD-card reader does not work.

To write the boot sector you can use as well syslinux version 2.
Some more details about using syslinux to boot from USB can be found
at www.8ung.at/spblinux/

Christian Ostheimer

 
 
 

1. USB Compact Flash Reader, Help with setup

I am trying to get the compact flash card reader that came with my I-Jam
50 setup. It is a USB mass storage device, I'm running 4.2 Release #4. I
have the following devices in my kernel config :

device uchi
device usb
device ugen
device umass
device scbus
device da
device pass

The order above is the order in which the appear in the config file
(this makes a difference I thing).

I do make depend, make, make install, and reboot. The kernel does
correctly prode the device at boot time, I get :

usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
ugen0: SHUTTLE SCM Micro USBAT-02 , rev 1.00/0.05, addr 2
uhci1: <VIA 83C572 USB controller> port 0xd800-0xd81f irq 10 at device
4.3 on pc
i0SC[A
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered

camcontrol devlist -v give me:
scbus-1 on xpt0 bus 0:
<  >                               at scbus-1 target -1 lun -1 (xpt0)

camcontrol rescan 0 gives me :
camcontrol: CAMIOCOMMAND ioctl failed: Invalid argument

and when I try to mount I get
mount -t msdos /dev/da0 /mnt/flash
msdos: /dev/da0: Device not configured

I think part of the problem is that I do not have a SCSI adapter in the
system and the scsi code isn't getting activated, but I'm not sure. Does
anybody have a solution, or thought on what to try next?

Jason Denton

2. My "verdict" on 2.2.7...

3. USB Compact Flash Readers

4. installation prob: wont read cdrom

5. SanDisk Compact Flash USB Reader (SDDR-31): WHICH DEVICE?

6. named, reload database?

7. Help mounting a USB Compact Flash Reader with 64MB card

8. Changes: [READ ME FIRST] Welcome to comp.unix.programmer (v1.4)

9. block devices & module leading & USB Compact Flash readers

10. USB compact flash readers anyone?

11. USB Compact Flash Card Reader from SCM Micro

12. How to use USB compact flash reader in RH8

13. Help recognizing USB Compact Flash Reader and card