Copying and Pasting a Partition

To copy a partition:

  1. Select an unmounted partition. See the section called “Selecting a Partition”.

  2. Choose: PartitionCopy. The application marks the partition as the source partition.

To Paste a partition:

  1. Select an unallocated space on a disk device. See the section called “Selecting Unallocated Space”.

  2. Choose: PartitionPaste. The application displays the Paste /path-to-partition dialog.

  3. If you want you can adjust the size and location of the partition. See the section called “Specifying Partition Size and Location”.

  4. If you want you can specify the alignment of partition. See the section called “Specifying Partition Alignment”.

  5. Click Paste. The application displays the copy partition operation in the Pending Operations pane.

Caution

The copy of the partition has the same file system label and Universally Unique Identifier (UUID) as the source partition. This can cause a problem when booting, or when mount actions use the file system label or UUID to identify the partition.

The problem is that the operating system will randomly select to mount either the source, or the copy of the partition. For example, on the first mount action the source partition might be mounted. On the next mount action the copy of the partition might be mounted. Over time this random nature of partition mounting might make files seem to mysteriously appear or disappear depending upon which partition is mounted. Random mounting of the source or the copy of the partition might also cause severe data corruption or loss.

To avoid the problem you are advised to do one of the following:

  • After you have queued or applied the copy operation:

    1. Change the UUID of either the source, or the copy of the partition. See the section called “Changing a Partition UUID”.

    2. If the file system label is not blank then change the file system label of either the source, or the copy of the partition. See the section called “Setting a Partition File System Label”.

  • After you have applied the copy operation, delete or reformat the source partition.

  • Use some other method to ensure that the source partition and the copy of the partition are not used on the same computer at the same time. For example, if the copy of the partition is on a separate drive then remove the drive from the computer.

Tip

The file system within a LUKS encrypted partition can only be copied when the encryption mapping is open.

Note

To prevent unintended decryption of data, pasting into unallocated space creating a new partition is not permitted. However a LUKS encrypted partition can be pasted into an existing open LUKS encrypted partition maintaining an encrypted, or pasted into a plain partition making an unencrypted copy of the file system.