On Sunday 04 July 2010 03:38:39 Saxon Landers wrote:
> ...
> i am compiling onto a USB flashdrive, 4gb in size. it is mounted on the
> ubuntu as /dev/sdb on /mnt/lfs.
> ...
> Booting the USB works no problem, the GRUB menu comes up with the two 
> options (LFS and LFS recovery), and when one is run, it boots into what
> i assume is LFS (it has two tux pictures top-left), however after a
> short abount of time, it declares a kernal panic.
> The panic outlines that it cannot mount the root partition, and to set
> the root= in GRUB correctly (it is currently root=/dev/sdb)

You have configured grub incorrectly, albeit inadvertently.

When you boot from your hard drive, that drive will be /dev/sda, forcing the 
USB drive to be /dev/sdb. However, when you boot from the USB stick, *it* 
is /dev/sda and the hard drive will be /dev/sdb.

So change your LFS to point to /dev/sda and it should work.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to