cannot open root device hda3

Ralph Porter rportermail at gmail.com
Tue Jan 27 19:34:25 PST 2009


Hello folks.

I'm working lfs book 6.4 (have already done 6.3) and am tying first time boot.

error:
VFS: cannont open root device hda3 or unknow block (2,0)

please append a correct "root" boot option: here are the available partions

kernel panic - not syncing: VFS unable to mount root fs on unkonw block (2,0)

OK

                       Size: 120034123776 bytes, 120.0 GB
             Heads: 255   Sectors per Track: 63   Cylinders: 14593

    Name        Flags      Part Type  FS Type          [Label]        Size (MB)
 ------------------------------------------------------------------------------
    hda1        Boot        Primary   Linux ext3       [/boot1]          197.41
    hda2                    Primary   Linux                             1283.15
    hda3                    Primary   Linux ext2                       10997.20


# Begin /etc/fstab

# file system  mount-point  type   options         dump  fsck
#                                                        order

/dev/hda3      /            ext2   defaults        1     1
/dev/hda2      swap         swap   pri=1           0     0
proc           /proc        proc   defaults        0     0
sysfs          /sys         sysfs  defaults        0     0
devpts         /dev/pts     devpts gid=4,mode=620  0     0
tmpfs          /dev/shm     tmpfs  defaults        0     0
# End /etc/fstab

BOOTED LIVECD and mounted hda3:
root [ /mnt/lfs/boot ]# ls
config-2.6.27.4  grub  lfskernel-2.6.27.4  System.map-2.6.27.4

menu.lst
# Begin /boot/grub/menu.lst
# By default boot the first menu entry.
default 0
# Allow 30 seconds before booting the default.
timeout 30
# Use prettier colors.
color green/black light-green/black

# The first entry is for LFS.
title LFS 6.4
root (hd0,2)
kernel /boot/lfskernel-2.6.27.4 root=/dev/hda3

Any ideas?

Thanks in advance

rp



More information about the lfs-support mailing list