Preparing for Lab 1
Thinking Ahead
Bring Required Materials to Class
- Come prepared for labs:
- Removable SATA Drive ( min 250 GB )
- USB Stick ( min 8 GB )
- CENTOS 7 Full INSTALL DVD
- Lab 1 Logbook (Instructor can't sign-off lab without seeing lab-book notes)
- Access to Lab Instructions: printout, notebook, netbook, smartphone
Notes / Warnings
- Failure to properly following lab instructions may result in re-doing lab again!
- Hard Disk partitions are simply smaller logical storage units (containers) within a hard disk
- Advantages of Hard Disk Partitions:
- Separation of operating system files from data (easier recovery)
- Allows for booting multiple operating systems
- Separation of Data for efficient access and sharing
- Make certain to create the correct partitions:
- Before you proceed with creating partitions, let's see the partitions that we need to create for our host computer:
- Primary Partitions (ext4):
- 30GB for / (i.e. "root")
- 40GB for /home
- 100GB for /var/lib/libvirt/images
- Swap Partition:
- 16GB (Note: "swap" must be selected from the drop down menu)
NOTE: Remember that the sizes are recorded in MB (eg. 30 GB = 30000 MB) and you should multiply GB by a factor of 1024 to get the correct size.
(eg. 30 GB x 1024 = 30720 MB) - Primary Partitions (ext4):
- We will now create the root (/) partition. Click on the add button (plus) sign.
- In the Add a New Mount Point screen, select / as the mount-point (either by typing or selecting from drop-down menu), and enter 30720 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.
- Finally, add a swap partition (Mount Point: swap) for 16 GB.