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
#sudo grub
From the grub
Type
grub> find /boot/grub/stage1 (If you installed a /boot partition, do find /grub/stage1)
(hd0,1)
(hd0,5)
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.
No comments:
Post a Comment