USB root filesytem using a 2.6 kernel?

2 messages, 2 authors, 2005-09-13 · open the first message on its own page

USB root filesytem using a 2.6 kernel?

From: Jeff Stevens <hidden>
Date: 2005-09-13 12:24:28

Has anyone had any luck booting from a linux filesytem
on a USB pen drive running 2.6?  I am running kernel
2.6.9 that is programmed into flash and am trying to
boot from a root filesystem on a USB pen drive.  I am
using the kernel command line option "root=/dev/sda1".
 I am able to NFS boot my system, and then mount my
pen drive, and can see all of the files fine. 
However, it tells me that I have an invalid root
option if I try setting root to /dev/sda1.  I
understand under 2.4 there is a patch that keeps
trying to mount the sda1 device with time delays in
between each try.  I tried that, but it didn't help. 
I also tried the 2.6 patch that keeps a list of ready
devices, and that didn't work.  I was trying to do
this without a ramdisk, but so far it looks like I'll
have to use one after all.

Thanks,
   Jeff Stevens
   jsteve17@yahoo.com

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: USB root filesytem using a 2.6 kernel?

From: Peter Korsgaard <hidden>
Date: 2005-09-13 14:42:31

On 9/13/05, Jeff Stevens [off-list ref] wrote:
Has anyone had any luck booting from a linux filesytem
on a USB pen drive running 2.6?
It's a timing issue - your USB stick doesn't get detected / scanned
for partitions before the kernel tries to mount the rootfs. Use the
rootdelay kernel parameter to force a delay (of E.G. 10s) to fix it.

You might need to upgrade your kernel through, I think it was added in 2.6.=
11

--=20
Bye, Peter Korsgaard
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help