dual boot Kubuntu 8.04/xp pro sp3(repair)

Goh Lip g.lip at gmx.com
Tue Jul 14 14:06:56 UTC 2009

John Pierce wrote:

> # Boot your computer up with Ubuntu CD
> # Open a terminal window or switch to a tty.
> #
> Go SuperUser (that is, type "sudo -s"). Enter root passwords as necessary.
> # Type "grub"
> # Type "find /boot/grub/stage1". You'll get a response like "(hd0,1)".
> Use whatever your computer spits out for the following lines.
> # Type "root (hd0,1)", or whatever your hard disk + boot partition
> numbers are for Ubuntu.
> # Type "setup (hd0)", to install GRUB to MBR, or "setup (hd0,1)" or
> whatever your hard disk + partition nr is, to install GRUB to a
> partition.
> # Quit grub by typing "quit".
> # Reboot and remove the bootable CD.

I might add, after all this is done, boot to ubuntu and at linux shell, 
ie. at terminal type

sudo update-grub

This makes sure you get to boot into your 'repaired' xp.

goh lip

More information about the kubuntu-users mailing list