Last active
September 7, 2017 05:31
-
-
Save snazzybunny/8d1091c5c3730d6f03f5bdd892a9e4cb to your computer and use it in GitHub Desktop.
rebuild antergos grub
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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