Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
"not a valid root device" on boot
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Duplicate Threads
View previous topic :: View next topic  
Author Message
bigmac_xlt
n00b
n00b


Joined: 09 May 2004
Posts: 8

PostPosted: Tue May 18, 2004 7:25 pm    Post subject: "not a valid root device" on boot Reply with quote

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
View user's profile Send private message
n3mo
l33t
l33t


Joined: 28 Mar 2004
Posts: 657
Location: In a Cruel World

PostPosted: Tue May 18, 2004 7:49 pm    Post subject: Reply with quote

try passing doscsi at boot
Back to top
View user's profile Send private message
furkan
Guru
Guru


Joined: 11 Dec 2003
Posts: 520
Location: Montreal CA

PostPosted: Tue May 18, 2004 9:16 pm    Post subject: Reply with quote

bigmag_xlt did you use the bzImage of livecd ? and can you post your grub.conf :)
Back to top
View user's profile Send private message
bigmac_xlt
n00b
n00b


Joined: 09 May 2004
Posts: 8

PostPosted: Tue May 18, 2004 9:30 pm    Post subject: Reply with quote

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. :wink:
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Tue May 18, 2004 11:42 pm    Post subject: Reply with quote

2.6 kernels recognize SATA drives as /dev/sd* from what I remember.

Try /dev/sda instead of hda.
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Tue May 18, 2004 11:56 pm    Post subject: Reply with quote

Duplicate of https://forums.gentoo.org/viewtopic.php?t=174696&highlight=boot+valid+root+device
Please, if you have anything else to say, do it in the existing thread, do not open a new one.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Duplicate Threads All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum