Posted on 6:08 AM by Softminer and filed under ,

To install grub first you need to boot with live CD on Ubuntu 8.10:

then go to Terminal and run:

sudo grub
find /boot/grub/stage1

Take not of whatever find states (hdx,x) for example in mycase ubuntu is installed on Sda7 so

root (hdx,x)
in my case: root (hd0,7)

setup (hdx)
in my case: setup (hd0)


now the grub should be installed on your boot menu and automatically should have windows boot, if it doesnt have boot menu of Windows you have to add in manually

sudo gedit /boot/grub/menu.lst

then add this to menu.lst

# title Windows 95/98/NT/2000
# root (hd0,0)
# makeactive
# chainloader +1

hint: in Ubuntu 9 you can use
sudo upgrade-grub
Responses to ... Reinstall Ubuntu Grub Bootloader After Windows Cleared Grub