Questions regarding the final stages of LFS install
Casey James Price
linuxproject at aws-sj.com
Sat Jan 8 13:59:48 PST 2005
Ok it looked as if this would work, but it still did not. I went through my
config and changed a few modules to be built in, because I realized I had
all of the IDE stuff supporting my Harddrive built as modules. It looked as
if it would get a little bit further, because it took a bit longer on
boot...but still panicked with:
"VFS: Cannot open root device 'hda4' or unknown-block(0,0)
Please append a correct 'root=/boot' option
Kernel Panic: VFS: Unable to mount root fs on unknown-block(0,0)"
So what might you suggest now?
From: John [mailto:smartcat99s at cox.net]
Sent: Friday, January 07, 2005 2:29 PM
To: LFS Support List
Subject: Re: Questions regarding the final stages of LFS install
Basically I have my menu.lst for grub set to:
> title LFS-6.0
> root (hd0,3)
> kernel /boot/lfskernel-188.8.131.52 root=/dev/hda4
> it goes through the initial steps of booting, but then when it comes
> time for VFS to mount the root fs it fails saying: "Kernel Panic: VFS
> cannot mount root fs unknown on (3,4)" or something to that extent. If
> I try booting up with just kernel /boot/lfskernel-184.108.40.206 and no
> "root=/dev/hda4" it fails similarly saying that I must specify a valid
> "root=" option.
1. Your problem is solved in the FAQ.
[start lfs section]
kernel (hd0,3)/boot/lfskernel-220.127.116.11 root=/dev/hda4 [end lfs section]
you don't need the boot line, and your "cannot mount root FS" is due to that
you had ext3 built as a _module_ not _built in_ to the kernel, which you
fixed as described below.
> At first I thought the whole root= problem was something to do with
> the fact that my lfs partition is ext3 and I had ext2 built into the
> kernel, and ext3 as a module...but then I fixed this so both ext2 &
> ext3 were built in.
Toss the initrd file, since you have ext3 built in.
Please read this:
People on the lists do not appreciate HTML mail.
It can carry viruses, plain text can not.
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 265.6.9 - Release Date: 1/6/2005
More information about the lfs-support