From 6ff8634fdbdb277cd693d55d58121dfbb3e8f5d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20=C4=8Cerm=C3=A1k?= Date: Mon, 8 Jul 2024 12:55:13 +0200 Subject: [PATCH] Refer to GRUB instead of Barebox in HAOS docs (#2241) Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- docs/operating-system.md | 2 +- docs/operating-system/board-metadata.md | 4 ++-- docs/operating-system/partition.md | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/operating-system.md b/docs/operating-system.md index 31b28f13..8b968d5f 100644 --- a/docs/operating-system.md +++ b/docs/operating-system.md @@ -10,7 +10,7 @@ Home Assistant Operating System (HAOS) is using the [Buildroot](https://buildroo ### Components - **Bootloader:** - - [Barebox](https://barebox.org/) for devices that support EFI + - [GRUB](https://www.gnu.org/software/grub/) for devices that support UEFI - [U-Boot](https://www.denx.de/wiki/U-Boot) for devices that don't support EFI - **Operating System:** - [Buildroot](https://buildroot.org/) build system to generate Linux distributions diff --git a/docs/operating-system/board-metadata.md b/docs/operating-system/board-metadata.md index be07f90d..f6e34bab 100644 --- a/docs/operating-system/board-metadata.md +++ b/docs/operating-system/board-metadata.md @@ -40,10 +40,10 @@ Enable SPL (secondary program loader) handling. Some U-Boot targets generate a s `BOOTLOADER`: +- grub - uboot -- barebox -HAOS uses mainly [U-Boot](https://www.denx.de/wiki/U-Boot). For UEFI systems [barebox](https://barebox.org/) is used. +HAOS uses mainly [U-Boot](https://www.denx.de/wiki/U-Boot). For UEFI systems [GRUB](https://www.gnu.org/software/grub/) is used. `DISK_SIZE`: diff --git a/docs/operating-system/partition.md b/docs/operating-system/partition.md index a63d40f6..5e5dcaf2 100644 --- a/docs/operating-system/partition.md +++ b/docs/operating-system/partition.md @@ -40,7 +40,7 @@ HAOS prefers GPT (GUID Partition Table) whenever possible. Boot ROMs of some SoC ### System partitions -The boot partition is typically a FAT partition and contains system specific content to enable booting. On x86-64 systems this is the EFI system partition containing Barebox. +The boot partition is typically a FAT partition and contains system-specific content to enable booting. On UEFI systems this is the EFI system partition containing GRUB binaries, configuration and its environment file. Next two versions of the Linux kernel and the main operating systems are stored (Kernel A/B and System A/B, a total of 4 partitions). This allows the system to fall back to the previous release in case booting on the new release fails (A/B update method). The system partitions are only written to during an update and are read-only under regular operation.