Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot (genkernel) fails (not valid root device) [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
horus
n00b
n00b


Joined: 09 Mar 2004
Posts: 64
Location: /dev/null

PostPosted: Thu Sep 16, 2004 1:56 pm    Post subject: Boot (genkernel) fails (not valid root device) [SOLVED] Reply with quote

Hi all

Its me again 8O

I successfully installed grub now, and it works (wow).
I can boot Windows without problems.
But.....

When I boot linux theres a problem.
below
>> Mounting filesystems...
mount: Mounting devfs on /dev failed: No such device
Error opening file: ".defsd" No such file or directory
>> Determining root device ...
>> Block device /dev/hda2 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.

[Inputfield]

Ow, and in loading modules theres after every module a "module not found" :cry:

I used Genkernel with Gentoo 2004.1, gentoo-dev-sources 2.6.8-r4 on AMD64

Greetz
Horus
_________________
Acer Aspire 1501LMi
AMD64 3000+
60GB Ultra ATA/100 HDD
512MB DDR SDRAM
IEEE 802.11g
10/100/1000MB Ethernet


Last edited by horus on Thu Sep 16, 2004 6:32 pm; edited 1 time in total
Back to top
View user's profile Send private message
Tsonn
Guru
Guru


Joined: 03 Jun 2004
Posts: 550

PostPosted: Thu Sep 16, 2004 2:17 pm    Post subject: Reply with quote

Could you post your /etc/fstab and grub.conf, please?
_________________
If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks!
Back to top
View user's profile Send private message
horus
n00b
n00b


Joined: 09 Mar 2004
Posts: 64
Location: /dev/null

PostPosted: Thu Sep 16, 2004 4:13 pm    Post subject: Reply with quote

Hi

fstab:

/dev/hda2 / ext3 noatime 0 0
/dev/hda5 none swap sw 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0

grub.conf:

default 0
timeout 10
splashimage=(hd0,1)/boot/grub/splash.xpm.gz

title=Gentoo 2.6.8-r4
root (hd0,1)
kernel (hd0,1)/boot/kernel-2.6.8-gentoo-r4 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda2
initrd (hd0,1)/boot/initrd-2.6.8-gentoo-r4
_________________
Acer Aspire 1501LMi
AMD64 3000+
60GB Ultra ATA/100 HDD
512MB DDR SDRAM
IEEE 802.11g
10/100/1000MB Ethernet
Back to top
View user's profile Send private message
Tsonn
Guru
Guru


Joined: 03 Jun 2004
Posts: 550

PostPosted: Thu Sep 16, 2004 4:57 pm    Post subject: Reply with quote

Your fstab needs a few extra lines:

Code:

none                    /proc           proc            defaults                0 0
none                    /dev/shm        tmpfs           defaults                0 0

_________________
If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks!
Back to top
View user's profile Send private message
horus
n00b
n00b


Joined: 09 Mar 2004
Posts: 64
Location: /dev/null

PostPosted: Thu Sep 16, 2004 5:04 pm    Post subject: Reply with quote

ow, i forgot to write them in my thread 8O
sorry, they were already existing

greetz horus
_________________
Acer Aspire 1501LMi
AMD64 3000+
60GB Ultra ATA/100 HDD
512MB DDR SDRAM
IEEE 802.11g
10/100/1000MB Ethernet
Back to top
View user's profile Send private message
Tsonn
Guru
Guru


Joined: 03 Jun 2004
Posts: 550

PostPosted: Thu Sep 16, 2004 5:19 pm    Post subject: Reply with quote

It sounds like you may not have devfs support enabled in the kernel. To check, do:

Code:

gunzip -c /proc/config.gz | grep DEVFS


If it's off, you should try recompiling the kernel with devfs support enabled.
_________________
If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks!
Back to top
View user's profile Send private message
horus
n00b
n00b


Joined: 09 Mar 2004
Posts: 64
Location: /dev/null

PostPosted: Thu Sep 16, 2004 6:30 pm    Post subject: Reply with quote

IT WORKS!!
thank you very much !!!

greetz horus
_________________
Acer Aspire 1501LMi
AMD64 3000+
60GB Ultra ATA/100 HDD
512MB DDR SDRAM
IEEE 802.11g
10/100/1000MB Ethernet
Back to top
View user's profile Send private message
Tsonn
Guru
Guru


Joined: 03 Jun 2004
Posts: 550

PostPosted: Thu Sep 16, 2004 6:33 pm    Post subject: Reply with quote

Glad to help :-)
_________________
If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo 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