0

I had a dual-boot setup with Windows 11 and Garuda Linux Dr460nized version previously. Windows bootloader and Garuda's grub were installed on the same EFI partition. So when I was doing a clean reinstall by cleaning everything except for the Garuda Linux root partition, I also deleted the EFI partition where Garuda's GRUB was installed. I thought I could reinstall GRUB in case anything goes wrong through the Garuda live boot repair tool which usually worked in cases of boot override by Windows (but this time it didn't work at all).

After deleting the previous EFI partition, I created a new EFI partition of filesystem FAT32 with flags boot and esp. My Garuda's root folder is still there and hopefully, the data is all safe. But how could I reinstall Grub for my Linux in that EFI partition? I attempted to reinstall GRUB using Garuda's live boot repair tool but it didn't work saying couldn't mount /boot/efi. Does that boot repair tool only work when there is grub installed previously?

Anyway, guys, I need your help here. I want to install Grub to the EFI partition so that I can access my Linux and its data. How can I do that? Is there a way by using Garuda's live iso? I tried to search for this but there weren't proper instructions for my specific scenario and there were some commands like chroot, mount, etc. which I couldn't really follow properly due to different contexts. So please help me get back my Garuda Linux. Thank you!

1
  • 1
    Do not know your system, but check fstab, it should have an entry to mount ESP and since new ESP that will be incorrect and probably reason for error. Update fstab with new ESP's UUID.
    – oldfred
    Commented Jun 25, 2023 at 13:56

1 Answer 1

0

Here is a link to reinstall grub from garuda linux forum You mentioned the error couldn't mount /boot/efi. On my fedora install this is a separate partition on my drive that has to be mounted first before I attempt to mount efi. If you run cat etc/fstab and see a entry that has /boot then you will need to mount that partition before attempting to reinstall grub.

1
  • Thanks a lot! That forum helped me solve the problem and I am now back on my Garuda Linux. During my search, I found an even more detailed guide to using chroot and reinstalling the bootloader. I leave it here in case anybody needs it in the future. forum.garudalinux.org/t/how-to-chroot-garuda-linux/4004 Commented Jun 26, 2023 at 16:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .