9
edits
Changes
no edit summary
Answer the Investigation 6 question.
===Investigation 7 - How can restore/duplicate an image of a filesystem?===
# <code>/dev/sda5</code> was a partition created exactly the same size as <code>/dev/sda1</code>. We should be able to restore the <code>/dev/sda1</code> image file to it without any loss of data.
# Remember that <code>/dev/sda5</code> was unformatted. Restore the image file by using the <code>dd</code> command:
#* <code>dd if=sda1.img of=/dev/sda5</code>
# Now attempt to mount <code>/dev/sda5</code> onto the mount point <code>/media/harddisk</code>
# Were you successful?
# Does the partition contain a filesystem?
# List the contents of <code>/media/harddisk</code> are all 3 files there?
Answer the Investigation 7 question in your lab logbook.
=== Completing the Lab ===