From 3efcc5356e035fee139fa58c8bec3dc74dd885bf Mon Sep 17 00:00:00 2001 From: tactonbishop Date: Sat, 30 Jul 2022 16:00:04 +0100 Subject: [PATCH] Last Sync: 2022-07-30 16:00:04 --- .../{Von_Neumann_architecture.md => CPU_architecture.md} | 2 +- Operating_Systems/Boot_process.md | 2 ++ Operating_Systems/Disks/Swap_space.md | 6 +++++- Operating_Systems/The_Kernel.md | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) rename Hardware/CPU/{Von_Neumann_architecture.md => CPU_architecture.md} (99%) diff --git a/Hardware/CPU/Von_Neumann_architecture.md b/Hardware/CPU/CPU_architecture.md similarity index 99% rename from Hardware/CPU/Von_Neumann_architecture.md rename to Hardware/CPU/CPU_architecture.md index f6c2454..cfa2f57 100644 --- a/Hardware/CPU/Von_Neumann_architecture.md +++ b/Hardware/CPU/CPU_architecture.md @@ -5,7 +5,7 @@ tags: - von-neumann --- -# Von Neumann CPU architecture +# CPU architecture At the core of a computer sits the Central Processing Unit. This is what manages and executes all computation. diff --git a/Operating_Systems/Boot_process.md b/Operating_Systems/Boot_process.md index d54c926..03faad9 100644 --- a/Operating_Systems/Boot_process.md +++ b/Operating_Systems/Boot_process.md @@ -46,6 +46,8 @@ Even though most modern computers use UEFI, it may still be referred to as BIOS The de facto standard boot loader for Linux is GRUB: Grand Unified Boot Loader. +![](/img/grub.jpg) + You see the GRUB default menu when you first start a Linux machine. It will offer you various options for loading your installed OS or other OSs. GRUB is a filesystem like the main disk. If you press `e` in this screen you can view and edit specific boot parameters. Pressing `c` gives you access to the GRUB command line interface. This allows you to interact with GRUB in the same way as you would with any other filesystem, allowing for advanced configuration. ## The boot sequence diff --git a/Operating_Systems/Disks/Swap_space.md b/Operating_Systems/Disks/Swap_space.md index 84eec8e..689934a 100644 --- a/Operating_Systems/Disks/Swap_space.md +++ b/Operating_Systems/Disks/Swap_space.md @@ -31,4 +31,8 @@ You will want the swap to be activated every time the OS boots so add the follow ```bash /dev/sda3e none swap sw 0 0 -``` \ No newline at end of file +``` + +## Create a swap file + +// TODO: Add info \ No newline at end of file diff --git a/Operating_Systems/The_Kernel.md b/Operating_Systems/The_Kernel.md index 8774379..3084f2e 100644 --- a/Operating_Systems/The_Kernel.md +++ b/Operating_Systems/The_Kernel.md @@ -17,7 +17,7 @@ The kernel acts as the primary mediator between the hardware (CPU, memory) and u > A process is just another name for a running program. Process management is the starting, pausing, resuming, scheduling and terminating of processes. -On modern computers it appears that multiple processes can run simultaneously at once. This is only because the processor is so fast that we do not detect changes. In fact access to the CPU is always sequential. The sequence* in which multiple programs are allowed to access the CPU is managed by the kernel. +On modern computers it appears that multiple processes can run simultaneously at once. This is only because the processor is so fast that we do not detect changes. In fact access to the CPU is always sequential. The sequence in which multiple programs are allowed to access the CPU is managed by the kernel. > Consider a system with a one-core CPU. Many processes may be _able_ to use the CPU, but only one process can actually use the CPU at any given time...Each process uses the CPU for a fraction of a second, then pauses, then another process uses it for a fraction of a second and so on... (_How Linux Works: Third Edition_, Brian Ward 2021)