Hello,
i have finished my installation of LFS without any errors. Only the kernel
make me crazy. I have 4 kernels compiled but ever come kernel panic.
The Message is:
VFS cannot open root device "sda2" or unknown block.
Please append a correct root=
My settings:
linux-c4dc:/mnt/lfs/boot # ls -l
total 6760
-rw-r--r-- 1 root root 1928169 Mar 24 00:31 System.map-3.2.12
-rw-r--r-- 1 root root 79290 Mar 24 00:31 config-3.2.12
drwxr-xr-x 3 root root 4096 Mar 23 02:19 grub
-rw-r--r-- 1 root root 4882976 Mar 24 00:29 kernel-3.2.12
linux-c4dc:/mnt/lfs/boot # fdisk /dev/sda
Command (m for help): p
Disk /dev/sda: 16.1 GB, 16106127360 bytes
255 heads, 63 sectors/track, 1958 cylinders, total 31457280 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0xe1dca646
Device Boot Start End Blocks Id System
/dev/sda1 2048 2099199 1048576 82 Linux swap / Solaris
/dev/sda2 2099200 31457279 14679040 83 Linux
# Begin /boot/grub/grub.cfg
set default=0
set timeout=5
insmod ext2
set root=(hd0,2)
menuentry "GNU/Linux, Linux 3.2.12" {
linux /boot/kernel-3.2.12 root=/dev/sda2 ro
}
The Kernel config: http://nopaste.info/4be0cb2877.html
Has someone idea? I use at moment vmware for try first steps.
Regards
Silvio
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page