View previous topic :: View next topic |
Author |
Message |
bigmac_xlt n00b
Joined: 09 May 2004 Posts: 8
|
Posted: Tue May 18, 2004 7:25 pm Post subject: "not a valid root device" on boot |
|
|
I've been through many of the topics on this error, but my problem persists. I get the following message upon booting linux, after the grub menu and the splash image:
Code: | Block device /dev/hda3 is not a valid root device...
The root block device is unspecified or not detected.
Please specify a device to boot, or "shell" for a shell |
if I enter the shell, and I can see the following in the /dev directory:
Code: | / # ls /dev/h*
/dev/hdb |
which is my CD-ROM drive. I don't see the drives has /dev/sda or /dev/sdc. Here's some information about my setup:
I have two ATA hard drives on a MegaRAID 150-2 SATA card, which are detected by the livecd as /dev/hda and /dev/hdc.
My fstab (the notail option doesn't change the error):
Code: | /dev/hda1 /boot ext2 noauto,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / reiserfs noatime,notail 0 1
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,ro 0 0
/dev/fd0 /mnt/floppy auto noauto 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0 |
My grub.conf:
Code: | default 0
timeout 0
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.5
root (hd0,0)
kernel /kernel-2.6.5-gentoo root=/dev/ram0 init=/linuxrc real_root=/dev/hda3 vga=794
initrd /initrd-2.6.5-gentoo |
I've been using genkernel throughout, but having read several topics on this, I've used "genkernel --menuconfig all" and made sure that reiserfs support, SCSI support and PC BIOS (MSDOS) partitioning are all built into the kernel (not as modules). It also appears that all relevant RAID device support is in the kernel. I still get the error. Anyone have ideas? Thanks in advance,
Chris |
|
Back to top |
|
|
n3mo l33t
Joined: 28 Mar 2004 Posts: 657 Location: In a Cruel World
|
Posted: Tue May 18, 2004 7:49 pm Post subject: |
|
|
try passing doscsi at boot |
|
Back to top |
|
|
furkan Guru
Joined: 11 Dec 2003 Posts: 520 Location: Montreal CA
|
Posted: Tue May 18, 2004 9:16 pm Post subject: |
|
|
bigmag_xlt did you use the bzImage of livecd ? and can you post your grub.conf |
|
Back to top |
|
|
bigmac_xlt n00b
Joined: 09 May 2004 Posts: 8
|
Posted: Tue May 18, 2004 9:30 pm Post subject: |
|
|
n3mo's suggestion didn't work, but I'm not sure I did it right. Could I have some more detail n3mo? Sorry, I'm new to all this...
When compiling the kernel with the livecd, it displays
Code: | Compiling 2.6.5-gentoo bzImage... |
so I assume it is using it.
Oh, and,
Quote: | and can you post your grub.conf |
I did already. |
|
Back to top |
|
|
slycordinator Advocate
Joined: 31 Jan 2004 Posts: 3065 Location: Korea
|
Posted: Tue May 18, 2004 11:42 pm Post subject: |
|
|
2.6 kernels recognize SATA drives as /dev/sd* from what I remember.
Try /dev/sda instead of hda. |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
|
Back to top |
|
|
|