Sun 01 Feb 2015 01:03:46 PM UTC, original submission:
I'm using using a legacy BIOS boot iso as a starting point to create a dual BIOS/UEFI boot iso using grub-mkimage (details at the bottom).
Using grub-2.00, the CD burnt from the iso will legacy BIOS boot without problems. The UEFI boot appears to succeed - the linux command prompt appears - but the keyboard is unresponsive.
Using grub-2.02~beta, the CD burnt from the iso will legacy BIOS boot without problems. The UEFI boot stops at the grub command prompt. If I enter linux.../initrd.../boot manually, the boot does not complete. If I burn a cd with the grub modules included under /EFI/BOOT/grub/x86_64-efi, then the linux command prompt appears, but the keyboard is unresponsive.
dell latitude e7240
$ grub-mkimage --format=x86_64-efi --output=BOOTX64.EFI --prefix=/EFI/BOOT/grub --config=/tmp/grub.cfg bitmap bitmap_scale boot bufio cat configfile crypto disk echo efi_gop efi_uga ext2 extcmd fat font fshelp gettext gfxmenu gfxterm gzio help iso9660 keylayouts linux loadbios loadenv ls minicmd mmap normal part_gpt part_msdos probe reboot regexp relocator search search_fs_file search_fs_uuid search_label terminal test trig true video video_colors video_fb
/tmp/grub.cfg:
set root=(cd0)
set prefix=($root)/EFI/BOOT/grub
efiboot.img created as follows:
$ dd if=/dev/zero of=efiboot.img bs=1K count=1440
$ mkdosfs -F 12 efiboot.img
$ mkdir /tmp/image
$ sudo mount efiboot.img /tmp/image
$ sudo mkdir -p /tmp/image/EFI/BOOT
$ sudo cp BOOTX64.EFI /tmp/image/EFI/BOOT
$ sudo umount /tmp/image
$ sudo cp efiboot.img /tmp/pkg/EFI/BOOT
/tmp/pkg/EFI/BOOT/grub/grub.cfg:
loadfont unicode
set gfxmode=auto
insmod efi_gop
insmod efi_uga
insmod gfxterm
terminal_output gfxterm
menuentry "corepure64" {
linux /boot/vmlinuz64 loglevel=3 base
initrd /boot/corepure64.gz
}
iso created as follows:
$ sudo mkisofs -pad -l -r -J -V CorePure64 -no-emul-boot -boot-load-size 4 -boot-info-table -b boot/isolinux/isolinux.bin -c boot/isolinux/boot.cat -hide-rr-moved -eltorito-alt-boot -eltorito-platform efi -b EFI/BOOT/efiboot.img -no-emul-boot -o CorePure64-6.0.iso /tmp/pkg
|