This post explains how to revert the GRUB after your Linux (Ubuntu 14.10)/Windows (7) dual-boot workstation boots directly to Windows the Windows update. This procedure is valid for non-EFI (legacy) workstations. For EFI workstations see another post.
- Get a sysresccd boot image and boot the workstation from it.
- Note that you cannot make an bootable USB stick using dd but executing an installation script as explained in the documentation.
- This recipe was tested on 4.5.3.
- Find your Linux root partiton using fdisk:
- fdisk /dev/sda (sdb, sdc…)
- p (prints the partiton table)
- In this example we found the suspected root partition from /dev/sdb2. It has the boot flag on and the partition type is “Linux”.
- mkdir /tmp/root
- mount /dev/sdb2 /tmp/root
- ls /tmp/root (make sure that this contains the root partition)
- grub2-install –root-directory=/mnt /dev/sda
- reboot
- As soon as you get your Ubuntu up and running re-instal grub:
- sudo grub-install /dev/sda
One thought on “Reinstalling GRUB After Windows Update (non-EFI)”
Comments are closed.