# grub-install
Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0006.
grub-install: warning: efivarfs_set_variable: writing to fd 7 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.
# df -hse riavvio il pc tutto sembra essere normale, posso fare il boot sia
Filesystem Size Used Avail
Use% Mounted on
udev 7.8G 0 7.8G
0% /dev
tmpfs 1.6G 1.6M
1.6G 1% /run
/dev/mapper/nas1--vg-root 3.7G 1.6G
1.9G 46% /
tmpfs 7.9G 0 7.9G
0% /dev/shm
tmpfs 5.0M 0 5.0M
0% /run/lock
/dev/md0 470M 88M 358M
20% /boot
tmpfs 1.6G 0 1.6G
0% /run/user/0
/dev/sda1 511M 3.6M
508M 1% /boot/efi
On 28/02/22 09:16, Piviul wrote:Grazie Davide! Non so come mai ma dpkg --configure -a non ha trovato
# grub-install
Installing for x86_64-efi platform.
grub-install: warning: Cannot set EFI variable Boot0006.
grub-install: warning: efivarfs_set_variable: writing to fd 7
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.
guardando in rete ce ne sono diversi che hanno questo problema.
In alcuni casi c'è un'installazione di grub e pacchetti collegati che
non è andata a buon fine
verifica se con
# dpkg --configure -a
è tutto a posto o ci sono pacchetti parzialmente
installati/configurati che non riesce a portare a termine per installazione/configurazione
prova a attivare verbose e
# grub-install -v 2>&1
e vedi se c'è qualche messaggio significativo
Alcuni hanno risolto così, esplicitando le opzioni:
# grub-install --target=x86_64-efi --bootloader-id=GRUB --efi-directory=/boot/efi --no-nvram --removable
o con comandi simili al precedente
Probabilmente con il -v dovresti vedere cosa fa di sbagliato...
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:55:56 |
Calls: | 6,666 |
Files: | 12,213 |
Messages: | 5,335,947 |