diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-18 17:55:50 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2018-06-19 12:36:21 +0200 |
commit | eba6b1508df500051810f3f4bedaf97263b94555 (patch) | |
tree | fc764a95e6f2839107609d4e932c11d3d89825f3 /doc | |
parent | BLS: remove trailing whitespace (diff) | |
download | systemd-eba6b1508df500051810f3f4bedaf97263b94555.tar.xz systemd-eba6b1508df500051810f3f4bedaf97263b94555.zip |
BLS: allow /boot, /efi, and mention /boot/efi
Diffstat (limited to 'doc')
-rw-r--r-- | doc/BOOT_LOADER_SPECIFICATION.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/BOOT_LOADER_SPECIFICATION.md b/doc/BOOT_LOADER_SPECIFICATION.md index fc143c74ed..7f1c129075 100644 --- a/doc/BOOT_LOADER_SPECIFICATION.md +++ b/doc/BOOT_LOADER_SPECIFICATION.md @@ -37,7 +37,7 @@ We define two directories: * `$BOOT/loader/` is the directory containing all files defined by this specification * `$BOOT/loader/entries/` is the directory containing the drop-in snippets. This directory contains one `.conf` file for each boot menu item. -These directories are defined below the placeholder file system `$BOOT`. This placeholder file system shall be determined during _installation time_, and an fstab entry for it shall be created mounting it to /boot. The installer program should pick `$BOOT` according to the following rules: +These directories are defined below the placeholder file system `$BOOT`. The installer program should pick `$BOOT` according to the following rules: * If the OS is installed on a disk with MBR disk label, and a partition with the MBR type id of 0xEA already exists it should be used as $BOOT. * Otherwise, if the the OS is installed on a disk with MBR disk label, a new partition with MBR type id of 0xEA shall be created, of a suitable size (let's say 500MB), and it should be used as $BOOT. @@ -46,6 +46,8 @@ These directories are defined below the placeholder file system `$BOOT`. This pl * Otherwise, if the OS is installed on a disk with GPT disk label, and if the ESP partition already exists but is too small, a new suitably sized (let's say 500MB) partition with GPT type GUID of bc13c2ff-59e6-4262-a352-b275fd6f7172 shall be created and it should be used as $BOOT. * Otherwise, if the OS is installed on a disk with GPT disk label, and no ESP partition exists yet, a new suitably sized (let's say 500MB) ESP should be created and should be used as $BOOT. +This placeholder file system shall be determined during _installation time_, and an fstab entry maybe be created. It should be mounted to either /boot or /efi. Additional locations like /boot/efi, with /boot being a separate filesystem, might be supported by implementations. This is not recommded because the mounting of $BOOT is then dependent on and requires the mounting of the intermediate file system. + **Note:** _In all cases the /loader directory should be located directly in the root of the file system. Specifically, if $BOOT is the ESP, then /loader directory should be located directly in the root directory of the ESP, and not in the EFI/ subdirectory._ **Note:** _`$BOOT` should be considered **shared** among all OS installations of a system. Instead of maintaining one `$BOOT` per installed OS (as `/boot` was traditionally handled), all installed OS share the same place to drop in their boot-time configuration._ |