Open main menu

CDOT Wiki β

Changes

OPS235 Lab 1 - CentOS7

1 byte added, 15:19, 31 March 2015
no edit summary
#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.
#It is recommended to rescan the hard disks by clicking on the rescan button (loop symbol).
#Before you proceed with creating partitions, let's see the partitions that we need to create for our host computer:<ul><li>Primary Partitions (ext4):<ul><li>'''20GB30GB''' for '''/''' (i.e. "root")</li><li>'''30GB40GB''' for /home</li><li>'''100GB''' for '''/var/lib/libvirt/images''' </li></ul> </li><li>Swap Partition:<ul><li>'''8GB16GB''' (Note: "swap" must be selected from the drop down menu)</li></ul></li></ul><br>'''NOTE:''' Remember that the sizes are recorded in MB (eg. 20 30 GB = 20000 30000 MB) and you should multiply GB by a factor of 1024 to get the correct size.<br> (eg. '''20 30 GB x 1024 = 20480 30720 MB''')<br><br>
#We will now create the root (/) partition. Click on the add button (plus) sign.<br>
#In the '''Add a New Mount Point''' screen, enter '''/''' as the mount-point (either by typing or selecting from drop-down menu), and enter '''2048030720''' in for partition size and click '''Add Mount Point''' button.
#Repeat the same steps above for the '''/home''' partition and '''/var/lib/libvirt/images''' partition. You need to type the ''/var/lib/libvirt/images'' partition since it does not appear in the drop-down menu.
#Select each of the created partitions, and make certain that the file-system type is changed from '''xfs''' to '''ext4'''.
13,420
edits