Enter your answers into this document in
, and then upload it to the instructor via Moodle.
Answer each question posed in these
projects and insert the answers in order into this document directly under
the project description. No need to enter the questions, only the answers. If asked to login to user1, use your
personal account instead. When asked for passwords, use the ones
you created on your system.
Do Project 5
In step 5, if you receive an SELinux error message just continue with step 6.
step 8, recall that the units output for du are blocks unless one uses
witch to command
terminal (tty2) by using
and login to root.
Enter this command
. Is the device file sr0 pres
or the Fedora DVD that came with your text
Go back to the GUI with
id the DVD
automount? _______ Enter the command
without arguments from the
command line. What is the device file shown for the DVD? _________________ What is the mount point
(give absolute pathname)? _________________________________________ What
is the type
_______________________? Now, enter
from the command line. Does the DVD
Now, try to mount it manually by entering
t iso9660 /dev/sr0 /media/dvd
sure you are logged into root at this point)
. What is
the message you get?
____________________________________________________________ Create the mount point
directory with the command
, then re
execute the above mount command. Is it
successful? _____ Now, try to eject the DVD with the ej
ect button on the drive. Does it eject? ____ Enter
then press the eject button. Does it now eject? _____ Is the mount point directory still
From the GUI terminal window, enter
e display and include it
What does the
h option do for us?
Do a Google search for /dev/shm. What is /dev/shm used for?
From the GUI terminal window give yourself root permission with the command
, then enter
the window and include it
immediately below. What does the
s option do for us?
How many partitions did we create on our hard drive when we installed Li
nux in Lab
Recall that these partitions had names. Fill in the missing partition names here: Boot
partition, ______________________, and ______________________
Let’s create another partition on our
. Recall that we left some free
space when we did the install in Lab 1.
We will use the procedure
described on pp.
218 as a guide, but follow the
to login to the terminal using the root account.
to launch the fdisk utility.
to view the fdisk commands.
to list the partition table on your hard disk.
to create a new partition .
for an extended partition.
for the partition number.
Enter the default cylinder
for your first cylinder number
For the l
ast cylinder, enter a number about half way between the first and last cylinder numbers
to list the partition table again. You should see your new extended partition.
to create a new logical partition in the extended partition.
for logical partition. (That is the letter l.)
Enter the default cylinder for the first cylinder.
For the last cylinder, enter a size that is less than the size of the extended partition you created
above and which was shown as a result of the p comman
d, for example, enter
enter a cylinder number somewhat less than the last cylinder number shown.
to list the partition table. You should now see your new logical partition.
to write the changes to the hard disk and att
empt to reload the new partition table into
Reboot your computer.
After the reboot, use mkfs to format the new
logical partition using the ext4
filesystem as follows:
Now, create a directory you will use as a mount point for t
he new partition as follows:
Make sure that /data has permissions for all users to access it:
Mount the partition to the newly created mount point with the command:
Go back to your GUI wit
then from a terminal window
isplay your mounted
filesystems with the command:
Do you see sda5
command. Do you
see sda5? _______
output and insert it immediately
y creating some files in the new partition by storing them in /data. Can you do that? __________
We won’t have the system automatically mount this new partition at boot time.
Refer to pp. 50
and pp. 208
in the text and to thes
and possibly other websites to answer the following questions (your answers may be brief).
Compare and contrast primary partitions, extended partitions,
and logical partitions.
Describe/compare PATA and SATA drives.
Do Discovery Exercise 2, pg. 253.
Upload this document
with your answers in
and the screen shots included