Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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
add comment

2 Answers 2

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
4  
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
show 2 more comments

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
add comment

Your Answer

 
discard

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.