Skip to content

Instantly share code, notes, and snippets.

@nikibobi
Created November 20, 2018 21:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikibobi/3a31c47c10428d9c2392086217d024c5 to your computer and use it in GitHub Desktop.
Save nikibobi/3a31c47c10428d9c2392086217d024c5 to your computer and use it in GitHub Desktop.
Personal shell script to fix EFI file when Windows updates
#!/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