[self note:@”grub 2 EFI”];

Oh my, grub2 is an overly complex piece of *** and a kitchen sink:

grub-mkimage -O x86_64-efi -d . \
-o /mnt/EFI/BOOT/BOOTX64.EFI -p “” \
part_gpt part_msdos ntfs ntfscomp hfsplus fat ext2 \
normal chain boot configfile linux multiboot btrfs \
all_video reiserfs xfs jfs lvm crypto cryptodisk luks

:-/

https://help.ubuntu.com/community/UEFIBooting#Apple_Mac_EFI_systems
http://askubuntu.com/questions/265644/dual-boot-surface-pro-with-ubuntu

Update: cryptomount (hd0,gpt3)

Update 2:

grub-mkimage -O powerpc-ieee1275 -d /usr/lib/grub/powerpc-ieee1275/ -p /mnt/ -o /mnt/grub part_gpt part_msdos ntfs ntfscomp hfsplus fat ext2 normal boot configfile linux btrfs all_video reiserfs xfs jfs lvm crypto cryptodisk luks part_apple suspend sleep reboot search_fs_file search_label search_fs_uuid hfs

boot hd:5,grub.elf

Update 3: OMG, who comes up with such syntax and alien non-Unix way of tools:?

hmount /dev/hdaX
hattrib -b Untitlied:
hattrib -t Untitlied:grub.elf
boot hd:5,\\tbxi

nvsetenv boot-device /pci@f2000000/mac-io@17/ata-4@1f000/disk@0:5,\\:tbxi

Update ‘18 Maybe better yet:

grub-mkimage -O x86_64-efi -d /usr/lib64/grub/x86_64-efi/ -o BOOTX64.EFI -p “/efi/boot” part_gpt part_msdos ntfs ntfscomp hfsplus fat ext2 normal chain boot configfile linux multiboot btrfs all_video reiserfs xfs jfs lvm crypto cryptodisk luks

Comments are closed.