cannot open root device hda3

Tom tmccaffery at vacationsnbeyond.com
Tue Jan 27 19:47:32 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
> im getting same thing, i downloaded the live cd im trying that (copied the
> config file), im sure it's something in kernel config.

Try taken out the initrd in the kernel configuration; this maybe causing the 
problem or make sure your filesystem is included in kernel not as module. 




More information about the lfs-support mailing list