Hi all, I've just finished LFS. However, I'm facing with the problem that I can't boot into the LFS kernel.
It displays : VFS: Cannot open root device "sdb1" or unkonwn-block(2,0) Please append a correct "root=" boot option; .... Kernel panic - not syncing : VFS: Unable to mount root fs on unknown-block (2-0). I've already search this information in the internet but I can't find out the answer for my issue. Someone tell the configuration is wrong in grub.conf file. I think i configure right in my grub. Some information: fdisk -l Disk /dev/sda: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0x0003a301 Device Boot Start End Blocks Id System /dev/sda1 * 1 26 204800 83 Linux Partition 1 does not end on cylinder boundary. /dev/sda2 26 287 2097152 82 Linux swap / Solaris Partition 2 does not end on cylinder boundary. /dev/sda3 287 2611 18668544 83 Linux Disk /dev/sdb: 21.5 GB, 21474836480 bytes 255 heads, 63 sectors/track, 2610 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk identifier: 0xca79bf23 Device Boot Start End Blocks Id System /dev/sdb1 1 2610 20964793+ 83 Linux I install LFS on /dev/sdb1. The grub.conf. # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # all kernel and initrd paths are relative to /boot/, eg. # root (hd0,0) # kernel /vmlinuz-version ro root=/dev/sda3 # initrd /initrd-[generic-]version.img #boot=/dev/sda default=0 timeout=5 splashimage=(hd0,0)/grub/splash.xpm.gz hiddenmenu title CentOS (2.6.32-279.5.2.el6.i686) root (hd0,0) kernel /vmlinuz-2.6.32-279.5.2.el6.i686 ro root=UUID=69af487a-4068-4d0e-b51c-1eb5680f013f rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM initrd /initramfs-2.6.32-279.5.2.el6.i686.img title CentOS (2.6.32-220.17.1.el6.i686) root (hd0,0) kernel /vmlinuz-2.6.32-220.17.1.el6.i686 ro root=UUID=69af487a-4068-4d0e-b51c-1eb5680f013f rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM initrd /initramfs-2.6.32-220.17.1.el6.i686.img title CentOS (2.6.32-220.el6.i686) root (hd0,0) kernel /vmlinuz-2.6.32-220.el6.i686 ro root=UUID=69af487a-4068-4d0e-b51c-1eb5680f013f rd_NO_LUKS rd_NO_LVM LANG=en_US.UTF-8 rd_NO_MD quiet SYSFONT=latarcyrheb-sun16 rhgb crashkernel=auto KEYBOARDTYPE=pc KEYTABLE=us rd_NO_DM initrd /initramfs-2.6.32-220.el6.i686.img title LFS7.1 (Linux 3.2.6-lfs-7.1) root (hd1,0) insmod ext3 kernel /boot/vmlinuz-3.2.6-lfs-7.1 root=/dev/sdb1 ro Please help me resolve this issue. Thank you very much. Thanks and Regards, Khoa Nguyen.
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page