Parted has support for these operations:
Parted doesn't directly support for copying ext2 file systems (yet). There are a few ways of achieving this, however:
# mount -t ext2 /dev/hda2 /mnt/dst # find /mnt/src -depth | cpio -pm /mnt/dst
# dd if=/dev/src-device of=/dev/dst-device bs=1024 count=old_size # parted /dev/hda resize 2 start endwhere old_size is the size of the original partition in kilobytes. start and end are the new start and end for the duplicate partition.
Parted can not grow the cluster size of FAT file systems (yet). This places restrictions on resizing and copying partitions. This is often quite bizarre, because Parted can convert file systems between FAT16 and FAT32, which have different restrictions on what the cluster size can be.
For example, lets say have a 100Mb partition with a cluster size 4k. This partition can't be resized to 400Mb, because the cluster size would need to be changed to 16k. However, it can be resized to 600Mb if you use FAT32. The reverse is true for 600Mb FAT32 file systems.
Note: when you copy or resize a file system, Parted will ask you if you want to convert between FAT16 and FAT32 (if it is possible). Therefore, if you just want to convert a partition to FAT32 (without resizing), you can just resize the partition to the same size.
MS DriveSpace is a program that comes with MS Windows 95 that can be used to compress FAT file systems. I believe this works the same way as DoubleSpace, so everything said here applies should apply to DoubleSpace as well.
It is possible to use Parted to resize and copy these partitions, but you have to do a few extra things...
To increase the size of a DriveSpace partition, do the following
To decrease the size of a DriveSpace partition, do the following:
If you want to copy a DriveSpace partition to a partition that is bigger, then you can follow the instructions for growing a DriveSpace partition, except you copy rather than resize the desired partition, and make sure you use the new partition in DriveSpace.
However, if you want to copy a DriveSpace partition to a partition that is smaller, things get a bit more complicated:
Parted supports reiserfs if libreiserfs is installed. Parted detects this at runtime, and automatically enables support. You can download libreiserfs from:
Note that libreiserfs is new software, and hasn't been tested widely yet.
Go to the first, previous, next, last section, table of contents.