Pb of USB pendrive detection



When I boot my linux os, if my usb pendrive is already connected, it
isn't detected. I must remove it from its plug and reconnect it for it
to be recognized by linux.
So, When I boot over it, I get a message "Unable to mount root file
system".
I've patched the kernel with the USBboot-2422.patch patch to replace
the kernel panic by a loop which tries to mount the root file system.
Now when I boot from the pendrive (with patched kernel), A message
"VFS : cannot open root device, ... Retrying in 1 second." appears. I
disconnect my pendrive and reconnect it at this moment ans it is
detected. The root file system is mounted on the pendrive and the
startup procedure runs ok until the end without errors.

My kernel is 2.4.30 and the distrib is Red Hat 7.1.
All the drivers are in the kernel (no modules) : USB, SCSI,...

Is there a method to force the detection of USB pendrive at boot even
if they are already plugged to the PC ?
Thanks for replies.
Best Regards.

.



Relevant Pages

  • Booting over usb pendrive - usb pendrive detection
    ... When I boot my linux os, if my usb pendrive is already connected, it ... I must remove it from its plug and reconnect it for it ... the kernel panic by a loop which tries to mount the root file system. ... Is there a method to force the detection of USB pendrive at boot even ...
    (comp.os.linux.misc)
  • Pb of USB pendrive detection
    ... When I boot my linux os, if my usb pendrive is already connected, it ... I must remove it from its plug and reconnect it for it ... the kernel panic by a loop which tries to mount the root file system. ... Is there a method to force the detection of USB pendrive at boot even ...
    (comp.os.linux.setup)
  • Re: [ARM] Regression ? at91rm9200 machine-type
    ... I cannot boot my board anymore. ... u-boot is not passing the right boot information to the kernel. ... # Device Drivers ... # RAM/ROM/Flash chip drivers ...
    (Linux-Kernel)
  • Proposed update of the i386 boot document
    ... THE LINUX/I386 BOOT PROTOCOL ... the Linux kernel uses a rather complicated boot ... may not even support a command line. ... low memory touched by the boot loader -- as low as possible, ...
    (Linux-Kernel)
  • Re: [2.6.25-rc1] jerky mouse cursor and randoooom key repeats
    ... By this I mean that given a specific kernel configuration I can boot it ... # AX.25 network device drivers ...
    (Linux-Kernel)