PDA

View Full Version : Dual boot, 16.04 udgrade ->grub-rescue prompt



Chris_Dinant
August 4th, 2016, 07:20 PM
I have a dual boot system with windows 10. I hadn`t touched ubuntu for about a year. Now I upgrade to 16.04 and it wont boot anymore.

I get the grub rescue prompt.

So I used the live disk to get into boot-repair. before running it asks if the 120Gb disk (the SSD it should boot from), is portable or not (it is not) and tells me to look at the options because it found a separate /usr on a different drive (I put that folder on a larger HD). Not sure what options to change or why it should matter.

After I run the repair it ends with an error message: Please close all your package managers (Software Center, Update Manager, Synaptic, ...). Then try again. No package managers open.

I uploaded a boot info script file created by boot-repair here: http://paste2.org/vNCXNLWe

I would be eternally grateful if someone could have a look and help out.

Chris

oldfred
August 4th, 2016, 11:09 PM
Boot-Repair cannot fix a system with its commands as it does not mount separate system partitions except /boot if that is separate. So your /usr and /var prevents Boot-Repair from making repairs. You have to chroot into system manually including the extra mount of /usr and /var. Most instructions will not show that.

Update: It looks like Boot-Repair now does try to mount /usr.

Did you have Ubuntu fully updated for trying to update to 16.04?
And did you have any ppa or proprietary drivers. Those have to be commented out or reverted to defaults or you often have blockage on upgrade which prevents it from finishing.

And good idea to houseclean old logs & kernels before upgrading to new version.

Your still showing older kernels, so I do not think upgrade completed at all.

While a chroot & major repairs is possible, it may just be easier to backup your data and reinstall.

Chris_Dinant
August 5th, 2016, 07:59 AM
I did do all the updates before upgrading, but I think it asked me during the updates if I wanted to update grub and I said no, because I thought it might break the boot. Perhaps I should have said yes...

I will try a reinstall. thanks.