--- In "j.chitte" <> wrote:
>
> --- In "s.magda@" <msanchez@> wrote:
> >
> > --- In "j.chitte" <j.chitte@> wrote:
> > >
> > > --- In "s.magda@" <msanchez@> 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 ?!
> >
> > That's a good question.
> >
> > >
> > > 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.
> > >
> > I don't get it, then is it not possible to boot from a usb stick the same
> > way as for a NFS server or tftp?
> >
> > thanks
> > Magda
> >
>
> why do you think TS did not do it directly if it's possible?
>
> I suggest you google and read up the doc on reboot. If you can find some way
> for it to load an fs from USB you're flying , otherwise you'll have to
> believe me. ;)
>
> other methods supported by redboot are ftp and nfs , that is what makes those
> protocols possible.
>
I believe you, but I did not understand it before :))
So is there any other possibility beside tftp and nfs? if not, big problem...
since my sd card is not detected by 2.6.27 kernel... uf..
thanks
Magda
------------------------------------
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/
|