Skip to content

Instantly share code, notes, and snippets.

@ShaakhDev
Last active June 19, 2024 10:09
Show Gist options
  • Save ShaakhDev/b06b41e5e59abca871f1eb6b9a4bcacf to your computer and use it in GitHub Desktop.
Save ShaakhDev/b06b41e5e59abca871f1eb6b9a4bcacf to your computer and use it in GitHub Desktop.
[SOLUTION] Failed to mount /boot/efi on arch linux (after update)
1. Run on live usb
2. fdisk -l
3. mount /dev/sdx1 /mnt
4. mount /dev/sdx2 /boot/efi
5. iwd station wlan0 connect <wifi_name> <wifi_password>
6. arch-chroot /mnt
7. pacman -S linux
8. grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=GRUB
9. grub-mkconfig -o /boot/grub/grub.cfg
10. exit
11. umount -a
12. reboot
13. remove live usb and voila!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment