Last active
December 13, 2015 19:48
-
-
Save n0b0dy/4965100 to your computer and use it in GitHub Desktop.
Gentoo & Ubuntu grub2-efi
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
## Gentoo EFI | |
grub2-install --target=x86_64-efi --modules="part_gpt part_msdos linux normal boot all_video chain efi_gop video video_fb gzio ls lvm" --efi-directory=/boot/efi /dev/sda1 | |
efibootmgr --create --gpt --disk /dev/sda --part 1 --write-signature --label "Gentoo" --loader '\EFI\gentoo\grubx64.efi' | |
## Ubuntu EFI | |
grub-install --bootloader-id ubuntu /dev/sda |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment