From bf9b77b3b21c6e31a65fd7fa37e42b2b37d04d87 Mon Sep 17 00:00:00 2001 From: tactonbishop Date: Sun, 12 Jun 2022 17:00:04 +0100 Subject: [PATCH] Last Sync: 2022-06-12 17:00:04 --- Operating_Systems/Disks.md | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/Operating_Systems/Disks.md b/Operating_Systems/Disks.md index a730a8c..5326097 100644 --- a/Operating_Systems/Disks.md +++ b/Operating_Systems/Disks.md @@ -68,8 +68,29 @@ The two tools disclose that the main harddrive is `/dev/nvme0n1` (equivalent to ### Types of partition table -In general there are two types of partition table: MBR and GPT however each operating system has its own variations on these core types. +In general there are two types of partition table: MBR and GPT however each operating system has its own variations on these core types. The type of table used determines how the OS boots. So although partition tables also partition non-bootable sectors of a disk, they are distinguished by the boot system they enact. +
+
MBR
+
Master Boot Record +
    +
  • This is the first 512 bytes of a storage device, preceding the first partition.
  • +
  • MBR tables allow three types of partitions: primary, extended and logical. The primary partition contains the operating system and is thus bootable. During bootstrapping, this is what is injected into memory as the kernel. The extended partition is everything else. There is only one of these however it can be broken into multiple logical partitions.
  • +
  • Don't understand what logical partitions are and whether they correspond to sda1, sda2 etc. +
+ +
+ +
GPT
+ +
GUID Partition Table + +
    +
  • +
  • +
+
+
## ! To cover