Categories
Geeky

Ubuntu 11.10 Upgrade Problems

Yesterday I had my second host, which did not upgrade seamlessly to Ubuntu Oneiric. After some googling, I’ve found the problem, which lasts in an unproper script to migrate to /run.

Problem: After the upgrade and restart, the system hangs while booting at a spash screen saying “trying to configure network” and additionally “waiting another 60 seconds for network config”. After this grace periode, GDM or LightDM does not start correctly.

Solution: The kernel is configured to have the PId and Lock files in /run, while most of the daemons still use /var/run and /var/lock. The migration script failed to create the symlinks.

  • Start the system, at the blank screen press Ctrl-Alt-F1 and log in as root (or as user and sodo to root) to the text console.
  • Backup-remove the original directories:
  1. mv /var/run /var/run.backup
  2. mv /var/lock /var/lock.backup
  • Create the missing symbolic links
  1. ln -s /run /var/run
  2. ln -s /run/lock /var/lock
  • Reboot the system with “reboot”

With thanks to: UkSkyAdmin

Upgrade to Ubuntu 11.10 problem: Waiting for network configuration then black screen solution