Resizing
Stephen
stephen_o at rogers.com
Mon Mar 12 10:22:45 UTC 2012
On 11/03/2012 9:40 AM, Liam Proven wrote:
> On 11 March 2012 00:06, Stephen<stephen_o at rogers.com> 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?
>
>
The first time I resized the partitions windows used chkdsk and resized
the partition after I signed back into windows. Here is the new readout.
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x54ca54ca
Device Boot Start End Blocks Id System
/dev/sda1 * 63 838836223 419418080+ 7 HPFS/NTFS/exFAT
notice the difference between the end of the windows partition and the
beginning of the extended logical drive.
/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
Partition table entries are not in disk order
Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders, total 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000aa6b3
Device Boot Start End Blocks Id System
/dev/sdb1 63 976768064 488384001 7 HPFS/NTFS/exFAT
Thank you;
Stephen Oulton
<stephen_o at rogers.com>
More information about the ubuntu-users
mailing list