add systemd-boot as potential bootloader
This commit is contained in:
parent
836aa4a306
commit
483fad16f4
10
ingredients/core-bootloader-grub.cfg
Normal file
10
ingredients/core-bootloader-grub.cfg
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# __ ____ ____ _____
|
||||||
|
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||||
|
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||||
|
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||||
|
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||||
|
# /_/ /____/
|
||||||
|
|
||||||
|
# What ? This kickstart ingredient provides GNU GRUB
|
||||||
|
|
||||||
|
bootloader --timeout=1 # Set the GNU GRUB bootloader timeout to 1
|
10
ingredients/core-bootloader-systemd-boot.cfg
Normal file
10
ingredients/core-bootloader-systemd-boot.cfg
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
# __ ____ ____ _____
|
||||||
|
# ____ / /_ __ __/ / /___ ____ ___ ___ / __ \/ ___/
|
||||||
|
# / __ \/ __ \/ / / / / / __ \/ __ `__ \/ _ \ / / / /\__ \
|
||||||
|
# / /_/ / / / / /_/ / / / /_/ / / / / / / __/ / /_/ /___/ /
|
||||||
|
# / .___/_/ /_/\__, /_/_/\____/_/ /_/ /_/\___/ \____//____/
|
||||||
|
# /_/ /____/
|
||||||
|
|
||||||
|
# What ? This kickstart ingredient provides systemd-boot, as an alternative to GNU GRUB
|
||||||
|
|
||||||
|
bootloader --sdboot --timeout=1 # Use systemd-boot and set a timeout to 1
|
@ -9,7 +9,6 @@
|
|||||||
|
|
||||||
zerombr # WARNING : Dangerous command ! Will clear the Master Boot Record
|
zerombr # WARNING : Dangerous command ! Will clear the Master Boot Record
|
||||||
clearpart --all --initlabel # Partition clearing information. This setup uses GPT by default.
|
clearpart --all --initlabel # Partition clearing information. This setup uses GPT by default.
|
||||||
bootloader --timeout=1 # Set the GNU GRUB bootloader timeout to 1
|
|
||||||
|
|
||||||
part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi # Will create an EFI system partitition of 128 MiB (vda1)
|
part /boot/efi --fstype="efi" --size=128 --fsoptions="umask=0077,shortname=winnt" --label=efi # Will create an EFI system partitition of 128 MiB (vda1)
|
||||||
part /boot --fstype="ext4" --size=512 --label=boot # Create a boot partition of 512 MiB using the ext4 filesystem (vda2)
|
part /boot --fstype="ext4" --size=512 --label=boot # Create a boot partition of 512 MiB using the ext4 filesystem (vda2)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user