2

Okay, so here it goes. I have two hard drives. One is a 1TB drive that I have Win 7 on, the other is a 250GB that I have Ubuntu on. Both installs work fine, neither is corrupted. I installed Win 7 Ultimate first because I know it screws up grub on a system with Ubuntu installed first. Then after I got it pretty much totally set up, I restarted because of updates. Then, with it restarting, I installed Ubuntu on the other drive by letting it install what it needed automatically. When I restarted, it went to grub, of course. However, that's when I noticed the problem. There was no entry for Windows. I restarted onto the Boot Repair live disk (results at http://paste.ubuntu.com/8405452) but it seems to have cloned the failed grub from the other disk to the Windows hard drive, as that one only sees Ubuntu as well.

How do I completely remove grub and then install it as fresh? I have the grub 2 disk as well as all install media I need for any of the operating systems I have installed.

1 Answers1

2

Run sudo update-grub on your LiveCD. If that fails, follow the below directions.

For Windows, you will need to manually repair your bootloader.


On the LiveCD, run lsblk.

One of the entries should have lots of sub-entries. It should look something like /dev/sda. Remember what it is!

Then, run sudo grub-install /dev/sda (or whatever it is, you found out above).

Reboot and enjoy.


If you get the infamous cow error message, run these commands:

First off, mount your Linux partition using this command:

 sudo mount /dev/sda1 /mnt #Replace sda1 with appropriate partition

Then, run:

sudo grub-install --root-directory=/mnt /dev/sda
Kaz Wolfe
  • 34,680