Kernel panic: VFS: unable to mount root fs
Clark, David A., SGT - 75th Rangers
clarkda at soc.mil
Mon Dec 13 14:24:02 PST 2004
Chris Lingard wrote:
> From: Chris Lingard [mailto:chris at stockwith.co.uk]
> Sent: Monday, December 13, 2004 5:02 PM
> To: lfs-support at linuxfromscratch.org
> Subject: Re: Kernel panic: VFS: unable to mount root fs
> Clark, David A., SGT - 75th Rangers wrote:
> > FIRST, THE N00B INTRODUCTION STUFF:
> > Hi. My name is David. My friends at work call me Sparky, and it
> worked as
> > a user name. A while back, I first made the switch from Windows to
> > and found Gentoo to be a good starting point for me. I was never
> > :)
> > Lo and behold, my wife--who is, incidentally, not very savvy with
> > sort of things--hated it. Naturally, I installed Windows again to
> > better at night, but I left half of my disc blank for the day I'd
> > Linux again.
> > Fast forward a few months, and I found LFS, which a couple people
> > about on the board as "the way to go if you really want to learn
> Linux". I
> > downloaded the most recent book, packages, and patches; burnt one of
> > Live CDs; and off I went. I followed along with the book without a
> > hitch--learning a LOT along the way--all the way until after the
> > where you reboot, register, and enjoy.
> > NEXT, MY N00B PROBLEM:
> > Kernel panic: VFS: unable to mount root fs
> > I'm not a total idiot, and I THOUGHT I knew how to fix the problem,
> > everything I knew to check checked out.
> > So, I checked the FAQ, and here's where I'm at...
> > Q: Did you specify the correct partition in /etc/lilo.conf?
> > A: Menu.lst applies to me because I'm using Grub. Windows is
> installed on
> > /dev/hda0, Linux on /dev/hda4 (ext3), with /boot on /dev/hda2 (ext2)
> > my swapfile on /dev/hda2. My guess is that menu.lst should look like
> > root (hd0,1)
> > ...
> > kernel /lfskernel-22.214.171.124 root=/dev/hda2
> > That didn't work, so I tried this:
> > root (hd0,3)
> > ...
> > Kernel /lfskernel-126.96.36.199 root=/dev/hda4
> Your root file system is /dev/hda4 ?
> Your boot partition is /dev/hda2 (hd0, 1)
> kernel (hd0,1)/vmlinuz-188.8.131.52 root=/dev/hda4
> You must have ext3 built into your kernel
> Your /etc/fstab should be set up according to the above.
> When you boot you can use grub in command mode; press "c"
> Then you can do kernel (hd0, 1) /vmli<tab> to check that things are
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page
Thanks. I will try that when I get home.
DAVID A. CLARK, JR.
Rangers Lead the Way!!!
More information about the lfs-support