Hello everyone. I recently updated my EndeavourOS, and as you know, there were problems with grub.
I followed these instructions:
https://discovery.endeavouros.com/system-rescue/arch-chroot-for-efi-uefi-systems/2021/03/
But unfortunately I can’t grub-install
. I am not experienced in OS management, and after a couple of hours of trying I decided to create this thread for help.
This is an output of sudo fdisk -l
:
Disk /dev/nvme0n1: 476.94 GiB, 512110190592 bytes, 1000215216 sectors
Disk model: SK hynix PC711 HFS512GDE9X073N
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt
Disk identifier: 0C0B6E43-B4DE-4943-A6D2-29692E32329A
Device Start End Sectors Size Type
/dev/nvme0n1p1 4096 618495 614400 300M EFI System
/dev/nvme0n1p2 618496 1000206899 999588404 476.6G Linux filesystem
Disk /dev/sda: 14.51 GiB, 15581839360 bytes, 30433280 sectors
Disk model: Disk 2.0
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xab3ab792
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 64 3579839 3579776 1.7G 0 Empty
/dev/sda2 3579840 3788735 208896 102M ef EFI (FAT-12/16/32)
Disk /dev/loop0: 1.6 GiB, 1723146240 bytes, 3365520 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
I am right now sitting from live boot of my USB with an EndeavourOS.
After trying every single combination many times, and then running sudo arch-chroot /mnt
, I was able to chroot: after running ls /home
I get my user directory.
However, running grub-install
gets me this message:
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
I am very sorry if I did something incorrectly. I didn’t sleep for last 26 hours and there is an important work currently on my OS. Would appreciate any help I can get.
Thank you in advance.