Ubuntu – Removing Ubuntu without losing Windows XP

uninstallwindows

I had a 160 GB hard disk with Windows XP. Then I installed Ubuntu 11.10 64bit. But I didn't knew anything about disk partition. After installation, I only have C drive with 20 GB in xp and about 40 GB in Ubuntu. I have The Ubuntu in a DVD.

How do I remove it and get all the space back in Windows XP without losing XP?

Best Answer

I think the fastest way is to use fixmbr from the Windows recovery console, as in this example.

After you manage to use Windows boot loader, just run Windows, and go to My Computer -> Managenent -> Disk Utility and format the linux partition to any file system you want (probably NTFS).

Good luck!