I want to delete my extended partition of ext4 in ubuntu. I using disk utility but can't delete or format. please tell me the procedure through terminal.
I want to delete my extended partition of ext4 in ubuntu. I using disk utility but can't delete or format. please tell me the procedure through terminal.
Here are details on fdisk command
Don’t edit partitions while they’re in use. If you want to edit system partitions, boot from a live CD first.
Start with
sudo fdisk -l
and determine the name of the partition you want to delete (sda1, sda2, etc).Then,
sudo fdisk /dev/sdax
with 'sdax' being the drive you would like to delete. This will enter command mode.After in command mode, (type 'm' if you want the help menu) you will use 'p' to delete the partition. After this, it prompts for partition number, which is just the 'x' from 'sdax'. Then use 'w' to actually write the change.
you could use Gparted ( search it in ubuntu software center )