linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* USB root filesytem using a 2.6 kernel?
@ 2005-09-13 12:17 Jeff Stevens
  2005-09-13 14:34 ` Peter Korsgaard
  0 siblings, 1 reply; 2+ messages in thread
From: Jeff Stevens @ 2005-09-13 12:17 UTC (permalink / raw)
  To: linuxppc-embedded

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 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: USB root filesytem using a 2.6 kernel?
  2005-09-13 12:17 USB root filesytem using a 2.6 kernel? Jeff Stevens
@ 2005-09-13 14:34 ` Peter Korsgaard
  0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2005-09-13 14:34 UTC (permalink / raw)
  To: Jeff Stevens; +Cc: linuxppc-embedded

On 9/13/05, Jeff Stevens <jsteve17@yahoo.com> 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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-09-13 14:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-13 12:17 USB root filesytem using a 2.6 kernel? Jeff Stevens
2005-09-13 14:34 ` Peter Korsgaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).