Last active
August 29, 2015 14:16
-
-
Save draplater/57fc7a097d07aadf6d0e to your computer and use it in GitHub Desktop.
Fully install Grub2(EFI) on usbdisk
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
MOUNT_POINT=/run/media/draplater/BDC7-5FF6 | |
grub2-install --target=i386-efi --efi-directory=$MOUNT_POINT --boot-directory=$MOUNT_POINT/boot/ --removable | |
grub2-install --target=x86_64-efi --efi-directory=$MOUNT_POINT --boot-directory=$MOUNT_POINT/boot/ --removable | |
#Generate only one efi file: | |
grub2-mkstandalone -d /usr/lib/grub/i386-efi/ --compress=xz -o $OUTPUT_FILE -O i386-efi boot/grub/grub.cfg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment