PROBLEM: New, complete LFS-6.1 system doesn't boot (details below). - Book: LFS v6.1 All packages installed. No deviations. No errors. - Host: LiveCD (lfslivcd-x86-6.1-2.iso) - i686-pc-linux-gnu - ASUS P4S533, P4-3.066GHz, BIOS Award v6.0 v1006, HT enabled
DETAILS: lfskernel-2.6.11.12 built using LiveCD '.config' (no menuconfig changes) LFS-6.1 installed on '/dev/hda5': Device Boot Start End Blocks Id System /dev/hda1 1 4092 2062336+ 5 Extended /dev/hda5 1 3964 1997793 83 Linux /dev/hda6 3965 4092 64480+ 82 Linux swap ------------ Booting on the grub-0.96 diskette (page 234): grub> find /boot/lfskernel-2.6.11.12 (hd0,4) grub> root (hd0,4) Filesystem type is ext2fs, partition type 0x83 grub> kernel /boot/lfskernel-2.6.11.12 root=/dev/hda5 [Linux-bzImage, setup=0x1600, size=0x26f8e9] grub> boot ... Uncompressing kernel ... ... [kernel coming up] ACPI (supports S0 S1 S3 S4 S5) [Last good line] Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,5) ------------------------------------------------------------------------------ NOTES 1. - In chroot: root:/# rdev /boot/lfskernel-2.6.11.12 Root device 0x0305 root:/# rdev /boot/lfskernel-2.6.11.12 /dev/hda5 /dev/hda5: No such file or directory - In LiveCD Host: # rdev $LFS/boot/lfskernel-2.6.11.12 Root device /dev/hda5 2. On my other drive I have a "regular", full, Linux (kernel 2.6.10, grub 0.94): Filesystem 1K-blocks Used Available Use% Mounted on /dev/hdb5 7495052 5891124 1223192 83% / /dev/hdb2 23333 4964 17165 23% /boot tmpfs 518396 0 518396 0% /dev/shm Device Boot Start End Blocks Id System /dev/hdb1 1 17 136521 6 FAT16 /dev/hdb2 18 20 24097+ 83 Linux /dev/hdb3 21 976 7679070 5 Extended /dev/hdb4 * 977 1932 7679070 83 Linux /dev/hdb5 21 968 7614778+ 83 Linux /dev/hdb6 969 976 64228+ 82 Linux swap NEVER any problems booting up Linux-2.6.10 or DOS-6.21 (/dev/hdb1). On /dev/hdb4 another "by-the-book" LFS-6.1, setup accordingly in '/boot/grub/menu.lst'. Attempts to boot from the hard drive GRUB-94 and/or diskette GRUB-96/94: SAME type FAILURE: VFS: Cannot open root device "hdb4" or unknown-block(3,68) ... Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(3,68) 3. A previous attempt to set up hard-disk GRUB-96 (on /dev/hda), page 234: setup (hd0) ... Error 22: No such partition 4. To avoid any confusion, all the main, conclusive tests above were run using only one drive connected at a time. Thanks, -- Alex -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
