NetBSD-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: efibootmgr
VS> Does NetBSD have efibootmgr or any similar utilities to add/modify
VS> UEFI boot entries?
apropos(1) doesn't turn up "efibootmgr or any similar utilities"
as in Free/DragonflyBSD, but gpt(8) may be able to do what you need:
gpt set -l
gpt set [-a attribute] [-N] [-i index] [-b startsec]
The set command sets various partition attributes. The -l flag
lists all available attributes. The -a option specifies which
attributes to set and may be specified more than once, or the
attributes can be comma-separated. If the -N option and no -a
option are specified, all attributes are removed. The -i or the
-b option specify which entry to update. The possible attributes
are “biosboot”, “bootme”, “bootonce”, “bootfailed”, “noblockio”,
and “required”. The biosboot flag is used to indicate which
partition should be booted by legacy BIOS boot code. See the
biosboot command for more information. The bootme flag is used
to indicate which partition should be booted by UEFI boot code.
The other attributes are for compatibility with FreeBSD and are
not currently used by NetBSD. They may be used by NetBSD in the
future.
[Same for NetBSD-8/9/10/current; caveat: I'm pretty clueless about about
UEFI myself.]
Martin Neitzel
Home |
Main Index |
Thread Index |
Old Index