Add efibootmgr entry creation script.

This commit is contained in:
inference 2022-11-21 22:57:41 +00:00
parent f0d001eedb
commit f72462fb6e

View File

@ -0,0 +1,18 @@
#!/bin/bash
# efibootmgr - Create boot entry
# Copyright 2022 Inference
# License: BSD 3-Clause Clear
# 0.0.0.0
doas efibootmgr \\
--disk /dev/nvme0n1 \\
--part 1 \\
--create \\
--label "custom" \\
--loader '\EFI\custom\vmlinuz' \\
--unicode \\
'root=UUID=[REDACTED] rd.luks.uuid=[REDACTED] quiet splash initrd=\EFI\custom\initramfs.img'