Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I have primary partition with Windows XP on it. Also I have extended partition divided into 3 logical partitions: - Drive D: for Windows - Ext4 Linux System - Swap

Now, Linux is my main system, and I'd like to have Ext4 partition the largest, so I want to make windows partitions smaller, and ext4 larger.

Here is my structure:

Model: ATA ST3320613AS (scsi)
Disk /dev/sda: 320073MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos

Number  Start     End       Size      Type      File system     Flags
 1      0.03MB    104856MB  104856MB  primary   ntfs            boot
 2      104856MB  320073MB  215217MB  extended                  lba
 5      104856MB  209712MB  104856MB  logical   ntfs
 6      209712MB  318014MB  108302MB  logical   ext4
 7      318014MB  320073MB  2058MB    logical   linux-swap(v1)

If I free some space (for example 50Gb) from sda1 (primary ntfs), I will have 50Gb free, but gparted doesn't allow to resize sda2 partition. So I can't give this 50Gb to other partition.

I ask for a piece of advice - how to part my HD. I need to take 50Gb from both of windows partitions, and these 100Gb give to ext4 partition.

share|improve this question
up vote 1 down vote accepted

Are you doing this from your Linux OS or from a Live CD? Typically gparted does not let you do major changes to partitions until they are unmounted.

If this is the issue, a Live CD usage should let you resize the extended partition, move the ntfs one and then resize the ext4 one.

share|improve this answer
I'm trying to do it from Live Linux Mint (from USB pendrive) – Larry Cinnabar Nov 2 '12 at 10:11
in that case can you elabourate what sort of error are you getting when you try to expand sda2? – Karthik T Nov 2 '12 at 11:03
I've tried another LiveCD and it's OK this time. It was no error, expanding was locked option of partition – Larry Cinnabar Nov 2 '12 at 12:58

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.