Delete Linux partition from dual-boot (Windows 7 & Linux)
First time I did this by just delete the partition via Disk Management on Windows 7. What is the consequence?
It turn up totally cannot boot into any OSes. That is be cause the GRUB bootloader is removed together.
This take me half day to figure it out, and struggling me.
Here is the step on how to safely remove the Linux.
Using Windows 7 boot disc
- Select a language, a time, a currency, a keyboard or an input method, and then click Next.
- Choose Repair your computer.
- Choose the option that you want to repair.
- You’ll see some thing like this, then select Command Prompt.
Type some command in cmd
1 | bootrec.exe /fixmbr |
Then reboot your machine. It should auto-boot into Windows 7 without letting you to select OSes.
Delete and extend partition
Now click on start menu and search for Computer Management
Click on Disk Management
Right-click the partition that you want to delete (i.e. Linux partition in this case). Then select Delete Volume…
You’ll get a Free Space. Now right-click the Free Space and Delete Partition…
Now you get an Unallocated space. Right-click the drive before the Unallocated space (i.e. D-drive in this case). Select Extend Volume…
Finally, your drive has more space ^^