View previous topic :: View next topic |
Author |
Message |
gouranga Tux's lil' helper
Joined: 05 Aug 2005 Posts: 113
|
Posted: Sat Nov 19, 2005 2:14 pm Post subject: devfsd fails at boot. Harddisk missing in /dev [SOLVED] |
|
|
I recently rebooted my computer.
Now it won't start because of a failure.
The problem I have is very simular to this thread :
https://forums.gentoo.org/viewtopic-t-403485.html
Code: |
Starting devfsd
sbin/rc:line 313:/sbin/devfsd No such file or directory
Could not start udev
not avail
Failed to open device /dev/hda3/
|
That's the error I get.
How I did it, I don't know. Maybe something went wrong during an emerge -uDv world and has overwritten a config file.
The hard disk is ok, I can access everything when I use a livecd.
I have heard of udev, but I don't know if I use it.It's possible.The same with devfs.About a year ago,I have followed the gentoo installation manual and since then I changed nothing that's related with /dev/
I tried to change, /etc/conf.d/rc to udev and devfs, but nothing helped.
Some help would be nice.
How can I re-emerge udev when I can only access my root partition in read only?
The live cd I use is a differen linux distro.
Last edited by gouranga on Mon Nov 21, 2005 12:56 am; edited 1 time in total |
|
Back to top |
|
|
rdk n00b
Joined: 31 Jul 2005 Posts: 27 Location: Zadar, Croatia
|
Posted: Sat Nov 19, 2005 2:51 pm Post subject: |
|
|
If i am not mistakeing kernel no longer uses devfs, only udev...
So you should use udev Have you recompiled your kernel reacentlly?
Some help with udev: http://www.gentoo.org/doc/en/udev-guide.xml
Possibly, you coulduse gentoo livecd and chroot into your installation, configure the system to use udev and then try to boot again...
( emerge sync ; emerge & configure udev; compile fresh kernel and so on ) _________________
Quote: | /* Would you like to try our SMCC Delux? */
/* Lettuce, tomato, buggy hardware (no extra charge)? */
/* Take care. */ |
|
|
Back to top |
|
|
gouranga Tux's lil' helper
Joined: 05 Aug 2005 Posts: 113
|
Posted: Sun Nov 20, 2005 12:04 pm Post subject: |
|
|
For the people with the same error, you can follow these steps:
- boot with livecd
- mkdir /mnt/gentoo
- mount /dev/hda3 (root part) /mnt/gentoo
- mount /dev/hda1 /mnt/gentoo/boot/
- mount -t proc none /mnt/gentoo/proc
- chroot /mnt/gentoo /usr/bash/
- env-update
- source /etc/profile
- ntpdate with ntpserver
- emerge --sync
- emerge udev coldplug hotplug
- rc-update -a coldplug boot
- cd /usr/src/linux
- make menuconfig
Then I follow http://www.gentoo.org/doc/en/udev-guide.xml
(kernel part)
- make && make modules_install
- cp arch/i386/boot/bzImage /boot/kernel-2.6.11-gentoo-r3
-reboot
And It's working again.
Thx for ur reply rdk. |
|
Back to top |
|
|
|
|
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
|
|