Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Failed to open the device '/dev/ROOT'
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
ravervx
n00b
n00b


Joined: 01 Jul 2005
Posts: 3

PostPosted: Sat Jul 02, 2005 12:06 am    Post subject: Failed to open the device '/dev/ROOT' Reply with quote

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


Joined: 11 May 2004
Posts: 152
Location: Texas

PostPosted: Sat Jul 02, 2005 12:11 am    Post subject: Reply with quote

Show me your entire fstab file, somewhere in there you have a /dev/ROOT specified.

-Jeremy
Back to top
View user's profile Send private message
ravervx
n00b
n00b


Joined: 01 Jul 2005
Posts: 3

PostPosted: Sat Jul 02, 2005 12:19 am    Post subject: Reply with quote

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


Joined: 11 May 2004
Posts: 152
Location: Texas

PostPosted: Sat Jul 02, 2005 12:21 am    Post subject: Reply with quote

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


Joined: 01 Jul 2005
Posts: 3

PostPosted: Sat Jul 02, 2005 1:20 am    Post subject: Reply with quote

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


Joined: 23 Sep 2003
Posts: 7221
Location: Sat in front of my computer

PostPosted: Sat Jul 02, 2005 1:08 pm    Post subject: Reply with quote

Moved from Installing Gentoo to Duplicate Threads, please see this topic:

https://forums.gentoo.org/viewtopic-t-8351.html
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