insmod part_msdos insmod part_gpt insmod part_apple insmod efi_gop insmod efi_uga set prefix='' set efi_arch='EFI64' export efi_arch set gfxmode=auto set gfxpayload=keep set grub2efi_fakebios='generic' export grub2efi_fakebios fakebios set iso_path='/efi/boot/boot.iso' export iso_path set real_root=${root} export real_root set real_prefix=${prefix} export real_prefix getefivariable Enterprise_LinuxBootOptions boot_options getefivariable Enterprise_LinuxKernelPath kernel_path getefivariable Enterprise_InitRDPath initrd_path getefivariable Enterprise_BootFolder boot_folder loopback loop (${real_root})${iso_path} set root=(loop) clear echo kernel path: ${kernel_path} | ramdisc path: ${initrd_path} echo boot folder: ${boot_folder} | boot parameters: ${boot_options} echo echo echo -n Loading Linux kernel... linux ${kernel_path} file=/cdrom/preseed/ubuntu.seed boot=${boot_folder} iso-scan/filename=${iso_path} quiet splash ${boot_options} -- echo done 1 echo echo -n Loading initial RAM disc... initrd ${initrd_path} echo done 2 echo echo Faking our identification as OS X... apple_set_os echo Attempting to boot the Linux distribution now... boot echo echo Booting failed, trying to load a loopback.cfg ... configfile /boot/grub/loopback.cfg echo echo Could not boot the Linux distribution. Perhaps your drive could not be read by GRUB. echo Or, maybe the distribution organizes its files in a way that's not supported yet. echo Please email the developer at address@hidden to report this! echo sleep 10 normal