Warning, /system/partitionmanager/doc/installoshowto.docbook is written in an unsupported language. File is not indexed.
0001 <sect1 id="howto-installos"> 0002 <title>How-To: Installing a New Operating System</title> 0003 0004 <para> 0005 This how-to describes the preparation of a new hard disk device for an OS installation: Suppose you bought a new hard disk and now intend to use it as a replacement for the old one that currently holds your OS and data partitions. You would also like to take this opportunity to install a new operating system. Several steps will have to be taken to make the transition from the old to the new system and drive. 0006 </para> 0007 0008 <para> 0009 In the following, <quote>/dev/sdb</quote> is the old hard disk and <quote>/dev/sdc</quote> is the new one. This screenshot shows the situation on the source device: 0010 </para> 0011 0012 <para> 0013 <screenshot> 0014 <mediaobject> 0015 <imageobject><imagedata fileref="installos_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 new device will look like this. Note that it doesn't yet have valid partition table, thus the first step to take is to create one by selecting <xref linkend="menu-device-createpartitiontable"/>: 0023 </para> 0024 0025 <para> 0026 <screenshot> 0027 <mediaobject> 0028 <imageobject><imagedata fileref="installos_howto_2.png" format="PNG"/></imageobject> 0029 <textobject><phrase>Main window with destination device</phrase></textobject> 0030 </mediaobject> 0031 </screenshot> 0032 </para> 0033 0034 <para> 0035 After confirming the warning dialog you can begin creating partitions on the new device by clicking the extended partition and selecting <xref linkend="menu-partition-new"/>. Begin with an extended partition at the end of the device to later hold the home and swap partitions: 0036 </para> 0037 0038 <para> 0039 <screenshot> 0040 <mediaobject> 0041 <imageobject><imagedata fileref="installos_howto_3.png" format="PNG"/></imageobject> 0042 <textobject><phrase>Creating an extended partition</phrase></textobject> 0043 </mediaobject> 0044 </screenshot> 0045 </para> 0046 0047 <para> 0048 Click <guibutton>OK</guibutton> and the operation to create this extended partition is added to the list. 0049 </para> 0050 0051 <para> 0052 Now create a primary partition on the rest of the device where the new OS will be installed. Make it as large as the unallocated area in front of the extended partition: 0053 </para> 0054 0055 <para> 0056 <screenshot> 0057 <mediaobject> 0058 <imageobject><imagedata fileref="installos_howto_4.png" format="PNG"/></imageobject> 0059 <textobject><phrase>Creating a primary partition</phrase></textobject> 0060 </mediaobject> 0061 </screenshot> 0062 </para> 0063 0064 <para> 0065 Click <guibutton>OK</guibutton> in the dialog to accept your choice. The operation to create the new primary partition is then added to the operation list. 0066 </para> 0067 0068 <para> 0069 Now it is time to copy the home partition from the old device to the extended partition on the new device. Select the old device in the Device List panel, click on partition <quote>sdb5</quote> and pick <xref linkend="menu-partition-copy"/>. 0070 </para> 0071 0072 <para> 0073 Then go back to the new device and click the extended partition. Select <xref linkend="menu-partition-paste"/>. The following dialog will come up: 0074 </para> 0075 0076 <para> 0077 <screenshot> 0078 <mediaobject> 0079 <imageobject><imagedata fileref="installos_howto_5.png" format="PNG"/></imageobject> 0080 <textobject><phrase>Pasting the home partition</phrase></textobject> 0081 </mediaobject> 0082 </screenshot> 0083 </para> 0084 0085 <para> 0086 This already looks mostly okay but you already know that you will not need that much free space after the home partition because you will later create a swap partition there. 0087 </para> 0088 0089 <para> 0090 So grab the right resize handle in the dialog's resizer widget and move it to the right until the free space after the pasted partition has a size more suitable for a swap partition: 0091 </para> 0092 0093 <para> 0094 <screenshot> 0095 <mediaobject> 0096 <imageobject><imagedata fileref="installos_howto_6.png" format="PNG"/></imageobject> 0097 <textobject><phrase>Resizing a pasted partition</phrase></textobject> 0098 </mediaobject> 0099 </screenshot> 0100 </para> 0101 0102 <para> 0103 This looks fine. Click <guibutton>OK</guibutton> to accept and close the dialog. A new operation to paste the copied partition to the extended partition on <quote>sdc</quote> is added to the operation list. Note that this operation will also set the new size. 0104 </para> 0105 0106 <para> 0107 Finally you will want to create a new swap partition at the end of the extended partition on <quote>sdc</quote>. There is no need to copy the existing swap partition from <quote>sdb</quote> because swap does not hold any permanent information worth keeping. Simply create a new partition with type linuxswap that fills the whole of the unallocated area after the new home partition. 0108 </para> 0109 0110 <para> 0111 The main window with all operations and the preview of how <quote>sdc</quote> will look like once they are applied now looks like this: 0112 </para> 0113 0114 <para> 0115 <screenshot> 0116 <mediaobject> 0117 <imageobject><imagedata fileref="installos_howto_7.png" format="PNG"/></imageobject> 0118 <textobject><phrase>Main window after setting up all operations</phrase></textobject> 0119 </mediaobject> 0120 </screenshot> 0121 </para> 0122 0123 <para> 0124 This looks great so select <xref linkend="menu-edit-apply"/>, confirm the warning dialog and wait until the operations have all been executed. For details on executing operations see <link linkend="howto-resizepartition">the how-to on resizing partitions</link>. 0125 </para> 0126 0127 <para> 0128 Your new hard disk device is now ready for the installation of your new operating system. 0129 </para> 0130 0131 </sect1>