31 de mai. de 2023

grub-install: Unable to install GRUB in dummy

Erro durante a instalação do Debian 11 em um micro com SSD zerado usando UEFI.

Partições:

Número    Tamanho  Sistema de arquivos  Nome      Opções

1         537MB    fat32                EFI       boot, esp

2         15.1GB   ext4                           noatime, nodiratime

Instalação corre normalmente até a fase de instalação do GRUB.

Saída do syslog:

grub-install: warning: Cannot set EFI variable Boot0000.

grub-install: warning: efivarfs_set_variable: writing to fd 8 failed: No space left on device.

grub-install: warning: _efi_set_variable_mode: ops->set_variable() failed: No space left on device.

grub-install: error: failed to register the EFI boot entry: No space left on device.

Solução:

rm /sys/firmware/efi/efivars/dump-*

Reiniciar passo de instalação do GRUB.