From bd411935e3e371487a797f6a01f2bd1b340ae6b6 Mon Sep 17 00:00:00 2001 From: tactonbishop Date: Sun, 3 Jul 2022 15:30:03 +0100 Subject: [PATCH] Last Sync: 2022-07-03 15:30:03 --- Operating_Systems/Disks.md | 37 ++++++++++++++++++++++--------------- 1 file changed, 22 insertions(+), 15 deletions(-) diff --git a/Operating_Systems/Disks.md b/Operating_Systems/Disks.md index 498d47c..097459e 100644 --- a/Operating_Systems/Disks.md +++ b/Operating_Systems/Disks.md @@ -10,11 +10,8 @@ tags: A disk is a mass storage [device](./Devices.md) which we can write to and read from. ## SCSI -* Small Computer System Interface, responsible for handling disk access on most Linux systems. -* Pronounced _scuzzy_. +* Small Computer System Interface, responsible for handli;w * It is a protocol that allows communicaton between printers, scanners and other peripherals in addition to harddisks. -* The `/sda/` device that is the most common designation for the harddisk in Linux systems stands for *SCSI disk*. - ## Disk schematic The following diagram represents the basic anatomy of a disk device. @@ -90,25 +87,35 @@ In our example above: -
GPT
- -
GUID Partition Table - +
## BIOS and UEFI -## ! To cover -What is gpt/uefi/efi -ext-4 and dos etc +BIOS and UEFI are both firmware that is installed directly on the motherboard of the computer. They are firmware because they are software that is permanent and programmed into read-only memory. + +In the context of disks, their most crucial role is locating the operating system on the harddisk and loading it into memory so that the bootstrapping process can begin. However they are also responsible for the computer clock and the management of peripherals. + +As we can see from the `fdisk` readout, the boot partition uses EFI, the storage partition associated with UEFI. + +Whilst UEFI is installed on the hardware, most of its configuration is stored in the EFI partition on the disk, whereas with BIOS, everything is on the chip. This make booting faster with UEFI. + +Even though most modern computers use UEFI, it may still be referred to as BIOS for user-continuity. This is like on Windows. With Linux you have to explicitly create your boot process so the two are clearly distinguishable. +## File systems + +File systems are what the computer relies on to ascertain the location and positioning of files on the disk. In Linux it is customary to use FAT-32 for the boot partition and ext-4 for the extended partition. In other operating systems you would do the same but most likely use NFTS for the extended partition.