[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Can you grow a primary partition into unused extended partition spac
From: |
John Dunn |
Subject: |
Re: Can you grow a primary partition into unused extended partition space? |
Date: |
Tue, 2 Dec 2003 20:31:32 -0800 (PST) |
Thanks for the clarification, I thought the resize
restriction on ext2/ext3 filesystems for having new
start = old start would have been applicable since
minor 2 (the extended partition) contains an ext3
filesystem. I'll try this out tomorrow!
Regards,
John
--- Andrew Clausen <address@hidden> wrote:
> Hi John,
>
> 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
>
> Cheers,
> Andrew
>
__________________________________
Do you Yahoo!?
Free Pop-Up Blocker - Get it now
http://companion.yahoo.com/