You are not logged in.
So grub updated today, I installed arch on it few months ago and probably grub updated first time on it. I am a bit confused for grub-install command usage. I looked at the news again (https://archlinux.org/news/grub-bootloa … ibilities/)
I was not sure, so did following for finding where grubx64.efi is sitting currently
$ ls -R /boot/EFI
/boot/EFI:
Dell EFI grub_uefi
/boot/EFI/Dell:
logs
/boot/EFI/Dell/logs:
diags_current.xml diags_previous.xml
/boot/EFI/EFI:
grub_uefi
/boot/EFI/EFI/grub_uefi:
grubx64.efi
/boot/EFI/grub_uefi:
grubx64.efi
So, it is at two paths, and I can easily guess during installation I got confused somewhere and probably put `/boot/EFI` where I was supposed to mention only `/boot`. However, I have a fine working system (lol!) never realized about it until today. So, How to know which one is right to put into grub-install? And also remove the redundant one. So that in future, I can again `ls` and determine correct path.
Last edited by amixra (2024-09-15 08:20:02)
Experiment at-least.
Offline
My concern is if `/boot/EFI/EFI/grub_uefi/grubx64.efi` is getting used while I end up choosing to install it on another path (`/boot/EFI/grub_uefi/grubx64.efi`)
I don't want to end up having an unbootable system.
Last edited by amixra (2024-09-15 08:01:53)
Experiment at-least.
Offline
I don't know whether you guys operate on sunday or not. I am currently going with following
# grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=grub_uefi
Installing for x86_64-efi platform.
Installation finished. No error reported.
which didn't report any error.
I hope my laptop wakes up tomorrow too.
Experiment at-least.
Offline
I don't know whether you guys operate on sunday or not
Sorry I'm late
If the --efi-directory path didn't point to an actual ESP there would have been an error message so it looks like that was the correct path.
You can use this command to view the partitions and mountpoints:
lsblk -f
^ That would have told you where /boot/ was mounted.
Then use
# parted --list
And look for the partition with the "boot, esp" flags set — that will be the EFI system partition.
Para todos todo, para nosotros nada
Offline
If the --efi-directory path didn't point to an actual ESP there would have been an error message so it looks like that was the correct path.
more specific - this:
grub-install: error: /boot doesn't look like an EFI partition.
Offline