Stephen stephen_o at
Mon Mar 12 10:06:33 UTC 2012

On 11/03/2012 9:40 AM, Liam Proven wrote:
> On 11 March 2012 00:06, Stephen<stephen_o at>  wrote:
>> Here is the read out from sudo -l
>>    Device Boot      Start         End      Blocks   Id  System
>> /dev/sda1   *          63   892377087   446188512+   7  HPFS/NTFS/exFAT
>> /dev/sda2       892379134   976768064    42194465+   5  Extended
>> /dev/sda5       973217763   976768064     1775151   82  Linux swap / Solaris
>> /dev/sda6       892379136   969025535    38323200   83  Linux
>> /dev/sda7       969027584   973215743     2094080   82  Linux swap / Solaris
>> I tried again to enlarge the dev/sda2. Which seems to be a container for all
>> the linux partitions. It wouldn't give me the option to re-size it. I tried
>> again to enlarge the dev/sda6 which is EXT4 format.
> Two things spring to mind:
> [1] As Basil says, it does not look as if you have actually shrunk the
> Windows partition successfully. How full is it? Have you cleared out
> all the rubbish in it (\WINDOWS\TEMP, the TEMP in your user directory,
> removed the swap file, disabled hibernation, etc.?) Have you defragged
> it?
> [2] Yes, sda2 is an extended partition and it contains all the logical
> partitions in which Ubuntu is installed. However, it looks to me a
> little as if you have got 2 swap partitions there - is that correct?
> If so, why?
I have two swap files because I was running ubuntu 10.04 and every time 
I was installing any thing it asked me for the disk 9.10. So I did a 
clean install of 10.11 and told it to use the linux partition, and it 
made another swap partition instead of using the original one.

When I re-sized the windows drive I used sudo gparted, and I applied the 
changes before trying to enlarge the linux partition. Does this mean I 
will have to remove the linux partitions, enlarge the windows partition 
and re-install linux.

I'm confused. I ran linux patitions in the past and was able to enlarge 
them and re-size the windows drive with a live copy of linux running and 

There must be some way to do it now.

More information about the ubuntu-users mailing list