9 Sep 2010 marcioandreyoliveira   » (Journeyer)

How to recover of the crash after the udev package update

Last night I've updated the udev package on my Ubuntu 10.04 (32-bits) and after system restart my PC was unable to boot.

The error messages were the following:

udevadm settle is not permitted while udev is unconfigured
ALERT! /dev/disk/by-uuid/)a8cc71e....071cd does not exist. Dropping to a shell

Was it a plague of St. iGNUcius because I have written an article about Windows?

After some research on Google, I found out the solution:

  • Boot the system using the Ubuntu live CD. If Ubuntu automatically mount the hard disk partition, unmount it before proceeding. This can be done easily through Nautilus.

  • Open a command prompt.

  • Create a new folder in order to mount the HD:

    sudo mkdir /mnt/newroot
  • Mount the HD (sda1, in my case):

    sudo mount /dev/sda1 /mnt/newroot
  • Change the root directory:

    sudo chroot /mnt/newroot
  • Run the following command:

    update-initramfs -u -k all

  • Return to the old root and unmount the partition:

    sudo umount /mnt/newroot
  • Reboot.
After these steps, Ubuntu should work without problems.

Syndicated 2010-09-09 14:39:00 from Marcio Andrey Oliveira

Latest blog entries     Older blog entries

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!