Monday, July 1, 2019

boot - recent upgrade puts grub to rescue prompt


I woke up this morning to see the grub rescue prompt complaining about some highlight color being invalid. Apparently the upgrade to 14.04 was installed last night after I went to sleep.


So I am booted up on my old 12.10 disk. I tried boot-rescue, but I get the message "please close all your package managers" when attempting the recommended repair (obviously, I dont have any open).


here is my boot-info from boot-rescue: http://paste.ubuntu.com/7283446/


My system has a windows8 disk (totally separate disk), as well as a linux disk using lvm .. both ssds. And also a large data disk.



I found I had two issues I had to resolve.


One was fixing the windows 8 disk, because Boot-Rescue had corrupted it. This was done from the windows 8 install disk, dropping to the command prompt, and issuing BootRec /FixMBR after changing boot prioity in BIOS to get the windows 8 disk on top. Afterwards I reverted BIOS.


The other was to reinstall grub. I went to the terminal from the install DVD, then issued: grub-install --boot-directory=/dev/mapper/ubuntu-root /dev/sdb as those were the bottable lvm and physical media I needed.


I find it curious that /dev/sdb0 exists at all, let alone that it has a very old version of the kernel sitting around there (since it isnt bootable) ... there's probably a way to reclaim a bit of disk space in the repair too .. but this was the answer for me.


No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...