View previous topic :: View next topic |
Author |
Message |
horus n00b
Joined: 09 Mar 2004 Posts: 64 Location: /dev/null
|
Posted: Thu Sep 16, 2004 1:56 pm Post subject: Boot (genkernel) fails (not valid root device) [SOLVED] |
|
|
Hi all
Its me again
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"
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 |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Thu Sep 16, 2004 2:17 pm Post subject: |
|
|
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 |
|
|
horus n00b
Joined: 09 Mar 2004 Posts: 64 Location: /dev/null
|
Posted: Thu Sep 16, 2004 4:13 pm Post subject: |
|
|
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 |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Thu Sep 16, 2004 4:57 pm Post subject: |
|
|
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 |
|
|
horus n00b
Joined: 09 Mar 2004 Posts: 64 Location: /dev/null
|
Posted: Thu Sep 16, 2004 5:04 pm Post subject: |
|
|
ow, i forgot to write them in my thread
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 |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Thu Sep 16, 2004 5:19 pm Post subject: |
|
|
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 |
|
|
horus n00b
Joined: 09 Mar 2004 Posts: 64 Location: /dev/null
|
Posted: Thu Sep 16, 2004 6:30 pm Post subject: |
|
|
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 |
|
|
Tsonn Guru
Joined: 03 Jun 2004 Posts: 550
|
Posted: Thu Sep 16, 2004 6:33 pm Post subject: |
|
|
Glad to help _________________ If your question was answered, please edit the first post and add [SOLVED] to the title. Thanks! |
|
Back to top |
|
|
|