Bug#858832: calls efibootmgr with invalid options
Peter Palfrader
weasel at debian.org
Mon Mar 27 12:24:16 UTC 2017
Package: grub-efi-arm64
Version: 2.02~beta3-5
Severity: serious
User: debian-admin at lists.debian.org
Usertags: needed-by-DSA-Team
On upgrading from jessie to stretch on our arm64 box acker.debian.org I
noticed this issue with grub-efi-arm64:
acker:~# apt-get install --reinstall grub-efi-arm64
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 1 not upgraded.
Need to get 73.0 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://mirror.netcologne.de/debian stretch/main arm64 grub-efi-arm64 arm64 2.02~beta3-5 [73.0 kB]
Fetched 73.0 kB in 0s (603 kB/s)
Preconfiguring packages ...
(Reading database ... 62883 files and directories currently installed.)
Preparing to unpack .../grub-efi-arm64_2.02~beta3-5_arm64.deb ...
Unpacking grub-efi-arm64 (2.02~beta3-5) over (2.02~beta3-5) ...
Setting up grub-efi-arm64 (2.02~beta3-5) ...
Installing for arm64-efi platform.
efibootmgr: option requires an argument -- 'd'
efibootmgr version 14
usage: efibootmgr [options]
-a | --active sets bootnum active
-A | --inactive sets bootnum inactive
-b | --bootnum XXXX modify BootXXXX (hex)
-B | --delete-bootnum delete bootnum
-c | --create create new variable bootnum and add to bootorder
-C | --create-only create new variable bootnum and do not add to bootorder
-D | --remove-dups remove duplicate values from BootOrder
-d | --disk disk (defaults to /dev/sda) containing loader
-r | --driver Operate on Driver variables, not Boot Variables.
-e | --edd [1|3|-1] force EDD 1.0 or 3.0 creation variables, or guess
-E | --device num EDD 1.0 device number (defaults to 0x80)
-g | --gpt force disk with invalid PMBR to be treated as GPT
-i | --iface name create a netboot entry for the named interface
-l | --loader name (defaults to \EFI\redhat\grub.efi)
-L | --label label Boot manager display label (defaults to "Linux")
-m | --mirror-below-4G t|f mirror memory below 4GB
-M | --mirror-above-4G X percentage memory to mirror above 4GB
-n | --bootnext XXXX set BootNext to XXXX (hex)
-N | --delete-bootnext delete BootNext
-o | --bootorder XXXX,YYYY,ZZZZ,... explicitly set BootOrder (hex)
-O | --delete-bootorder delete BootOrder
-p | --part part (defaults to 1) containing loader
-q | --quiet be quiet
-t | --timeout seconds set boot manager timeout waiting for user input.
-T | --delete-timeout delete Timeout.
-u | --unicode | --UCS-2 pass extra args as UCS-2 (default is ASCII)
-v | --verbose print additional information
-V | --version return version and exit
-w | --write-signature write unique sig to MBR if needed
-y | --sysprep Operate on SysPrep variables, not Boot Variables.
-@ | --append-binary-args file append extra args from file (use "-" for stdin)
-h | --help show help/usage
grub-install: error: efibootmgr failed to register the boot entry: Operation not permitted.
Failed: grub-install --target=arm64-efi
WARNING: Bootloader is not properly installed, system may not be bootable
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.9.0-2-arm64
Found initrd image: /boot/initrd.img-4.9.0-2-arm64
Found linux image: /boot/vmlinuz-4.9.0-0.bpo.2-arm64
Found initrd image: /boot/initrd.img-4.9.0-0.bpo.2-arm64
Found linux image: /boot/vmlinuz-4.8.0-0.bpo.2-arm64
Found initrd image: /boot/initrd.img-4.8.0-0.bpo.2-arm64
Adding boot menu entry for EFI firmware configuration
done
acker:~#
Cheers,
--
| .''`. ** Debian **
Peter Palfrader | : :' : The universal
https://www.palfrader.org/ | `. `' Operating System
| `- https://www.debian.org/
More information about the Pkg-grub-devel
mailing list