Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can I add new logical partition?

I already have an extended partition, so I tried to use GParted to add a new logical partition.

  1. I tried to resize the extended partition, but such an option is not available.

  2. I tried to add a new logical partition but it only gave primary partition options.

share|improve this question
Could you please show the output of fdisk -l /dev/sda (or whatever is the disk in question) ? – bitwelder Mar 19 '11 at 21:12
up vote 5 down vote accepted

You cannot resize the extended partition if any of the partitions on it are in use.

Boot into a LiveCD and use the GParted without mounting the partitions. Remember to make a backup before proceeding.

share|improve this answer
+1 for backup ;) – Takkat Mar 19 '11 at 20:50
what should I use in liveCD menu? – Yosef Mar 19 '11 at 21:15
Select your language, choose "Try" and wait a few seconds. If the desktop shows up, start GParted (it's called Disk Utility if I'm not mistaken) – Lekensteyn Mar 19 '11 at 21:16
No, Disk Utility is palimpsest. GParted should be called Partition Editor in the System > Administration menu. – htorque Mar 19 '11 at 21:20
Thanks, learned something today. Till now, I was in the assumption that Disk Utility = GParted. – Lekensteyn Mar 19 '11 at 21:25

If you use a live-cd it could happen that it automatically mounts your swap partition. If your swap partition is inside the extended partition, you have to unmount it, before you can resize the extended partition. By resizing you can add free space to your extended partition and afterwards create new logical partitions inside that free space.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.