--- In "" <> 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 Jason Stahls <jason@> wrote:
> >
> > s.magda@ 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
> >
>
Also how will your kernel know about /dev/sda11 before it has loaded the fs ?!
AFASK redboot is not usb aware it can only load a root fs on yaffs.
You'll need to look at how TS do it in the scripts they provide to boot USB in
TSlinux. It boots to yaafs then loads the drivers and does a switch to USB fs.
Probably a chroot of pivot.
It's in the TS doc.
------------------------------------
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/
|