On Tue, 14 Mar 2006, Ken Cobler wrote:

> Stephen Liu wrote:
> 
> >Hi folks,
> >
> >Would it be possible installing USB pendrive as Hard drive, running
> >Grub to boot?
> >
> >I have been trying couple days making DSL 2.2b running on a pendrive as
> >a Hard drive using Grub to boot the device without success.
> >
> >The motherboard supports USB-ZIP/USB-HDD/USB-FDD/SCSI/etc.booting. The
> >pendrive can be booted if install DSL on it as USB-ZIP running syslinux
> >as booting device but never work as USB-HDD.  It also did not work
> >using grub to boot.  I also tried booting SCSI option as a USB 2.0 PCI
> >Controller has been installed.
> >
> >Advice and/or links would be appreciated.  TIA
> >
> >B.R.
> >Stephen Liu
> >
> I have configured a 256M USB hard drive as a bootable device, loaded a basic 
> linux 2.6 OS and able to get it to boot.  I use the device as a loader to 
> configure computers that have no image on their hard drive.
> 
> Here is the link that helped me out the most. 
> http://forums.gentoo.org/viewtopic.php?p=2384956#2384956
> 
> 
> The biggest issue with USB device is that to Linux it appears as a SCSI 
> device.  You can get into a catch-22 situation where the device will boot to 
> get the image, but cannot mount the root filesystem even though the SCSI 
> driver is installed in the image.

It looks like there are two key issues:

     1. You have to have entries in your initrd's filesystem for /dev/sda
        and /dev/sda1.  Otherwise you won't have any way to access the USB 
        device.

     2. You have to allow time for the USB and SCSI stacks to recognize
        the pendrive.  5 seconds is minimal, 10 seconds should be plenty.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to