Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Unable to install GRUB. Fatal error.

Aperta
#175 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
linux

Direzione di ricerca

Start by reproducing the installation in UEFI mode using the reported /dev/sdb1 and /dev/sdb2 layout, with /dev/sdb as the bootloader target. Compare the installer’s handling of the FAT32 partition before and after sgdisk --typecode=1:EF00 /dev/sdb; done means identifying why the ESP was not recognized and documenting or correcting that behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Hello, I'm brand new to linux.
Picked mint as a distro and went about installing it on an old HP laptop.
The laptop gave me trouble because It wouldn't boot from the USB no matter what I changed in the bios.
Secure boot did not exist as an option. So I had to fiddle with legacy boot and UEFI boot options
and boot directly from a .efi

Then within the linux installer I received the following error:
Unable to install GRUB in /dev/sdb
Executing grub-install/dev/sdb' failed.
This is a fatal error.

I resolved this error on my own.
Basically I was installing in UEFI mode without a properly defined root mount.
In the installer, within "something else" I had to touch the following stuff:
The laptop hard drive "sdb" was split in two:
/dev/sdb1 530 MB and
/dev/sdb2 230 GiB
I had to reformat them both to FAT32 and ext4 respectively.
From what I got that's cuz UEFI cant boot from ext4 so it needs a small FAT32 EFI System Partition (ESP) to store GRUB's .efi,
sdb1 had to be used as an ESP,
sdb2 needed a mount point "/",
and sdb had to be the bootloader installation target, ofcourse.
Then the installer refused to recognize sdb1 as an ESP.
Then I learned about gdisk and used it to change the partition's GPT type to ESP with:
" sudo sgdisk --typecode=1:EF00 /dev/sdb "

I'm not entirely sure why this error happened in the first place. I assume its some sort of bug, considering I'm working with an old HP laptop.
So I am reporting it. If someone could explain why this happened, I would appreciate it.

Lingua principale
HTML
Stelle
63
Fork
64
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linuxmint/live-installer

Tutte le issue di linuxmint/live-installer

Issue simili

Altre issue su Operating Systems

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.