[Peeweelinux] newbie wants to target USB HDD

Barry Gershenfeld [email protected]
Mon, 30 Dec 2002 10:33:46 -0800 (PST)


>I'm working through the example to create an image to a boot floppy. Instead,
>I'd like to write it to my USB disk, so I can move it to my test machine and
>see if it boots. Is this possible?
>
>thanks,
>dan

It's possible if the test machine will boot a USB drive.

Basically you have to choose a creating method and then 
specify the USB drive in place of the floppy or hard
drive.  The floppy setup has "/dev/fd0" as the device
to write to, while hard drive options specify "/dev/hdc"
or equivalent.  Your USB drive is likely mapped to a 
scsi device so it would be something like "/dev/sda"
instead.  Be very sure what you specify since the 
script will erase/partition/makefs whatever you
specify.

If the USB drive boots like a floppy then use the
floppy setup; otherwise use one of the hard drive
options to program it.

I don't understand all the options in that disk-creation
script, but I have messed with some of them so give it
a try and let us know what the result is.

Barry