Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have had a Windows 7 PC that dual boots to Ubuntu since a couple of years ago but have not used it lately. Today I decided to upgrade to the latest version. It downloaded +1800 files and Ubuntu started to upgrade itself, not without errors along the way.

Afterwards there was total chaos. I could not start Ubuntu (seemed to be a missing mount) and I could no longer start Windows. Luckily I was able to recover Windows 7, but Ubuntu is "gone fishing".

What do I do now? Should I delete Ubuntu, and if yes, how is this done? Or is there a recovery option?

share|improve this question
Specifically from which version did you tried to upgrade? and to which version did it upgrade? and what errors? – Uri Herrera Jan 8 '13 at 21:25

Boot from an Ubuntu live cd/usb. You should be able to access what was your Ubuntu partition from this so that you can back up any important files (I must stress this: please back up your files for your own sake). Then, install and run boot repair:

sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update && sudo apt-get install boot-repair && gksudo boot-repair

This code adds the Boot Repair repository, installs Boot Repair, and runs Boot Repair. Once Boot Repair is open, click the button that reads "Recommended repair (repairs most frequent problems)." Once it finishes, reboot.

If you still can't boot to your Ubuntu partition, then boot back onto the live cd/usb and run Boot Repair again, this time clicking Advanced Options. Check "Reinstall GRUB" if it is not already checked and check "Repair File Systems." Then click "GRUB Options." Check "Purge GRUB before reinstalling it" and "Purge kernels and reinstall last kernel." Click "Apply" to run the repairs. Follow all instructions given on-screen. After Boot Repair finishes, reboot. Hopefully you should be able to boot into Ubuntu again.

If even that doesn't work, then do a clean install of Ubuntu (This will overwrite your files, so again: back them up. Please.). On the screen that gives you the option of overwriting all other operating systems or installing alongside, go to "Something Else" and select the partitions (root and swap [just look for the one with an ext4 file system for the root, and the one labeled "swap" for the swap]) that you were using for Ubuntu previously and tell the installer to use these partitions for the new installation. Unless you want to get rid of Windows, then you can just select to overwrite.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.