How can i safely remove a linux os from a dual booting laptop? Do i create a bootable gparted disk and just format that particular partition with the unwanted os on it and change it into something else(e.g. ext2 or swap or something like that?) I want to make sure it's cleanly removed and won't mess up my partition table.
Keep Windows and Remove Linux:
Head to the Start menu (or Start screen) and search for "Disk Management." Open up the Disk Management tool.
Find your Linux partition. It won't be labeled since Windows doesn't understand the Linux file system, so you'll need to figure out which one it is by size and where it is on your hard drive. Make sure you have the right one before continuing!
Right-click on the partition and choose "Delete Volume." This will delete the partition from your hard drive, leaving free space. If you get a green box of "free space," you'll have to right-click on it and choose "Delete Volume" a second time until you get the black "Unallocated Space."
Right-click on your Windows partition and choose "Extend Volume." Extend it to fill the free space your Linux partition left behind.
Lastly, insert your Windows recovery disc (or recovery USB drive) and boot from it. Choose "Repair Your Computer," go to "Troubleshoot," and then enter a Command Prompt. Type the following command:
This will remove Linux's bootloader and replace it with Windows'. Reboot your computer and you should find that it boots directly into Windows, with no Linux partition to be found.
Also for pictorial guide refer here