bugGNU GRUB - Bugs: bug #44147, Dual BIOS/UEFI CD will not UEFI...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44147: Dual BIOS/UEFI CD will not UEFI Boot Fully

Submitter:  John Frankish <juanito_tc>
Submitted:  Sun 01 Feb 2015 01:03:46 PM UTC
   
 
Category:  Installation Severity:  Major
Priority:  5 - Normal Item Group:  Software Error
Status:  Invalid Privacy:  Public
Assigned to:  None Originator Name:  juanito_tc
Open/Closed:  Closed Release:  2.00
Release:  Reproducibility:  Every Time
Planned Release:  None

Fri 13 Feb 2015 07:29:53 PM UTC, comment #4: 

On help-grub you confirmed that grub-mkrescue works so I close it. Questions about how to build grub image do not really belong to bug tracker.

Andrei Borzenkov <arvidjaar>
Group Member
Sat 07 Feb 2015 01:34:21 PM UTC, comment #3: 

..and in any case, grub-mkimage should work...

John Frankish <juanito_tc>
Sat 07 Feb 2015 01:33:02 PM UTC, comment #2: 

I don't know how to compile grub for both efi and i386-pc simultaneously in order to make a dual legacy bios/efi boot cd for x86_64 with grub-mkrescue...

John Frankish <juanito_tc>
Sat 07 Feb 2015 01:15:57 PM UTC, comment #1: 

Does it work if you use grub-mkrescue?

Andrei Borzenkov <arvidjaar>
Group Member
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

John Frankish <juanito_tc>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by arvidjaar (Posted a comment)
  • -email is unavailable- added by juanito_tc (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-02-13 arvidjaar StatusNone Invalid
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code