Last active
February 6, 2024 21:50
-
-
Save jeremyb31/07217d786dfd0afead022befd84b4999 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
sudo mkdir -p /mnt/boot/efi | |
sudo mount /dev/sda2 /mnt | |
sudo mount /dev/sda1 /mnt/boot/efi | |
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done | |
sudo chroot /mnt | |
apt-get update | |
apt-get install --reinstall grub-efi grub-efi-amd64 grub-efi-amd64-signed | |
update-grub | |
exit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment