Open main menu

CDOT Wiki β

Changes

OPS235 Lab 1 - CentOS7

150 bytes added, 11:08, 24 March 2015
no edit summary
#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>'''20GB''' for '''/''' (i.e. "root")</li><li>'''30GB''' for /home</li><li>'''100GB''' for '''/var/lib/libvirt/images''' </li></ul> </li><li>Swap Partition:<ul><li>'''8GB''' (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 GB = 20000 MB) and you should multiply GB by a factor of 1024 to get the correct size.<br> (eg. '''20 GB x 1024 = 20480 MB''')<br><br>
#We will now create the root (/) partition. Click on the add button (plus) sign.<br><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 '''20480''' in for partition size and click x'''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'''.#Check that your partition settings are correct (you can ask your instructor or lab monitor to confirm), and then
13,420
edits