[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can you grow a primary partition into unused extended partition spac
Re: Can you grow a primary partition into unused extended partition space?
Tue, 2 Dec 2003 16:32:31 +1100
On Mon, Dec 01, 2003 at 08:11:33PM -0800, John Dunn wrote:
> OK, thanks for the information, I ignored it for a
> couple of months until I now have family mutiny
> because of the games factor. Can you lend me a pointer
> on how you would handle the following resize scenario?
> I want to grow minor 1 from 1309.987 to 4314.362...
> /dev/sda: 0.000-8683.252 megabytes
> Disk label type: msdos
> Minor Start End Type FS Flag
> 1 0.031 1309.987 primary fat32 boot
> 2 1309.988 8032.500 extended
> 5 4314.362 4902.648 logical fat16
> 6 4902.680 4981.091 logical ext3
> 7 4981.122 8032.500 logical ext3
> 3 8032.500 8291.359 primary linux-swap
> Should the plan here be to move minors 5,6, and 7 to
> the beginning of the extended partition, then resize
> (shrink) the extended partition, and then move it to
> the end of where it currently resides? Any gotchas in
> all of this?
It looks much simpler than this.
Any reason why this wouldn't work:
(parted) resize 2 4314 8032
(parted) resize 1 0 4313