Remove Ubuntu
This page was last updated on July 18, 2009.
First you need to get rid of Grub:
- Boot the computer with your Windows XP CD (this may take quite a while).
- Once it’s finished, select one of these:
- Windows 2000 users select r for Recovery.
- Windows 2000 and Windows XP users choose System Recovery Console.
- Select your Windows version.
- At the command prompt, type one of these commands to overwrite Grub with the Windows Master Boot Record:
- Windows 2000 or Windows XP users type this:
- Windows 98 or Windows ME users type this:
- Then type:
- Reboot the machine without the CD in the drive. You should boot into Windows 2000 or Windows XP.
- Right-click My Computer.
- Select Manage.
- Choose Disk Management.
- Highlight the Linux partitition (might show up as unknown – look for the one that’s the same size as the partition you created).
- Delete the partition.
- If you also created a swap partition or any other partitions for Ubuntu, repeat steps 10 and 11 for those partitions.
- You can then partition and format it for use with Windows.
fixmbr
fdisk /mbr
exit
Obligatory Happy Ending
And they all lived happily ever after. The end.

Comment: