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
> Linux,
> > and found Gentoo to be a good starting point for me. I was never
> happier.
> > :)
> >
> > Lo and behold, my wife--who is, incidentally, not very savvy with
> these
> > sort of things--hated it. Naturally, I installed Windows again to
> sleep
> > better at night, but I left half of my disc blank for the day I'd
> install
> > Linux again.
> >
> > Fast forward a few months, and I found LFS, which a couple people
> talked
> > 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
> the
> > 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
> part
> > 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,
> until
> > 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)
> and
> > my swapfile on /dev/hda2. My guess is that menu.lst should look like
> this:
> >
> > root (hd0,1)
> > ...
> > kernel /lfskernel-2.6.8.1 root=/dev/hda2
> >
> > That didn't work, so I tried this:
> >
> > root (hd0,3)
> > ...
> > Kernel /lfskernel-2.6.8.1 root=/dev/hda4
> 
> Your root file system is /dev/hda4 ?
> 
> Your boot partition is /dev/hda2  (hd0, 1)
> 
> kernel (hd0,1)/vmlinuz-2.6.8.1 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
> right
> 
> Chris
> 
> --
> http://linuxfromscratch.org/mailman/listinfo/lfs-support
> FAQ: http://www.linuxfromscratch.org/lfs/faq.html
> Unsubscribe: See the above information page

Thanks. I will try that when I get home.

V/R,

DAVID A. CLARK, JR.
SGT(P), USA

Rangers Lead the Way!!!




More information about the lfs-support mailing list