View previous topic :: View next topic |
Author |
Message |
ravervx n00b
Joined: 01 Jul 2005 Posts: 3
|
Posted: Sat Jul 02, 2005 12:06 am Post subject: Failed to open the device '/dev/ROOT' |
|
|
Hey guys,
This is my first time installing Gentoo with live CD 2005.0.
I used genkernel to compile the kernel. I have searched the forum for the error, though there are similiar cases but does not exactly matched mine.
When I rebooted after I compiled the kernel I get the following error:
Code: |
Mounting proc at /proc... [ok]
Mounting sysfs at /sys... [ok]
Mounting ramfs at /dev... [ok]
Configuring system to use udev...
Populating /dev with device nodes ...
Using /sbin/hotplug for udev management... [ok]
Mounting devpts at /dev/pts... [ok]
Activiating (possible) swap... [ok]
Remounting root filesystem read-only (if necessary)... [ok]
Failed to open the device '/dev/ROOT' : No such file or directory
*Filesystem couldn't be fixed :( [!!]
|
No other error were shown.
My Grub was the same as the grub.conf used in the intallation tutorial:
Code: |
default 0
timeout 30
splashimage=(hd0,0)/grub/splash.xpm.gz
title=Gentoo Linux 2.6.11-r3
root (hd0,0)
kernel /kernel-2.6.11-gentoo-r3 root=/dev/ram0 init=/linuxrc ramdisk=8192 real_root=/dev/hda3 udev
initrd /initrd-2.6.11-gentoo-r3
|
My fstab:
Code: |
/dev/hda1 /boot ext2 defaults,noatime 1 2
/dev/hda2 none swap sw 0 0
/dev/hda3 / reiserfs noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
|
I have double checked the compilation options, reiserfs support was compiled into the kernel, not as a module.
Can someone give me some pointers as to what might possibly be the problem?
The computer is a laptop with a 30Gb harddrive.
Thanks |
|
Back to top |
|
|
irwinr Apprentice
Joined: 11 May 2004 Posts: 152 Location: Texas
|
Posted: Sat Jul 02, 2005 12:11 am Post subject: |
|
|
Show me your entire fstab file, somewhere in there you have a /dev/ROOT specified.
-Jeremy |
|
Back to top |
|
|
ravervx n00b
Joined: 01 Jul 2005 Posts: 3
|
Posted: Sat Jul 02, 2005 12:19 am Post subject: |
|
|
sorry, I wasn't thinking when I was typing that up, but here is the correct fstab:
Code: |
/dev/BOOT /boot ext2 defaults,noatime 1 2
/dev/SWAP none swap sw 0 0
/dev/ROOT / reiserfs noatime 0 1
none /proc proc defaults 0 0
none /dev/shm tmpfs nodev,nosuid,noexec 0 0
/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
|
Thanks |
|
Back to top |
|
|
irwinr Apprentice
Joined: 11 May 2004 Posts: 152 Location: Texas
|
Posted: Sat Jul 02, 2005 12:21 am Post subject: |
|
|
That's an easy fix: The fstab you posted the first time is correct, the one you posted second is wrong. You fixed your problem and didn't even know it. :p
-Jeremy |
|
Back to top |
|
|
ravervx n00b
Joined: 01 Jul 2005 Posts: 3
|
Posted: Sat Jul 02, 2005 1:20 am Post subject: |
|
|
god, thank you!
I was pulling my hair out over the error for two days.
Haha, I guess I really didn't know what I was doing. =P
Thanks again. |
|
Back to top |
|
|
tomk Bodhisattva
Joined: 23 Sep 2003 Posts: 7221 Location: Sat in front of my computer
|
|
Back to top |
|
|
|