bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "Error: Can't move a partition onto itself."


From: Andrew Clausen
Subject: Re: "Error: Can't move a partition onto itself."
Date: Thu, 4 Jul 2002 11:41:11 +1000
User-agent: Mutt/1.3.28i

On Wed, Jul 03, 2002 at 07:49:26PM -0400, Andrew Biggadike wrote:
> Hi,
> This is where I currently am:
> Minor Start           End             Type    Filesystem      Flags
> 1     0.031           14880.520       primary FAT             boot,lba
> 2     14880.520       14972.585       primary ext2
> 3     16127.754       18567.312       primart ext2
> 4     18567.312       19077.187       extended                lba
> 5     18567.343       19077.187       logical linux-swap
> 
> I have used parted to resize my 1 partition (FAT) about 1200 megs
> smaller, and to move my 2 partition (ext2, /boot) down.  Now what I want
> to do is move my 3 partition (ext2, /) down and then resize it larger
> (at the end).  This is what I get:
> 
> (parted) move 3 14927.586 17367.144
> Error: Can't move a partition onto itself.  Try using resize, perhaps?
> 
> I've played around with the numbers a bit and tried different things.  I
> haven't been able to find any documentation relating to this error
> message, and everything I've read indicates that this should work.

Ah, the documentation is inadequate.  Thanks for pointing this out.
Anyway, the old and new posistions can't overlap.

> Am I
> missing something?  It seems like it will only move it to an empty place
> on the disk that is at least as big as the partition I am trying to move

Correct.  (in the case of ext2 and reiserfs. FAT, has no requirement
about "at least as big")

> - just judging from the success I had with partition 2.  Any help would
> be appreciated.  Thanks,

Try shrinking first (via resize) to create some free space to move
into.

Andrew



reply via email to

[Prev in Thread] Current Thread [Next in Thread]