Contents
Here’s what you need to do:
- Head to the Start menu (or Start screen) and search for “Disk Management.”
- Find your Linux partition.
- Right-click on the partition and choose “Delete Volume.”
- Right-click on your Windows partition and choose “Extend Volume.”
How do I delete a partition in Linux?
First we need to delete the old partitions that remain on the USB key.
- Open a terminal and type sudo su.
- Type fdisk -l and note your USB drive letter.
- Type fdisk /dev/sdx (replacing x with your drive letter)
- Type d to proceed to delete a partition.
- Type 1 to select the 1st partition and press enter.
How do I delete a partition in Centos?
To delete /dev/sda5:
- After “Command (m for help):”, enter: d.
- After “Partition number 1,2, 5-7, default 7):”, enter the partition number: 5.
- You’ll see: “Partition 5 has been deleted”