jeezus84 Apprentice
Joined: 02 Jan 2005 Posts: 161 Location: Canadia
|
Posted: Mon Jun 12, 2006 3:57 pm Post subject: block device is not a valid root device |
|
|
Hello everyone.
I have just 'completed' a new Gentoo installation but cannot get it to boot. I am getting this error when I try to boot:
Code: |
!! Block device /dev/sda6 is not a valid root device...
|
My hard drive is laid out like so:
Code: |
livecd ~ # fdisk /dev/sda
The number of cylinders for this disk is set to 30394.
There is nothing wrong with that, but this is larger than 1024,
and could in certain setups cause problems with:
1) software that runs at boot time (e.g., old versions of LILO)
2) booting and partitioning software from other OSs
(e.g., DOS FDISK, OS/2 FDISK)
Command (m for help): p
Disk /dev/sda: 250.0 GB, 250000000000 bytes
255 heads, 63 sectors/track, 30394 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 1 20150 161854843+ 7 HPFS/NTFS
/dev/sda2 20151 20758 4883760 b W95 FAT32
/dev/sda3 * 20759 20767 72292+ 83 Linux
/dev/sda4 20768 30394 77328877+ 5 Extended
/dev/sda5 20768 21011 1959898+ 82 Linux swap / Solaris
/dev/sda6 21012 30394 75368916 83 Linux
Command (m for help): q
livecd ~ #
|
where sda1 is Windows, sda2 is a FAT32 partition, sda3 is the boot partition (ext2), sda5 is swap, and sda6 is the root partition (reiserfs).
Grub is configured like so:
Code: |
livecd grub # cat grub.conf
default 1
timeout 5
splashimage=(hd0,2)/grub/splash.xpm.gz
title=Gentoo Linux x86_64-2.6.15-gentoo-r5
root (hd0,2)
kernel /kernel-genkernel-x86_64-2.6.15-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/sda6 udev
initrd /initramfs-genkernel-x86_64-2.6.15-gentoo-r5
title=Windows XP
rootnoverify (hd0,1)
makeactive
chainloader +1
livecd grub #
|
The drive is a SATA drive, just so you know. So what am I doing wrong? |
|