Remove Debian comepletely from DualBoot

Completely remove Debian from dual-boot with our guide. Follow our step-by-step instructions to safely uninstall Debian and reclaim your hard drive space

Requirements

Windows 10 PC

I - Delete partition

Right click on the start button (bottom left corner) and click on “Disk Management”

Screenshot of the step

ideally there should be 2 linux partition, one swap area and other is main disk partition. These are the two partitions I have

Screenshot of the step

right click on one of them and click on “Delete Volume”

Screenshot of the step

click yes on the pop up

Screenshot of the step

repeat the last two steps for the second partition. Once done right click on your main drive and click “Extend Volume” to add the free space to main partition

Screenshot of the step

Click “Next” on the pop up

Screenshot of the step

Once done, the free space will be added to your main partition like so

Screenshot of the step

II - Delete Grub Bootloader

Click on the start button, search for “cmd” and run cmd as admin

Screenshot of the step

In the command prompt type

1
diskpart

Screenshot of the step

type

1
list disk

to list all the disks on your system

Screenshot of the step

Select the disk where you installed your linux OS, in my case it’s Disk 0 (zero)

1
select <DISK NUMBER>

Next, list the partitions by typing

1
list part

Screenshot of the step

Select the “System” partition by specifying it by partition number, in my case its partition 2

1
select part <PARTITION NUMBER>

then assign a drive letter to the partition. The drive letter should not be in use already, I will go with letter X

Screenshot of the step

Exit diskpart by typing

1
exit

You will be back in command prompt, here type

1
<YOUR DRIVE LETTER>:

Screenshot of the step

list the folders in the directory by typing

1
dir

Screenshot of the step

I am removing debian, so I will be typing

1
rd debian /s

change “debian” with your OS

Screenshot of the step

Once done, you will have a new “Local Disk”. It will be removed once you restart your PC.

Screenshot of the step

that’s it ✌🏽