Skip to content

Instantly share code, notes, and snippets.

@leucos
Last active August 29, 2015 14:16
Show Gist options
  • Save leucos/3f63c07d8326309d7fb1 to your computer and use it in GitHub Desktop.
Save leucos/3f63c07d8326309d7fb1 to your computer and use it in GitHub Desktop.
Recover from Arch bootloader crash - Asus UX51VZA
# Boot in UEFI mode !!
loadkeys fr
mount /dev/md125p3 /mnt
arch-chroot /mnt /bin/bash
mount /dev/md125p1 /boot/efi/
pacman -S linux
pacman -S grub
grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=grub_uefi --recheck
grub-mkconfig -o /boot/grub/grub.cfg
umount /boot/efi
exit
umount /dev/md125p3
reboot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment