Add efibootmgr entry creation script.

dev
inference 3 months ago
parent f0d001eedb
commit f72462fb6e

@ -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'
Loading…
Cancel
Save