Warning, /system/partitionmanager/doc/copyhowto.docbook is written in an unsupported language. File is not indexed.
0001 <sect1 id="howto-copypartition"> 0002 <title>How-To: Copying a Partition</title> 0003 0004 <para> 0005 This how-to describes copying a partition. We will assume the intention is to copy a partition from one device to another and overwriting an existing target partition, but the general procedure would not be much different when copying to the same device or to some unallocated area. 0006 </para> 0007 0008 <para> 0009 The following screenshot shows how the source device looks like: 0010 </para> 0011 0012 <para> 0013 <screenshot> 0014 <mediaobject> 0015 <imageobject><imagedata fileref="copy_howto_1.png" format="PNG"/></imageobject> 0016 <textobject><phrase>Main window with source device</phrase></textobject> 0017 </mediaobject> 0018 </screenshot> 0019 </para> 0020 0021 <para> 0022 The source partition in our example will be <quote>sdb1</quote> which is currently mounted, indicated by the lock-icon next to the mount point name in the screen shot. A mounted partition can not be copied, thus you first need to unmount it: Click on it then select <xref linkend="menu-partition-mount"/>. 0023 </para> 0024 0025 <para> 0026 After unmounting the partition the lock icon has gone and it is now possible to select <xref linkend="menu-partition-copy"/>. This puts <quote>sdb1</quote> in &partman;'s clipboard; in other words: <quote>sdb1</quote> is now the partition that will be inserted when you select <xref linkend="menu-partition-paste"/>. 0027 </para> 0028 0029 <para> 0030 The destination device for copying in this how-to is <quote>/dev/sdc</quote>. Click on it in the Devices panel. This is how the device looks like before copying: 0031 </para> 0032 0033 <para> 0034 <screenshot> 0035 <mediaobject> 0036 <imageobject><imagedata fileref="copy_howto_2.png" format="PNG"/></imageobject> 0037 <textobject><phrase>Main window with destination device before copying</phrase></textobject> 0038 </mediaobject> 0039 </screenshot> 0040 </para> 0041 0042 <para> 0043 The partition to overwrite is <quote>sdc5</quote>. To paste the copied partition into it, click on it and select <xref linkend="menu-partition-paste"/>. You will see the operation to copy the partition has been added to the list of pending operations. Note that there is no dialog box required to insert the partition as would be the case if you pasted into an unallocated area: Beginning and end of the pasted partition are determined by the overwritten partition. 0044 </para> 0045 0046 <para> 0047 Now select <xref linkend="menu-edit-apply"/> and the partition will be copied. See the <link linkend="howto-resizepartition">how-to on resizing partitions</link> for details about applying operations. 0048 </para> 0049 </sect1> 0050