How do I get the Grub menu back after installing Windows on a separate disk?
- by Shazzner
Tried sudo grub-install on sda1 but it complained about being a BAD IDEA.
I had to install windows for a work related issue so I used a separate disk (I had used it for ubuntu on this computer, but bought a bigger disk so installed ubuntu on that and left the old one in in case I needed an old file). Windows installed fine but overwrote Grub. So if I choose the Ubuntu disk to boot first in BIOS I get a blank screen.
I googled and followed this advice:
https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows
However, when I get down to this section:
sudo grub-install --root-directory=/media/0d104aff-ec8c-44c8-b811-92b993823444 /dev/sda1
I get this:
Attempting to install GRUB to a partition instead of the MBR. This is a BAD idea…
--recheck does nothing. Any ideas?