Ok, I followed this tutorial:
lsblk -f
─nvme0n1p3
│ btrfs fedora_golem-fdr 3fe64608-f704-4e19-b463-451c874044fc //fedora partition
└─nvme0n1p4
btrfs c016f38e-30bb-4c56-94f3-5a33e3187ac1 //apparently the Garuda installer did not name the Garuda partition, but this is it
- Then did these:
sudo mkdir -p /mnt/broken
sudo mount /dev/nvme0n1p4 /mnt/broken
sudo garuda-chroot /mnt/broken/@
Now I’m sorta stuck at mounting the $esp partition inside the chroot:
If the system is installed in UEFI
Find existing $esp partitions if more than one
- My output:
sh-5.2# parted -l | grep -iE "^Disk /|esp" | grep -B1 esp
Disk /dev/sda: 7751MB
2 2801MB 2806MB 4194kB primary esp
Disk /dev/nvme0n1: 2000GB
1 1049kB 630MB 629MB fat32 EFI System Partition boot, esp
- I don’t know which one to pick from this output, but my best guess was
/dev/nvme0n1
so I mounted it:
sh-5.2# mount /dev/nvme0n1 /boot/efi
mount: /boot/efi: /dev/nvme0n1 already mounted or mount point busy.
dmesg(1) may have more information after failed mount system call.
- Guessing that it was already mounted, I proceeded to these instructions.
sudo pacman -S grub-btrfs grub os-prober-garuda
These were all already installed.
5. Then:
sh-5.2# sudo grub-install
sudo: unable to find terminal name for device 136, 1
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
At which step did I take the wrong turn?