feat: add leagacy boot support

This commit is contained in:
Peter Šurda 2021-02-27 09:54:31 +01:00
parent ecdd85e5fe
commit 59fae65452
Signed by: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
3 changed files with 3 additions and 2 deletions

View File

@ -8,6 +8,7 @@ function setup_drive
unit MiB \ unit MiB \
mkpart '"EFI system partition"' fat32 1 1024 \ mkpart '"EFI system partition"' fat32 1 1024 \
set 1 esp on \ set 1 esp on \
set 1 legacy_boot on \
mkpart '"root unused"' ext4 1025 2048 \ mkpart '"root unused"' ext4 1025 2048 \
mkpart '"root unused"' ext4 2049 3072 \ mkpart '"root unused"' ext4 2049 3072 \
mkpart '"root unused"' ext4 3073 4096 \ mkpart '"root unused"' ext4 3073 4096 \

View File

@ -1,6 +1,6 @@
BYT; BYT;
T_E_M_P:17.2GB:file:512:512:gpt::; T_E_M_P:17.2GB:file:512:512:gpt::;
1:1049kB:1074MB:1073MB::EFI system partition:boot, esp; 1:1049kB:1074MB:1073MB::EFI system partition:boot, legacy_boot, esp;
2:1075MB:2147MB:1073MB::root unused:; 2:1075MB:2147MB:1073MB::root unused:;
3:2149MB:3221MB:1073MB::root unused:; 3:2149MB:3221MB:1073MB::root unused:;
4:3222MB:4295MB:1073MB::root unused:; 4:3222MB:4295MB:1073MB::root unused:;

View File

@ -1,6 +1,6 @@
BYT; BYT;
T_E_M_P:17.2GB:file:512:512:gpt::; T_E_M_P:17.2GB:file:512:512:gpt::;
1:1049kB:1074MB:1073MB::EFI system partition:boot, esp; 1:1049kB:1074MB:1073MB::EFI system partition:boot, legacy_boot, esp;
2:1075MB:2147MB:1073MB::root renamed:; 2:1075MB:2147MB:1073MB::root renamed:;
3:2149MB:3221MB:1073MB::root unused:; 3:2149MB:3221MB:1073MB::root unused:;
4:3222MB:4295MB:1073MB::root unused:; 4:3222MB:4295MB:1073MB::root unused:;