| View previous topic :: View next topic |
| Author |
Message |
GTXcube n00b

Joined: 05 Apr 2012 Posts: 31 Location: Slovakia
|
Posted: Tue Apr 10, 2012 6:31 pm Post subject: [Solved] Udev fails after update |
|
|
Hi guys. I have a problem with my gentoo. After I updated my installation, it shows me error when I am booting.
| Code: | start-stop-daemon: /sbin/udevd does not exist
Failed to start udev
ERROR: udev failed to start |
What to do ? I tried revdep-rebuild but nothing happen :/
Thanks for help _________________ Gentoo inside
Last edited by GTXcube on Wed Apr 18, 2012 7:00 am; edited 1 time in total |
|
| Back to top |
|
 |
Veldrin Veteran


Joined: 27 Jul 2004 Posts: 1931 Location: Zurich, Switzerland
|
Posted: Tue Apr 10, 2012 7:55 pm Post subject: |
|
|
run etc-update or dispatch-conf to update you config.
if you did that, and discarded all changes (which is a bad idea), then rebuilding udev might be a solution.
In either case, you have to boot from livecd to get the system working again.
if you need more detailed instruction, please provide you current partition layout.
V. _________________ read the portage output!
If my answer is too short, just ask for an explanation. |
|
| Back to top |
|
 |
GTXcube n00b

Joined: 05 Apr 2012 Posts: 31 Location: Slovakia
|
Posted: Tue Apr 10, 2012 10:03 pm Post subject: |
|
|
I know this commands and I thought that it can be a solution but I didn't use it because there is 37 files to update and I really don't know when to use which function. I can write list of them if you want.
And my partition layout is:
| Code: | 100MB /dev/sda1 ntfs no boot point - windows boot menu
180GB /dev/sda2 ntfs /media/Windows
64MB /dev/sda3 ext2 /boot
70GB /dev/sda4 reiserfs /
500GB /dev/sdb1 ntfs /media/Data |
I can write detailed info about it but now I am on my laptop.
Thanks for help _________________ Gentoo inside |
|
| Back to top |
|
 |
Veldrin Veteran


Joined: 27 Jul 2004 Posts: 1931 Location: Zurich, Switzerland
|
Posted: Wed Apr 11, 2012 1:05 am Post subject: |
|
|
you have a (comparably) simple setup - this will make things easy.
in a nutshell, boot you livecd, mount the system, chroot into it, fix whatever is wrong, reboot to real system.
| Code: | mount /dev/sda4 /mnt/gentoo/
mount /dev/sda3 /mnt/gentoo/boot
mount -o bind /dev /mnt/gentoo/dev
mount -t proc proc /mnt/gentoo/proc |
| Code: | chroot /mnt/gentoo /bin/bash
env-update |
for the fixing part itself:
* if it is an init script (/etc/init.d/somthing) then it is safe to upgrade.
* if you have not changed the file previously, or do not know what it does, then it is safe to upgrade.
IIRC, there will some few leftover where you should have a closer look, and merge the changes properly.
If I am not entirely mistaken, you can wait with those few till after the reboot.
HTH
V. _________________ read the portage output!
If my answer is too short, just ask for an explanation. |
|
| Back to top |
|
 |
Hu Watchman

Joined: 06 Mar 2007 Posts: 7613
|
Posted: Wed Apr 11, 2012 1:52 am Post subject: |
|
|
| GTXcube wrote: | | I know this commands and I thought that it can be a solution but I didn't use it because there is 37 files to update and I really don't know when to use which function. | As you have discovered, rebooting without processing the pending updates can lead to an unusable system. If you are unsure how to handle pending updates, ask us for help before you reboot so that you can repair without resorting to a LiveCD. |
|
| Back to top |
|
 |
GTXcube n00b

Joined: 05 Apr 2012 Posts: 31 Location: Slovakia
|
Posted: Wed Apr 11, 2012 6:50 am Post subject: |
|
|
Veldrin
I just used option "use new" for every of that files and I configured some files in /etc/conf.d and it works. Thank you
Hu
Ok I will. _________________ Gentoo inside |
|
| Back to top |
|
 |
Arkhelion Tux's lil' helper

Joined: 07 Sep 2010 Posts: 127 Location: France
|
Posted: Wed Apr 11, 2012 12:32 pm Post subject: |
|
|
I think it's recommended to use dispatch-conf over etc-update (if not, at least _I_ humbly recommend it). dispatch-conf can auto-update unchanged files, files where there are only comments or blanks modifications, etc. Just check /etc/dispatch-conf.conf _________________ Arkhelion |
|
| Back to top |
|
 |
|