15

During my attempt to upgrade my Xubuntu 14.04 installation with

sudo apt-get dist-upgrade

I made the mistake of interrupting the process by closing my laptop, which caused it to suspend to disk. After re-opening, the monitor remained black, so I was forced to reboot the system. I have since discovered many failures of drivers (wlan0 missing, USB memory stick cannot be mounted, USB mouse not recognised, and maybe more undiscovered problems with hardware).

My beginner's attempts to manually repair the single problems could have made it even worse. During the installation of the current distribution I chose to encrypt my whole hard disk.

Zanna
  • 72,312
gloschtla
  • 161

1 Answers1

36

Do this:

  • Switch on your computer.
  • Press and hold the Shift key, which will bring up the Grub menu.
  • Select the line which starts with Advanced options.
  • Select the line ending with (recovery mode)
  • Press Enter and your computer will begin the boot process.

Your computer should display a menu with a number of options.

One of the options will be Check all file systems:

  • Press Enter with this option highlighted.
  • One of the options will be Enable networking.
  • Press Enter with this option highlighted.

Next, other of the options will be Drop to root shell prompt.

  • Press Enter with this option highlighted.

Your computer should boot in a terminal enter the following commands there:

mount -o remount,rw /
mount --all
dpkg --configure -a
apt-get update
apt-get -f install
apt-get -m install
apt-get dist-upgrade
apt-get install --reinstall ubuntu-desktop
apt-get autoremove
apt-get clean
Fabby
  • 35,017
kyodake
  • 17,808