Changes

Jump to: navigation, search

OPS235 Lab 1 - Fedora17

982 bytes added, 16:24, 8 January 2010
no edit summary
Answer the Investigation 5 question in your lab log book.
 
===Investigation 6 - How can you save an image of a filesytem?===
 
# Your <code>/dev/sda1</code> partition is formatted with an ext3 filesystem and contains 2 files. You can now create an "image" of that device and duplicate it.
# First create an image of the device using the following command:
#*<code>dd if=/dev/sda1 of=sda1.img</code>
# The image file you created is a byte by byte duplicate of the original device and all of its contents. You can even mount it as a if it was a real partition.
# Make a mount point called <code>/media/sda1-image</code> and mount the image file using the following command:
#* <code>mount -o loop -t ext3 sda1.img /media/sda1-image</code>
#* (The <code>-o loop</code> option is used to mount regular files as if they were real block storage devices.)
# List the contents of the mount point. Are your files there?
# Copy the file <code>/var/log/boot.log</code> to the mount point.
# Unmount the image.
 
Answer the Investigation 6 question.
=== Completing the Lab ===
9
edits

Navigation menu