erro de instalação de bootloader em qualquer instalação linux

Eu tinha o Windows 11 no meu notebook Samsung e fiz uma instalação limpa do Ubuntu. Estava tudo bem, mas depois de um mês, o gerenciador de pacotes quebrou e decidi mudar de distribuição - tentei o Fedora, mas não consegui instalar devido a um erro de firmware ou kernel. Voltei para o W11, tentei instalar o PopOS e o Manjaro - todos falharam devido ao problema abaixo:

WARN: kernelstub.Installer : INFO     Copying Kernel into ESP
WARN: kernelstub.Installer : INFO     Copying initrd.img into ESP
WARN: kernelstub.Installer : INFO     Setting up loader.conf configuration
WARN: kernelstub.Installer : INFO     Making entry file for Pop!_OS
WARN: kernelstub.Installer : INFO     Backing up old kernel
WARN: kernelstub.Installer : INFO     No old kernel found, skipping
INFO: running "chroot" "/tmp/distinst.9GpOj0Xx2LAX" "efibootmgr" "--create" "--disk" "/dev/sda" "--part" "1" "--write-signature" "--label" "Pop!_OS 22.04 LTS" "--loader" "\\EFI\\systemd\\systemd-bootx64.efi"
WARN: Could not prepare Boot variable: No space left on device
ERROR: configuring bootloader error: command failed with exit status: exit status: 5
ERROR: errored while installing system: command failed with exit status: exit status: 5
INFO: Install error: command failed with exit status: exit status: 5

Depois disso, tentei instalar o Ubuntu e recebi o mesmo erro, mas quando reiniciei o note, ele iniciou normalmente. Agora estou usando o Ubuntu 24.04, mas gostaria de instalar o PopOS.
Tentei fazer isso no meu HD (o Ubuntu está instalado no meu SSD, assim como todos os outros sistemas operacionais que tentei instalar) e recebi o mesmo erro de antes. Aparentemente, segundo o ChatGPT, minha NVRAM está cheia. Tentei “carregar opções otimizadas” na BIOS da Samsung para redefinir as opções de inicialização, mas nada mudou. Não consigo instalar nenhum outro sistema operacional além do Windows e do Ubuntu.
Alguém tem alguma ideia do que está acontecendo?

*EDIT: Como o ChatGPT sugeriu, já tentei listar as entradas de inicialização e excluir as não utilizadas, mas só tenho uma - o Ubuntu. Também verifiquei minha partição UEFI e ela tem espaço suficiente para que outras entradas de inicialização sejam instaladas.

*EDIT 2: Ao verificar erros de inicialização e sistema, obtive isso no terminal:

Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.TXHC.RHUB.SS01], AE_NOT_FOUND (20230628/dswload2-162)
Nov 14 10:39:39 amanda kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-220)
Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.TXHC.RHUB.SS02], AE_NOT_FOUND (20230628/dswload2-162)
Nov 14 10:39:39 amanda kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-220)
Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.TXHC.RHUB.SS03], AE_NOT_FOUND (20230628/dswload2-162)
Nov 14 10:39:39 amanda kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-220)
Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.TXHC.RHUB.SS04], AE_NOT_FOUND (20230628/dswload2-162)
Nov 14 10:39:39 amanda kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20230628/psobject-220)
Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x00000000C) is beyond end of object (length 0xC) (20230628/exoparg2-393)
Nov 14 10:39:39 amanda kernel: ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.USR1._PLD due to previous error (AE_AML_PACKAGE_LIMIT) (20230628/psparse-529)
Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x00000000D) is beyond end of object (length 0xC) (20230628/exoparg2-393)
Nov 14 10:39:39 amanda kernel: ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.USR2._PLD due to previous error (AE_AML_PACKAGE_LIMIT) (20230628/psparse-529)
Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x00000000C) is beyond end of object (length 0xC) (20230628/exoparg2-393)
Nov 14 10:39:39 amanda kernel: ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.USR1._PLD due to previous error (AE_AML_PACKAGE_LIMIT) (20230628/psparse-529)
Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x00000000C) is beyond end of object (length 0xC) (20230628/exoparg2-393)
Nov 14 10:39:39 amanda kernel: ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.USR1._PLD due to previous error (AE_AML_PACKAGE_LIMIT) (20230628/psparse-529)
Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x00000000D) is beyond end of object (length 0xC) (20230628/exoparg2-393)
Nov 14 10:39:39 amanda kernel: ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.USR2._PLD due to previous error (AE_AML_PACKAGE_LIMIT) (20230628/psparse-529)
Nov 14 10:39:39 amanda kernel: ACPI BIOS Error (bug): AE_AML_PACKAGE_LIMIT, Index (0x00000000D) is beyond end of object (length 0xC) (20230628/exoparg2-393)
Nov 14 10:39:39 amanda kernel: ACPI Error: Aborting method \_SB.PC00.XHCI.RHUB.USR2._PLD due to previous error (AE_AML_PACKAGE_LIMIT) (20230628/psparse-529)
Nov 14 10:39:39 amanda kernel: UBSAN: array-index-out-of-bounds in /build/linux-21sZ5Q/linux-6.8.0/drivers/usb/typec/ucsi/psy.c:94:23
Nov 14 10:39:39 amanda kernel: index 7 is out of range for type 'u32 [7]'
Nov 14 10:39:39 amanda kernel: UBSAN: array-index-out-of-bounds in /build/linux-21sZ5Q/linux-6.8.0/drivers/usb/typec/ucsi/psy.c:150:23
Nov 14 10:39:39 amanda kernel: index 7 is out of range for type 'u32 [7]'
Nov 14 10:39:41 amanda kernel: iwlwifi 0000:00:14.3: WRT: Invalid buffer destination
Nov 14 10:39:41 amanda kernel: iwlwifi 0000:00:14.3: timeout waiting for FW reset ACK (inta_hw=0x0)

0

OK, acabei de encontrar o mesmo erro e resolvi com sucesso, obrigado pela resposta útil de @tu-Reinstate Monica-dor duh . A resposta dele/dela ​​explicou o motivo exato do erro.

No entanto, minha maneira de resolver esse problema é editando o gerenciador de boot integrado, que também é armazenado na NVRAM. No meu caso, segui os passos de uefi - How to delete OS from boot menu - Super User :

  1. sudo efibootmgr -v listar todas as opções de inicialização.
  2. sudo efibootmgr -b # -B para excluir as opções indesejadas.

Depois de executar essas duas etapas, instalei o grub-efi-amd64-signed .

1 curtida

Veja se a NVRAM está lotada e remova os arquivos de dump.

2 curtidas