Velvet Star Monitor

Standout celebrity highlights with iconic style.

updates

How to delete extended partition in ubuntu 12.04

Writer Sebastian Wright

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.

1

2 Answers

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.

1

you could use Gparted ( search it in ubuntu software center )

1

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy