Lab 12

In this assignment you will:

These parts must be completed in order. All parts are dependent on the part before them.

Part I

You will use your headless ubuntu instance to complete the following. To make sure that you will be able to complete it, you should first verify that you have some free space on your disk by using cfdisk.

Create the following partitions (at the following mount points):

To do this - complete the following steps:

After your computer has restarted

After you have formatted the partitions

Now that you have the partitions created and formatted and the mount points created

Check your work with the mount command.

Part II

After your mount command is working correctly in Part II, add the appropriate entries to the end of the /etc/fstab file so that each of those partitions created in part II are automatically mounted at boot.

Something like this, but not copy-paste: /dev/sda7 /mnt/stuff ext4 defaults 0 0

You can just use the defaults arguments on the fstab line. Note that if you mess up your fstab line and you reboot, your system could become unusable and you will have to re-install (or rescue).

Test your work without rebooting by unmounting all three new partitions (umount /dev/sda5). Test that they successfully unmounted by running the mount command again. Then run mount -a to reload the /etc/fstab file.

Check your work with the mount command again. If your mounts are correctly reloaded, then you correctly edited the /etc/fstab file and it is safe to restart your machine.

Pass Off

Run the grade_lab12 command from scratch. Pass in the ip address of your machine. Something like: grade_lab12 144.38.xx.yy. Take a screenshot of the results and upload to scratch.

Last Updated 03/31/2020