Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't mount root on start up
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
orangeman12
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 283
Location: Chair

PostPosted: Sat Apr 09, 2005 4:25 pm    Post subject: Can't mount root on start up Reply with quote

Sorry for the repeat post but i put it under the wrong topic
the error message says
Code:

 mount:Mounting devfs on /dev failed: no such device
Error opening file:".devfsd" No such file of directory
Block device /dev/hda3 is not a valid root device
The root block device is unspecified or not detected


The boot is ext2
The swap is swap
The Root is ext3
_________________
Orangeman
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sat Apr 09, 2005 4:52 pm    Post subject: Reply with quote

Did you include:
Code:
CONFIG_REISERFS_FS

in your kernel config not as module (build-in?)

You may also remove .devfs (you're using udev, right?):
Code:

rm /dev/.devfs


or in:
/etc/conf.d/rc
change the RC_DEVFSD_STARTUP line to:
Code:
RC_DEVFSD_STARTUP="no"


In the same file:
Code:
RC_DEVICES="udev"


[I assume you've devfs unmerged and udev emerged, correct?]
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sat Apr 09, 2005 5:05 pm    Post subject: Reply with quote

Another possible solution is to put 'udev' in the 'kernel' line in your grub config.
[Use search the next time and try not to repeat the posts...]
Back to top
View user's profile Send private message
orangeman12
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 283
Location: Chair

PostPosted: Sat Apr 09, 2005 9:27 pm    Post subject: Reply with quote

Made the changes you said but there was no .devfs in /dev/
I removed the reiserfs suport and genkerneled again
I don't know want u mean by put udev in the kernel line in the grub config
Anyways it still doesn't work
_________________
Orangeman
Back to top
View user's profile Send private message
orangeman12
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 283
Location: Chair

PostPosted: Sun Apr 10, 2005 3:26 am    Post subject: Reply with quote

does anyone know why this happens?
_________________
Orangeman
Back to top
View user's profile Send private message
weirdo
Tux's lil' helper
Tux's lil' helper


Joined: 16 Apr 2002
Posts: 114
Location: Montreal/Quebec/Canada

PostPosted: Sun Apr 10, 2005 5:30 am    Post subject: Reply with quote

Make sure you emerged udev.

What he meant is to add "udev" at the end of your kernel line in grub.conf.

also it says that hda3 is not the right root partition are you sure it's the right partition ? Is ext3 in the kernel? (If you used genkernel then it is)

Nic
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sun Apr 10, 2005 10:43 am    Post subject: Reply with quote

Post your grub.conf, please - maybe there's a typo or sth.
One thing to remember - do NOT sure genkernel - it's simply a waste of time. Emerge your favourite kernel-source then do:
Code:
make menuconfig


or:
Code:
make xconfig


What's the output of:
Code:
emerge -pv udev
?

If you're done with the kernel configuration, come again posting your config file. BTW: THe instructions I gave you should work in 90% of cases...[/code]
Back to top
View user's profile Send private message
orangeman12
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 283
Location: Chair

PostPosted: Sun Apr 10, 2005 3:34 pm    Post subject: Reply with quote

the out put of emerge -pv udev is
Code:
 [ebuild N ] sys-fs/udev-045 (-selinux) -static


My grub.conf is
Code:
 default 0
timeout 5
splashimage=(hd0,0)/grub/splash.xpm.gz

title= Gentoo Linux 2.6.11-r5
root (hd0,0)

kernel (hd0,0)/boot/kernel-2.6.11-gentoo-r5 root=/dev/ram0 init=/linuxrc ramdisk_size=8192 real_root=/dev/hda3
initrd (hd0,0)/boot/initrd-2.6.11-gentoo-r5

_________________
Orangeman
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sun Apr 10, 2005 4:10 pm    Post subject: Reply with quote

Do you know what:
Code:
[ebuild N ]

stands for?

I encourage you to read:
Code:
man emerge


If you want to use udev follow a guide at gentoo.org or gentoo-wiki...

It's high time you built your own kernels - not using genkernel tool.

Cheers:P
Back to top
View user's profile Send private message
orangeman12
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 283
Location: Chair

PostPosted: Sun Apr 10, 2005 4:42 pm    Post subject: Reply with quote

I went there and it said
Quote:
[ebuild N ] app-games/qstat-25c
Qstat is New to your system, and will be emerged for the first time.

So i emerged it on my computer and still it doesn't work
_________________
Orangeman
Back to top
View user's profile Send private message
nixnut
Bodhisattva
Bodhisattva


Joined: 09 Apr 2004
Posts: 10974
Location: the dutch mountains

PostPosted: Sun Apr 10, 2005 5:39 pm    Post subject: Reply with quote

orangeman12 wrote:
I went there and it said
Quote:
[ebuild N ] app-games/qstat-25c
Qstat is New to your system, and will be emerged for the first time.

So i emerged it on my computer and still it doesn't work

Well, emerging qstat won't help get udev on your system. Try emerge udev
_________________
Please add [solved] to the initial post's subject line if you feel your problem is resolved. Help answer the unanswered

talk is cheap. supply exceeds demand
Back to top
View user's profile Send private message
orangeman12
Apprentice
Apprentice


Joined: 19 Dec 2004
Posts: 283
Location: Chair

PostPosted: Sun Apr 10, 2005 5:58 pm    Post subject: Reply with quote

I emerge udev but the qstat was the example from the site any way i think i know what i did wrong
i never but --udev in the genkernel statement. I am using genkernel because when i tried to manually make the kernel in gave me a bunch of errors but the root system did mount
_________________
Orangeman
Back to top
View user's profile Send private message
zieloo
Veteran
Veteran


Joined: 28 Mar 2004
Posts: 1337

PostPosted: Sun Apr 10, 2005 7:22 pm    Post subject: Reply with quote

orangeman12 wrote:
I emerge udev but the qstat was the example from the site any way i think i know what i did wrong
i never but --udev in the genkernel statement. I am using genkernel because when i tried to manually make the kernel in gave me a bunch of errors but the root system did mount


You didn't run
Code:
genkernel --udev --something
?

Great!:P

Manual kernel configration let's you have total control and the image created this way is smaller and comtains only what you want.
Back to top
View user's profile Send private message
Bluesmoke
n00b
n00b


Joined: 14 May 2004
Posts: 20
Location: San Jose, CA

PostPosted: Sun Apr 10, 2005 9:58 pm    Post subject: Reply with quote

quit pounding everyone to compile a custom kernel..., if you just starting and don't understand it only makes things worse. A lot of newbies follow the handbook VERBAITEM if there is a problem in the handbook then the devel's need to know. if you comforatble using a custom kernel fine.. but dont try to push it off on the newbs.
_________________
Linux User 268664
Gentoo Linux 2005.0 / AMD Athon64 3400+ Desktop
Gentoo Linux 2005.0 / AMD Athlon64 3400+ Laptop
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Mon Apr 11, 2005 5:38 am    Post subject: Reply with quote

Please see https://forums.gentoo.org/viewtopic-t-315935.html

Moved from Installing Gentoo.
_________________
No-one's more important than the earthworm.
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