Tuesday, 25 October 2011

Remove xp or ubuntu from dual boot in windows 7

If you install your windows 7 dual boot with windows xp or ubuntu and you want to remove xp or ubuntu now,you can use bcdedit to remove xp or ubuntu from boot loader of windows 7,then remove the OS folders even format the partition (Please backup useful data before removing / formating action).Below is a step by step guide to remove xp or ubuntu from dual boot in windows 7

1.Open an Elevated Command Prompt in windows 7    (Go to StartAll Programs – Accessories, then right click Command Prompt and click on Run as administrator)

2.Type command bcdedit then press Enter ,we can see the identifier of xp is {ntldr} ,the same way you can find your ubuntu’s identifier



3.Using below command to remove xp or ubuntu from your boot loader
bcdedit /delete {identifier} /f
Eg:
a) Remove xp from dual boot in windows 7
bcdedit /delete {ntldr} /f
 


b)Remove ubuntu from dual boot in windows 7
bcdedit /delete {identifierofubuntu}
 
4.Reboot,you will find xp or ubuntu has been removed from boot loader,and then you can format xp’s or ubuntu’s parition to remove it completely.

Note:Please make sure you have backup all useful data before formatting the partition

1 comment: