[Top][All Lists]

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

Re: moving existing partitions /usr ?

From: Andrew Clausen
Subject: Re: moving existing partitions /usr ?
Date: Fri, 13 Apr 2001 10:26:26 +1000

Hi Neal :-)

Neal Pollack wrote:
> I have read the documentation and help page regarding
> the commands
> and what is unclear is if you can successfully move
> an existing ext2 partition that contains data.

You can.  Moving == copying (but you remove the old
partition from the partition table, and replace it
with the new one)

BUT, the new ext2 partition must be bigger (or the
same size) as the old one.

Also, with the move operation, the new and old
partitions can not overlap.  (If they do, then
you are resizing, and not moving)

Resize-the-start hasn't been implemented for ext2 :-(

> Here is the exact desired usage case for Parted;
> 1.  user made linux system with root too small  P#1
> 2.  user has unneeded /opt of 150 megs  part#3
> 3.  I wish to remove partition #3 /opt
> 4.  I then wish to move /usr (P#2) "UP" by 150 megs
>     which would then leave room for growing root P#1
> So I suppose this call for moving both the start point
> and the end point of /usr, while it is full of linux files.
> Is there a way to do this?

If the new and old /usr won't overlap, and the new /usr
is bigger than the old, then you can use the move command.

Andrew Clausen

reply via email to

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