How to remove Ubuntu from a Vista dual-boot config
On my new PC I wanted (still want) to have toa go with Linux. I chose to experiment with Ubuntu. I downloaded thedesktop CD, burned it, freed up some disk space (inside Vista) andloaded up Ubuntu from the CD. After some experimenting I figured outhow to install Ubuntu in the empty disk space and it all worked fine(GRUB took over my booting (recognized Vista automatically!) and Ubuntuloaded up fine).
Then I tried to install my GPU drivers andeverything went wrong.. For some reason Ubuntu wouldn't boot anymore(failed to load X-Server or something). I was completely lost andwanted to remove Ubuntu.This is where things start to get really messy
Ifyou simply remove the Ubuntu partition, GRUB (Linux boot loader) willstill be on your PC (in control). It will trip out, as the Ubuntupartition will be removed.. Bad thing!
So you need to restore your Master Boot Record (MBR) for Vista (so that Vista will handle the booting, not GRUB).
Googleonly pointed me to sites that explained how to REMOVE VISTA, whichisn't what I wanted. Many sites talked about the 'fixmbr' command, butthis is really only available in Windows XP.
So how do you restore your MBR for Windows Vista?
1. Put the Windows Vista installation disc in the disc drive, and then start the computer.
2. Press a key when you are prompted.
3. Select a language, a time, a currency, a keyboard or an input method, and then click Next.
4. Click Repair your computer.
5. Click the operating system that you want to repair, and then click Next.
6. In the System Recovery Options dialog box, click Command Prompt.
7. Type Bootrec.exe /FixMbr, and then press ENTER.
That'sit. Now when you reboot your PC, Vista will load automatically... Youcan now safely boot using your Ubuntu desktop CD, to use the built inGnome Partition Manager to remove your Ubuntu partition!