Exam 2 Flashcards
MBR
Master Boot Record Method of organizing hard drive. Located in sector 0. Disk Signature at offset 440. Beginning at offset 446 there is a partition table with 4 16-byte entries. MBR signature at offset 510. Ends in 55 AA. Only allows for ~2TB.
GPT
GUID Partition Table.
Began with Windows 2003.
Up to 128 partitions.
GUID
Global Unique Identifier.
16-byte (128-bit) number.
{4 LE - 2 LE - 2 LE - 2 BE - 6 BE}.
Usually unique.
Protective MBR
Legacy MBR. Physical sector 0. Partition type EE. Non-bootable. First 446-bytes are bootstrap/boot code. Partition table at offset 446 with a single record entry. 4-byte serial number at offset 440. No back-up.
Protective MBR: Purpose
Prevents drive from being overwritten when connected to older operating systems.
GPT Header
Physical sector 1.
92-bytes.
Contains GUID.
Indicates number of usable sectors on drive.
GPT Partition Tables
Physical sectors 2-33.
No CHS values, only LBA.
Each entry is 128-bits, and there can be 128 entries.
No extended partitions.
MSR
Microsoft Reserved Partition.
Automatically created as 128 MB for drives > 16 GB.
32 MB for drives < 16 GB.
GPT Back-up
Header indicates sector containing back-up copy.
Always last addressable sector of drive.
Partition table backed up 33 sectors from end of drive.
To back-up, sector references just need to be reversed.
GPT Structure
Sector 0: Protective MBR. Sector 1: GPT Header. Sector 2-33: Partition Table. Back-up located 33 sectors from end of drive. Back-up stacked reverse from original.
Physical Structures
MBR.
GPT.
Sectors.
File System
File organizational method.
Controls how files are named and stored.
May also be responsible for managing file ownership, encryption, and security.
Cluster
Smallest logical unit that can be written or read by the operating system.
Made up of one or more contiguous sectors.
Size varies based on size of the volume.
If not one, even number of clusters.
One file per cluster.
FAT
Oldest Windows file system.
No longer used on hard drives.
Still used on flash drives.
VBR
Volume Boot Record. Logical structure. First sector of a partition. At least one sector in length. Contains reference info: # of sectors per cluster. Total # of sectors in partition.
FAT 12 and FAT 16
FAT 12 can manage 2^12 clusters.
FAT 16 can manage 2^16 clusters.
VBR is single sector, no back-up.
2 copies of FAT.
FAT 32
Can manage 2^28 clusters. VBR has 6 sectors. Back-up VBR immediately after first copy. First sector similar to FAT12/16. First 36 bytes identical to FAT 12/16. 2 copies of FAT.
FAT 32 VBR Structure
6 sectors.
First sector identical to FAT 12/16 VBR.
Second sector is FS INFO (File System Information).
Third sector only has a signature at offset 510 (55AA).
Sectors 4-6 are blank with no signature.
Back-up VBR follows directly behind original.
Uses of VBR
If partitions are deleted, they can be rebuilt from VBR.
Can be done in both MBR and GPT partitioning schemes.
Formatting
Process of setting the System Area and Data Area of a partition by writing a VBR and zeroing out the File Allocation Table and the Root Directory.
System Area
Area of the partition containing file system information.
Data Area
Are of the partition where the content of files and folders are written.
FAT 12/16 Structure
System Area: VBR/FAT/Root Directory.
Data Area.
FAT 32 Structure
System Area: VBR/FAT.
Data Area: Root Directory.
FAT Root Directory
32-bytes of information.
Contains file names, location, file size, and dates.
Standard entry up to 8 characters plus 3 for extension.