dual boot Kubuntu 8.04/xp pro sp3(repair)
g.lip at gmx.com
Wed Jul 15 02:49:36 UTC 2009
ray burke wrote:
> On 7/15/09, Goh Lip <g.lip at gmx.com> wrote:
>> 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,
> Thanks for that the only thing is that I am not sure if I repair my
> dual boot xp pro that the
> grub gets corrupted as been told by word of mouth id does, also can I
> use the Kubuntu
> 8.04 cd rom?
Ray, if you don't touch the ubuntu partition, and you won't if you just
repair the xp, the grub in the ubuntu will not be affected.
But yes, the grub that replaced the mbr in the first sector will be
cleaned out when you repair the xp. So that's why John Pierce's
instructions come in. It will bring back the grub from the ubuntu
partition and set it up in the first sector and replace the mbr. Just
follow his instructions. It is good.
More information about the kubuntu-users