Matthew Dharm wrote:
> 
> Some people have reported success by hacking the kernel to pause for a few
> seconds to allow full enumeration of USB device before trying to mount the
> root filesystem.
> 
> There are some patches floating around -- I don't have them tho.
> 
> Matt



TRUE !! Thanks Matt.


I patched a 2.4.0 kernel (file fs/super.c) and now, linux boots
from a floppy, recognizes the USB mass storage DISK, and uses
it as the root file system: 

Now, I have a portable complete linux in a mini USB disk.

        jordi bataller
        SPAIN

> 
> On Tue, Oct 23, 2001 at 12:57:49PM +0100, [EMAIL PROTECTED] wrote:
> >
> > I want to run linux installed on a partition on a USB disk.
> >
> > In the past, I achieve that with a parallel-port to IDE
> > adapter box with a common IDE hard disk inside, as well as
> > with a parallel iomega ZIP. It works well.
> >
> > In either case I used a floppy that boots the kernel,
> > telling it where the root filesystem is. That worked
> > because the kernel _does_ detect the devices and partitions
> > _BEFORE_  VFS tries to mount the root file system.
> >
> > My problem with the USB disk, is that the device gets
> > detected _after_ VFS tries to mount the root file system,
> > and therefore it can't mount it.
> > I assume this behaviour is due to the plug-and-play
> > nature of USB devices.
> >
> > The question:
> >
> > does anybody knows a way to force the kernel
> > to detect USB disks before mounting
> > the root device?
> >
> > BTW: Of course the drivers for USB and USB
> > mass storage support are compiled into the kernel.
> >
> > Thanks in advace, and thanks to those who told me
> > last week to use kernel 2.4 to support USB disks.
> >
> >       jordi bataller
> >       Gandia
> >       SPAIN
> >
> > _______________________________________________
> > [EMAIL PROTECTED]
> > To unsubscribe, use the last form field at:
> > https://lists.sourceforge.net/lists/listinfo/linux-usb-users
> 
> --
> Matthew Dharm                              Home: [EMAIL PROTECTED]
> Maintainer, Linux USB Mass Storage Driver
> 
> S:  Another stupid question?
> G:  There's no such thing as a stupid question, only stupid people.
>                                         -- Stef and Greg
> User Friendly, 7/15/1998
> 
>   ------------------------------------------------------------------------
>    Part 1.2Type: application/pgp-signature

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to