Created
November 20, 2018 21:26
-
-
Save nikibobi/3a31c47c10428d9c2392086217d024c5 to your computer and use it in GitHub Desktop.
Personal shell script to fix EFI file when Windows updates
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
#!/bin/bash | |
set -x | |
cd /boot/EFI/ | |
mv Microsoft/Boot/bootmgfw{,.orig}.efi | |
cp {grub/grubx64,Microsoft/Boot/bootmgfw}.efi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment