I installed centOS 6 in a separare win7 partition. Now I want to remove/uninstall it, but I can not find out how to do it.
migrated from stackoverflow.com Nov 19 '12 at 8:47
This question came from our site for professional and enthusiast programmers.
Assuming that CentOS has replaced the MBR/bootloader what you can do is
1) boot off your Windows 7 installer disc
2) When it loads up,select your language and select 'repair your computer', it will then prompt you which installation you want to repair it will then ask you if you want it to try and auto-repair, select no.
3) Select 'Startup repair' on the next screen which should solve the issue.
If the issue isn't resolved go through steps 1&2 but this time select command prompt and type: bootrec.exe /FixMbr
If the command worked it should say "Command completed successfully and you can then boot into windows
To delete the centOS paritions you can simply right click my computer and click "Manage"
Click Disk management and carefully delete the 'unknown' partition(s) making sure it's the right ones..Optionally if you're not too sure you can always boot off a linux livedvd or livecd and run 'fdisk' and delete the linux and linux swap partitions and create a new one.
(UAC or User Account Control in Vista/7)