#grub-install fails

27 messages · Page 1 of 1 (latest)

sudden crest
#

So I was trying to install Arch, and right as I got up to the grub installation step (I chose grub for obvious reasons), I get this console output:

grub-install: warning: Discarding improperly nested partition (hostdisk//dev/nvme0n1,gpt2,msdos4)
grub-install: warning: Discarding improperly nested partition (hostdisk//dev/nvme0n1,gpt2,msdos4)
grub-install: warning: Discarding improperly nested partition (hostdisk//dev/nvme0n1,gpt2,msdos4)
grub-install: error: failed to make directory '/boot/grub/locale'.

It may help to mention that I already have OpenCore and Windows Boot Manager as well, and I'd like to keep both intact and in my boot menu. So far, I've tried to search for this with no success, and I've searched through past questions here to see if it's already been asked before.
Has anybody seen this before?

#

(oh, and it's not just console output, there's actually barely anything different about my EFI in the end)

wise willow
#

uh
did you just partition a partition

#

💀

#

also could you check the disk usage of your esp
it not having enough space is most likely the reason why it failed to make /boot/grub/locale

#

df -h to check

sudden crest
#

The installation just completed, and it all works now, I just need to make a grub.cfg

sudden crest
#

Now, making a grub.cfg, it's getting angrier. (Also, my boot menu only has the option to return to my UEFI settings)

[root@archiso /]# grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file...
/usr/bin/grub-probe: warning: Discarding improperly nested partition (hostdisk//dev/nvme0n1,gpt2,msdos4).
... repeated 41 times
Warning: os-prober will not be executed to detect other bootable partitions.
Check GRUB_DISABLE_OS_PROBER documentation entry.
Adding boot menu entry for UEFI Firmware Settings ...
done
#

I also don't have an issue with os-prober not working because I'm going to access grub through OpenCore anyway ideally but
It spitting out 42 of those same warnings probably means something is up

wise willow
#

could you do
sudo blkid /dev/nvme0n1p2

sudden crest
wise willow
#

weird

sudden crest
wise willow
#

no
i actually have no idea why it's saying that if there's no dos table nested on gpt2

sudden crest
#

I guess no grub for me?

wise willow
sudden crest
wise willow
#

no i want the disk usage

sudden crest
#

Ah right

sudden crest
wise willow
#

yep
idk why it wont deploy
you obviously have enough space

sudden crest
#

Should I just ask the official IRC?

wise willow