You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
scr/efibootmgr-entry-create.sh

20 lines
388 B

#!/bin/zsh
# Inferencium
# efibootmgr - Boot Entry - Create
# Copyright 2022-2023 Inference
# SPDX-License-Identifier: BSD-3-Clause-Clear
# Version: 1.0.2.4
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'