Unable to install GRUB. Fatal error.
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
- Ambito
- operating-systems
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
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di linuxmint/live-installer
-
UEFI encrypted (LVM-on-LUKS) install is unbootable: drops to an initramfs shellForse già presa @ggiesen l’ha presa 109 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 20/100
linuxmint/live-installer#183 ·
-
Encryption passphrase briefly visible in the process table during automated encrypted installForse già presa @ggiesen l’ha presa 109 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 65/100
linuxmint/live-installer#182 ·
-
Automated install can silently fail to format the root partition and fill the live tmpfsForse già presa @ggiesen l’ha presa 109 giorni fa. Aperta
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
linuxmint/live-installer#181 ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
linuxmint/live-installer#178 · 1 reazione ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 48/100
linuxmint/live-installer#177 ·
Tutte le issue di linuxmint/live-installer
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
alienator88/Pearcleaner#610 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 71/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno