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

Re: Moving file systems around to new partitions



It's easier to reinstall than moving files. However, you can also do it
without reinstall by following steps:
1. resize the file system on your primary partition.
2. resize the primary partition.
3. create partitions for directories.
4. Make file system on these partitions and copy directories from / to
these partitions.
5. boot linux into the newly created file system.
6. delete the primary partition.
7. create swap partition at the beginning of the disk.
8. Take the remaining space into the file system.

It's difficult but possible. Of course, one condition is your disk is
large enough.

Qian

On Fri, 16 Aug 2002, Steve Dondley wrote:

> My hard disk is set up so my root directory and all subdirectories are on
> the same primary partition.  Another problem is that the primary partition
> is set up at the beginning part of the disk while my swap partition is
> located across town at the other end of the disk.
>
> Obviously, I didn't know what I was doing when I installed my Debian
> installation.  Now that I have a slight clue, I want to fix the problem.
>
> My question is: am I stuck with what I've got?  I'd like to rearrange things
> to put the swap file at the beginning of the disk followed by another
> primary partition containing the file system subdirectories appropriately
> isolated from each other in their own logical partitions.  How can I do this
> without deleting files?
>
>
> --
> To UNSUBSCRIBE, email to debian-user-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>



Reply to: