Created
June 12, 2024 00:12
-
-
Save orzklv/41097a6bb1f508eb51f4a036e7b8c779 to your computer and use it in GitHub Desktop.
Grub config error on nixos-anywhere
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
updating GRUB 2 menu... | |
installing the GRUB 2 boot loader on /dev/nvme0n1... | |
Installing for i386-pc platform. | |
Installation finished. No error reported. | |
installing the GRUB 2 boot loader on /dev/nvme1n1... | |
Installing for i386-pc platform. | |
Installation finished. No error reported. | |
installing the GRUB 2 boot loader on /dev/nvme0n1... | |
Installing for i386-pc platform. | |
Installation finished. No error reported. | |
installing the GRUB 2 boot loader on /dev/nvme1n1... | |
Installing for i386-pc platform. | |
Installation finished. No error reported. | |
installing the GRUB 2 boot loader into /boot... | |
Installing for x86_64-efi platform. | |
efibootmgr version 18 | |
usage: efibootmgr [options] | |
-a | --active Set bootnum active. | |
-A | --inactive Set bootnum inactive. | |
-b | --bootnum XXXX Modify BootXXXX (hex). | |
-B | --delete-bootnum Delete bootnum. | |
-c | --create Create new variable bootnum and add to bootorder at index (-I). | |
-C | --create-only Create new variable bootnum and do not add to bootorder. | |
-d | --disk disk Disk containing boot loader (defaults to /dev/sda). | |
-D | --remove-dups Remove duplicate values from BootOrder. | |
-e | --edd [1|3] Force boot entries to be created using EDD 1.0 or 3.0 info. | |
-E | --device num EDD 1.0 device number (defaults to 0x80). | |
--full-dev-path Use a full device path. | |
--file-dev-path Use an abbreviated File() device path. | |
-f | --reconnect Re-connect devices after driver is loaded. | |
-F | --no-reconnect Do not re-connect devices after driver is loaded. | |
-g | --gpt Force disk with invalid PMBR to be treated as GPT. | |
-i | --iface name Create a netboot entry for the named interface. | |
-I | --index number When creating an entry, insert it in bootorder at specified position (default: 0). | |
-l | --loader name (Defaults to "\EFI\nixos\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 Partition containing loader (defaults to 1 on partitioned devices). | |
-q | --quiet Be quiet. | |
-r | --driver Operate on Driver variables, not Boot Variables. | |
-t | --timeout seconds Set boot manager timeout waiting for user input. | |
-T | --delete-timeout Delete Timeout. | |
-u | --unicode | --UCS-2 Handle 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. | |
efibootmgr: option requires an argument -- 'd' | |
/nix/store/6l8hpz9ibq46yrjv6ww9gi2zr1bja4c7-grub-2.12/sbin/grub-install: error: efibootmgr failed to register the boot entry: Operation not permitted. | |
/nix/store/gnd59bhy086gwrv2h5s7r34c43197hch-install-grub.pl: installation of GRUB EFI into /boot failed: No such file or directory | |
installation finished! | |
umount: /mnt/boot unmounted | |
umount: /mnt unmounted | |
### Waiting for the machine to become reachable again ### | |
### Done! ### |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment