Boot problem
I tried to boot LFS for the first time and got about this message:
root-nfs: no nfs server available, giving up.
Vfs: unable to mount root fs via NFS, trying floppy
VFS: Cannot open root device „sda11” or unknown-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)
Is it problem with kernel compilation or grub?
Here are some of my conf:
grub> root (hd0,10)
Filesystem type is ext2fs, partition type 0x83
grub> setup (hd0,10)
Checking if "/boot/grub/stage1" exists... yes
Checking if "/boot/grub/stage2" exists... yes
Checking if "/boot/grub/e2fs_stage1_5" exists... yes
Running "embed /boot/grub/e2fs_stage1_5 (hd0,10)"... failed (this is not fatal)
Running "embed /boot/grub/e2fs_stage1_5 (hd0,10)"... failed (this is not fatal)
Running "install /boot/grub/stage1 (hd0,10) /boot/grub/stage2 p /boot/grub/menu.lst ".
.. succeeded
Done.
Grub entry is:
(Added to my Ubuntu grub menu.lst)
title LFS SVN-20090510
root (hd0,10)
kernel /boot/lfskernel-2.6.27.4 root=/dev/sda11
Map of hard disk is:
root:/# fdisk -l
Disk /dev/sda: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0003990a
Device Boot Start End Blocks Id System
/dev/sda1 1 262 2104483+ 83 Linux
/dev/sda2 * 263 15104 119218365 f W95 Ext'd (LBA)
/dev/sda3 15105 17715 20972857+ 83 Linux
/dev/sda4 17716 30401 101900295 7 HPFS/NTFS
/dev/sda5 3050 4094 8393962+ 82 Linux swap / Solaris
/dev/sda6 4095 8011 31463271 83 Linux
/dev/sda7 8012 11928 31463271 83 Linux
/dev/sda8 11929 15104 25511188+ 83 Linux
/dev/sda9 263 1191 7462129+ 83 Linux
/dev/sda10 1192 2120 7462161 83 Linux
/dev/sda11 2121 3049 7462161 83 Linux
Partition table entries are not in disk order
Disk /dev/sdb: 250.0 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x2b7daabb
Device Boot Start End Blocks Id System
/dev/sdb1 * 1 5099 40957686 7 HPFS/NTFS
/dev/sdb2 5100 30400 203230282+ f W95 Ext'd (LBA)
/dev/sdb5 5100 30400 203230251 7 HPFS/NTFS
root:/#
Kernel configuration in attached file.
Thank you for help
|