Jump to: navigation, search

OPS235 Lab 1 - CentOS7 - HD2

No change in size, 20:29, 12 September 2016
no edit summary
# The manual partitioning screen should appear.
# If you have used your hard disk for previous Linux (Centos) distributions, you should remove them. Click on the distribution, and for each partition, select the partition and click the remove button (minus sign) and confirm deletion.
::Remember that the sizes are recorded in MB (eg. 40 30 GB = 40000 30000 MB) and you should multiply GB by a factor of 1024 to get the correct size. (eg. '''40 30 GB x 1024 = 40960 30720 MB''')<br><br>
<ol><li value="5">We will now create the root (/) partition. '''Click on the add button (plus) sign'''.<br></li>
<li>In the '''Add a New Mount Point''', click the drop-down button and select '''/boot/efi''' (or '''/boot''' if ''/boot/efi'' is not present) for the mount point and type '''2954''' as the desired capacity, and then click '''Add mount point'''.</li>
<li>When you return to the main screen, make certain that this mount point is a '''Standard Partition''' and <u>not</u> ''LVM''.</li>
<li>Add another mount point, but in the '''Add a New Mount Point''' screen, select '''/''' as the mount-point (either by typing or selecting from drop-down menu), and enter '''4096030720''' in for partition size and click '''Add Mount Point''' button.</li>
<li> You will return to the previous dialog box.<br><span style="background-color:yellow">For the '''/''' partition, change the file-system type from '''xfs''' to '''ext4''' and make certain that the Device Type is set to LVM</span>.</li>
<li>Repeat the same steps above for the '''/home''' partition (calculate the equivalent size for '''30GB40GB''' ('''ext4''' file-system type and LVM as device type).</li>
<li>Add a mount point '''/var/lib/libvirt/image'''s (type yourself, check spelling!) for size '''100GB''' (file-system type ext 4 and device type '''LVM''').</li><li>Recheck each of the created partitions, and make certain that the file-system type is set to '''ext4''' and the Device Type should be '''LVM'''.</li>
<li>Finally, add a swap partition (Mount Point: swap) for '''16 GB'''.</li>

Navigation menu