TuanNV - LAB4 - Disk Image and Partitions
TuanNV - LAB4 - Disk Image and Partitions
Step 2.
Make sure you are in the lab folder
Generate an MD5 and SHA1 hash of the disk image. These tools will compare the MD5
and/or SHA1 hash of the disk image to the MD5 and/or SHA1 hash in the
‘hash_reference.txt’ file.
Commands
• md5deep <disk image> -bewM <file that contains file names and hash codes>
• sha1deep <disk image> -bewM <file that contains file names and hash codes>
• Note: You would replace <disk image> with the file path to the disk image. The same
applies to anything else contained in between ‘< >’.
- Use MD5deep to verify the MD5 hash of the disk image.
- Use SHA1deep to verify the MD5 hash of the disk image.
2. Identify the OS of the system as well as its name, accounts, and partitions.
- How to get help for fdisk.
\
- Use fdisk to get the disk image’s partition table.
Volume offset #s (in sectors):
• Partition 1 – 2048
• Partition 2 – 104448
• Partition 3 – 61890560
- How to get help for fsstat
- Use fsstat to get file system details.
Partition 1
File System: NTFS
Serial Number: 18EC42BBEC4292C4
Partition 2
File System: :NTFS
Serial Number: E8DE4350DE4315EA
Partition 3
File System: NTFS
Serial Number: 9E46F86046F83A9B
- Using fdisk and fsstat, we obtained this information: