PDA

View Full Version : [ubuntu] how can I boot in ubuntu if i install xp after ubuntu



enri2
April 2nd, 2009, 06:41 PM
:confused:

oldos2er
April 2nd, 2009, 06:48 PM
Restore grub: https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows

ronparent
April 2nd, 2009, 07:53 PM
After the winXP install boot on the ubuntu live cd.

Start a terminal session.

enter commands in terinal as follows:

sudo grub

grub> find /boot/grub/stage1
### will find your linux grub install, then use the output to setup grub again

grub> root (hdx,y)
### x and y are whatever you output above was.

grub> setup (hd0)
### assuming that is still your original boot drive. The output will verify that the grub boot loader has been restored on your first drive and that the menu.list has been sucessfuly rewitten.

Reboot after removing the cd and you should be back in business.

enri2
April 3rd, 2009, 06:47 PM
thanks guys:p