Skip to content

Instantly share code, notes, and snippets.

@snazzybunny
Last active September 7, 2017 05:31
Show Gist options
  • Save snazzybunny/8d1091c5c3730d6f03f5bdd892a9e4cb to your computer and use it in GitHub Desktop.
Save snazzybunny/8d1091c5c3730d6f03f5bdd892a9e4cb to your computer and use it in GitHub Desktop.
rebuild antergos grub
#!/bin/bash
sudo mount /dev/sda4 /mnt
sudo mount /dev/sda1 /mnt/boot/efi
sudo arch-chroot /mnt
sudo os-prober
sudo grub-mkconfig -o /boot/grub/grub.cfg
sudo grub-install --target=x86_64-efi --efi-directory=/boot/efi --bootloader-id=Antergos-grub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment