I tried to install ubuntu 16.04 beta on my laptop which has ubuntu 14.04 installed 3 days before the official release. So I ran the command

do-release upgrade -d

The download went on well. But during installation, it started showing many errors and suddently the process stopped saying that "too many errors were encountered during the process". I did'nt know what to do. So I restarted the system. But the laptop failed to shutdown but showed a black screen with the led backlight still on. I had to force shutdown the system by pressing the power button. Then when I tried to turn on the system back, It came to black screen showing some errors which I have attached:Error message I have windows 10 also installed on my system and grub seems be working properly but I really want to recover ubuntu which I use more often. Any help would appreciated. Thanks.

  • 1
    They correct answer is you restore from the backup you made just before you tried upgrade. But partially upgrade almost never boots. And forced power down can corrupt file system and then you need to run fsck from your live installer. You may have to chroot into system from a live version and complete install or just do new full install. What option do you prefer?
    – oldfred
    Apr 18 '16 at 14:02

First, advice to others who want to install a beta version, besides the classic "backup your data":

  • if update-manager -d fails with too many errors and does not rewind what it has done, do not force a restart.
  • close update-manager, if necessary, kill the process.
  • do an apt-get -f install, followed by apt full-upgrade.
  • Repeat with apt update and apt full-upgrade and make sure that the process runs without complaints.

This should let you succeed in 9 of 10 cases. Only then restart into the new kernel.

For your situation:

  • Make a bootable installation media (flash drive or DVD) of the latest 16.04.
  • Boot into the installer CD.
  • Use the repair option with whatever suits you. Try to repair the existing installation, keeping your data - this works surprisingly well.
  • After the repair has done its thing, reboot and remove the installer drive.

To clarify what the 'repair' means: When you try to install to an existing Ubuntu system without formatting, the installer detects the existing system and gives you a repair menu in the next step where you can choose to overwrite or repair the existing installation.

You have to choose the install option, it is not mentioned that the repair option pops up later in the process if it is an existing installation.

Enjoy 16.04LTS.

  • Thanks for the answer. Should I wait till the final 16.04 release to make the live usb and boot from it or can I use the beta build to make the live usb. Apr 18 '16 at 17:34
  • Use the beta. There won't be changes in the parts relevant for you.
    – emk2203
    Apr 18 '16 at 17:55
  • 3
    I don't understand where the option is to repair an existing installation. Can you be more elaborate? Apr 21 '16 at 10:27
  • I had to use "sudo" before each command but it worked. Thank you
    – user574572
    Jul 30 '16 at 18:31
  • 2
    "I don't understand where the option is to repair an existing installation." Same here I also screwed up, and the installer CD doesn't show the "repair" option only the option for a clean install!
    – Calmarius
    Aug 16 '16 at 15:14

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