Add efibootmgr entry creation script.
This commit is contained in:
parent
f0d001eedb
commit
f72462fb6e
18
efibootmgr-entry-create.sh
Normal file
18
efibootmgr-entry-create.sh
Normal 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'
|
Loading…
x
Reference in New Issue
Block a user