Hi,
Make sure that your kernel has buildin : usb + usb-storage + fs ext2/3.
RedBoot> load -r -b 0x00218000 -h 192.168.1.48 zImage
RedBoot> exec -c "console=ttyAM0,115200 root=/dev/sda1 rootwait"
The "rootwait" is important because the /dev/sda1 (which is your usbkey
is not discovered yet).
I have made recently a debian rootdisk (eabi) for somebody. It's basic
144mo.
http://mcrapet.free.fr/tmp/nfsroot-lenny-20090508.tar.bz2
Hope it can help.
Regards,
Matthieu
wrote:
>
>
>
> I am trying to boot from a USB key by running the following command:
>
> exec -c "console=ttyAM0,115200 root=/dev/sda1"
>
> and my error message is:
>
> "VFS: Unable to mount root fs via NFS, trying floppy.
> VFS: Cannot open root device sda1 or unknown-block (2,0)
> Please append a correct "root=" boot option: here are the available
> partitions:
> kernel panic - not syncing: VFS: unable to mount root fs on
> unknown-block (2,0)"
>
> I've created a ext2 partition on sda1 with the debian system on it by
> executing:
> > fdisk /dev/sda1
> >mkfs.ext2 /dev/sda1
> >mount /dev/sda1 /mnt
> >tar -C /mnt -xf ./debian-sarge-udev-19-05-2009_backup.tgz
> >fsck /dev/sda1
>
> I wonder if there is something that I have to activate on my kernel
> configuration to enable booting from USB flash, I am using 2.6.27.4
> vanilla kernel with Matt's patches.
>
> Thanks a million,
>
> Magda
>
> -
> -- In <ts-7000%40yahoogroups.com>,
> Jason Stahls <> wrote:
> >
> > wrote:
> > > I have the exact same problem!
> > >
> > > Can anyone help?
> >
> > What command line in Redboot are you guys using, and where are you
> > trying to boot from?
> >
> > This,
> >
> > Root-NFS: No NFS server available, giving up.
> > > VFS: Unable to mount root fs via NFS, trying floppy.
> > > VFS: Cannot open root device "usb0" or unknown-block(2,0)
> > > Please append a correct "root=" boot option
> > > Kernel panic - not syncing: VFS: Unable to mount root fs on
> unknown-block(2,0)
> >
> >
> > Tells you that it was unable to mount the root FS, this is passed to
> the
> > kernel from reboot as root=
> >
> > --
> > Jason Stahls
> >
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|