How to restore the MBR after do-release-upgrade?

Liam Proven lproven at gmail.com
Sat Jul 9 13:05:11 UTC 2016


On 8 July 2016 at 21:18, Ralf Mardorf <silver.bullet at zoho.com> wrote:
> The do-release-upgrade only offers /dev/sda and /dev/sdb. Assumed it's
> installed to the root fs (?partition of the root fs?), then a
> do-release-upgrade recognises this?


Well, if, for example, your root FS is /dev/sda1, then all you need to do is:

sudo grub-install /dev/sda1

... and that should be it. It should write the location into its
config file and so remember it from then on.


-- 
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: lproven at cix.co.uk • GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: lproven at hotmail.com • Skype/AIM/Yahoo/LinkedIn: liamproven
Cell/Mobiles: +44 7939-087884 (UK) • +420 702 829 053 (ČR)



More information about the ubuntu-users mailing list