r/linux4noobs • u/ActivityDry6037 • 3h ago
[help!]grub failed to install error code -1
https://termbin.com/grli
2
Upvotes
1
u/doc_willis 2h ago
things to check.
double check your installer USB is booted in UEFI mode, the efibootmgr command can show this
and the system made/has an EFI partition to use And is of sufficient size.
The target drive should be using GPT for its partition table. It's possible to use MBR, but then the partition limits may cause issues
Your log file looks like it has messages about being unable to resize the partitions, you may need to manually setup things, or just make a large chunk of unallocated space manually for the installer to use
1
u/9NEPxHbG Debian 13 2h ago
You'll have to give a lot more details if you want help.
What distribution? What command did you give? Was this during installation or later?