I unmounted them with the command, but I realized I have 2 512MB fat32 partitions (from Manjaro and Endeavour) How can I know which one is which?
I’m not entirely sure. Do they have the same files in them ?
Edit: They both have the same folder names?
Wait, I thought one was from Manjaro but Gparted says it has the mfstdata flag, so it’s from Windows (I think)
That makes sense because when you install EndeavourOS it creates the efi but Windows already has one and on an install if you are doing it manually you can use the Windows efi also but i don’t.
Edit: I think this is a good exercise to go through and it’s actually not that hard.
The procedure to arch-chroot is just booting on the live-iso
Then become root
sudo su
mount /dev /sda2 /mnt (sdaX has to be your root partition what ever that is)
mount /dev/sda1 /boot/efi (sdax has to be the efi partition)
arch-chroot /mnt
Then you can reinstall grub via the UEFI install instaructions.
It still shows the same errors. I think GRUB was completely wiped out…
I would just arch-chroot properly and then if os-prober is not finding it just follow the reinstall instructions for UEFI to install grub again and regenerate the grub file.
I’ve already arch-chrooted about 3 times and it says the same all the time…
Reinstall grub and see what happens when you generate the new grub file.
How can I reinstall it?
WAIT. os-prober is working now!
[root@archiso liveuser]# os-prober
/dev/sda1@/efi/Microsoft/Boot/bootmgfw.efi:Windows Boot Manager:Windows:efi
/dev/sda5:EndeavourOS Linux (rolling):EndeavourOS:linux
[root@archiso liveuser]#
You just arch-chroot and if os-prober doesn’t find anything and gives errors just go to the next part to reinstall grub and then generate a new grub file.
Sometimes it’s obstinate!
And now this:
[root@archiso liveuser]# grub-mkconfig -o /boot/grub/grub.cfg
/usr/bin/grub-probe: error: failed to get canonical path of `airootfs'.
[root@archiso liveuser]#
use sudo
I’m on root.
I’m not sure what’s the issue? os-prober worked this time? So we see it shows the drives as sda1 for efi and sda5 for / Are these the ones you arch-chrooted to?
I chrooted /dev/sda5 (/) and /dev/sda10 (boot efi)
Should be sda1
sda1 is Windows. I need to mount /dev/sda1?
That’s the one it’s showing and yes it’s for Windows. Where did you some up with sda10?