> >> > On Wed, Jan 28, 2015 at 10:30 AM, John Frankish <[email protected]> wrote: > >> > Hi, > >> > > >> > I'm trying the create a dual bios/uefi boot iso to burn to CD/DVD > >> > and boot both bios and uefi. > >> > > >> And your grub version is? > >> > > 2.00 > > > Current is 2.02~beta2. > > >> > The bios boot works fine > >> > On two different machines, the uefi boot gets to the grub menu list: > >> > > >> > On a dell laptop choosing the grub menu item boots to the linux > >> > console prompt, but will not accept any keyboard input On a mac > >> > mini the boot hangs without error message after choosing the grub menu > >> > item. > >> > > >> > Note that in both cases, I can enter grub commands from the prompt > >> > and can also edit the grub menu entries. > >> > >> And it boots after that? > > > > No, on the laptop it boots to the console prompt, but does not accept > > keyboard input > > > >> > In addition, both the bios and uefi boot are using the same > >> > vmlinuz and initrd files. > >> > Finally a more standard uefi installation to usb stick boots on > >> > both machines without problems. > >> > > >> > >> I'm afraid I do not quite understand that. Could you be more verbose > >> > >> - what "standard uefi installation to usb stick" means? > > The grub modules are in /EFI/BOOT/grub/X86_64 rather than embedded in > > BOOTX64.EFI > > > > Any reason you need to build your own image in the first place? And if yes, what is the reason to include ata, ahci and all USB drivers? > Please build image without them (i.e. ahci ata ehci ohci uhci usb_keyboard - hopefully I did not miss something).
The reason is that I thought from google that was how things had to be done for a dual bios/uefi CD/DVD boot. I included the USB drivers because on both the dell laptop and the mac mini the CD/DVD drive is an external USB one. Are you saying I should create an efiboot.img containing a minimal BOOTX64.EFI (if so, what counts as minimal?) and the usual grub modules under /EFI/BOOT/grub/X86_64 instead of embedding them in BOOTX64.EFI? > >> > > >> > $ x86_64-grub-mkimage --format=x86_64-efi --output=BOOTX64.EFI > >> > --prefix=/EFI/BOOT/grub --config=/tmp/grub.cfg acpi ahci all_video > >> > appleldr at_keyboard bitmap_scale ata boot cat chain configfile > >> > cs5536 echo efi_gop efi_uga ehci ext2 fat font gfxmenu gfxterm gzio > >> > halt help hfs hfsplus iso9660 jpeg keylayouts linux loadbios > >> > loadenv ls minicmd normal ohci > >> > part_gpt part_msdos png probe regexp reboot search search_fs_file > >> > search_fs_uuid search_label test tga true udf ufs1 ufs2 uhci > >> > usb_keyboard zfs. > >> > _______________________________________________ Help-grub mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-grub
