Skip to content

Instantly share code, notes, and snippets.

@PaulFurtado
Created January 12, 2014 04:23
Show Gist options
  • Save PaulFurtado/8380792 to your computer and use it in GitHub Desktop.
Save PaulFurtado/8380792 to your computer and use it in GitHub Desktop.
# Builds a 64-bit grub image in the default EFI bootloader location.
mkdir '/boot/efi/EFI/boot'
grub-mkimage --directory '/usr/lib/grub/x86_64-efi' --prefix '(hd0, gpt1)' --output '/boot/efi/EFI/boot/bootx64.efi' --format 'x86_64-efi' --compression 'auto' 'fat' 'part_gpt' 'ext2'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment