Grub Fix – Ubuntu
Installing Windows After Ubuntu
Normally when Windows is installed after Ubuntu the master boot record will be overwritten. This means that you would have to boot off a LiveCD and re-install grub. The steps are
Open the terminal
- sudo grub
From the grub
grub> find /boot/grub/stage1
It dispay partition which contains your grub files. I have two linux OS installed.
Then run the following command
>root (hd0,1) >setup (hd0)
(hd0) = the MBR for the hard disk which is where grub needs to install itself too for it to load on bootup.