9
edits
Changes
no edit summary
Answer the Investigation 7 question in your lab logbook.
===Investigation 8 - Accessing a compressed file system image===
# Download [https://cs.senecac.on.ca/%7Efac/ops235/lab1-image.bin | lab1-image.bin] and copy that file to your mounted hard disk partition.
# To determine the file type of the file <code>lab1-image.bin</code>, enter the command:
#* <code>file lab1-image.bin</code>
# Record the output. What was the original name of the uncompressed file?
# The <code>file</code> command in the previous step should also report that <code>lab1-image.bin</code> is a gzip compressed data file.
# Use the <code>gunzip</code> command to uncompress the file.
# You will probably receive an error message when you run the <code>gunzip</code> command. You may need to rename the file before you can uncompress it successfully. See the man pages for additional information if required.
# After you have uncompressed the file rename it to the original name reported in step 3.
# To determine the file type of the file <code>lab1-image.img</code>, enter the command:
#* <code>file lab1-image.img</code>
# Record the output. What type of data does the file contain?
# Mount the file system image. The command should be similar to what you used in investigation 6.
# Copy the contents of the file system image to your desktop.
# To display the specific information about the ext3 file system contained in the file <code>lab1-image.img</code>, enter the command:
#* <code>dumpe2fs lab1-image.img</code>
# From the output, find out the volume name and the block count of the ext3 file system.
Conclusion: Not only can we put a Linux file system on a removeable storage device, or a hard disk partition, we can also create a Linux file system on a regular disk file.
Answer the Investigation 8 question in your lab logbook.
=== Completing the Lab ===