Red Hat Bugzilla – Bug 495071
[UEFI Test Day] efidisk.img fails on Apple Macintosh mini Intel CPU
Last modified: 2009-11-28 13:05:44 EST
Description of problem: efidisk.img fails to get into anaconda when booted on Apple Macintosh mini with Intel CPU.
Version-Release number of selected component (if applicable):
How reproducible: every time
Steps to Reproduce:
1. Download Fedora 11 Beta i386 images/efidisk.img
2. dd onto USB flash storage device, creating "disk" device with GPT partition table.
3. Boot on Apple Macintosh mini with Intel CPU (hold down Option key during chime that follows boot after PowerOn or Reboot)
Actual results: Two icons are offered for boot: internal harddrive icon labeled "Macintosh HD" and golden-colored external enclosure icon with USB logo labeled "EFI Boot". Choosing EFI Boot gives "No startup drive" icon (slowly-flashing question mark in 3cm icon of gray folder) for a few seconds, then switches to Apple logo and usual boot into MacOS 10.5.6 from harddrive.
Expected results: Enter anaconda for install of Fedora 11.
Additional info: Apple Boot ROM version MM11.0055B08, MacOS 10.5.6. Intel Core Duo (i686 only; not Core 2 Duo, which would be x86_64.)
After logging in to Apple MacOS 10.5.6, then I see an alert from the OS that "The disk you inserted is not recognized" and there is no logo for it displayed on the desktop, like there is when inserting a USB flash drive that has a DOS partition table with 4 partitions, one partition of which is FAT.
Trying the x86_64 version of efidisk.img on a MacBookPro, I'm offered the same two icons for boot (internal harddrive, external USB drive) but this time the activity LED on the USB flash memory drive keeps flashing until I make a choice. When I choose EFI Boot then I get a GRUB console with prompt (looks like 640x480 VGA text centered in 1440x900 display). Entering "help\r" gives the usual cue sheet, but no literal example. I don't know what to type. So I wait a couple minutes, then something times out, and I get the usual Apple boot from harddrive. Boot ROM version MBP31.0070.B07. md5sum dede1c9a006a22853db470ecd7fa61e8 efidisk-x86_64.img.
Can you try this again with a recent rawhide? These problems might both be fixed.
This should be fixed with grub-0.97-47 .
*** Bug 495123 has been marked as a duplicate of this bug. ***
*** Bug 495163 has been marked as a duplicate of this bug. ***
Trying today's (Thurs. 2009-05-07) i386 efidisk.img (md5sum 5bf149152ead74c09cfa86af4523f317) on a USB2.0 flash memory device fails in a different way. Initially I see three boot icons: MacOS, Windows, EFI disk.
Selecting and booting EFI disk gives a 640x480 grub screen. Letting the 5-second countdown expire, or entering GRUB and explicitly booting by typing 'b', both hang the machine (Mac mini Intel Core Duo i686 only) with no response to keyboard; the screen continues displaying the last GRUB contents.
Selecting and booting Windows gives an all-white screen for about 4 seconds, then "Missing operating system" in VGA text of white letters on an all-black background, and hangs the machine with no response to keyboard.
It still fails today the same as yesterday, presumably with anaconda-126.96.36.199-1.fc11 according to Rawhide Report.
-rw-rw-r-- 1 jreiser jreiser 22493184 2009-05-08 08:27 efidisk.img
This bug appears to have been reported against 'rawhide' during the Fedora 11 development cycle.
Changing version to '11'.
More information and reason for this action is here:
I am trying to boot using Netboot. I have TFTP and DHCP services running and I point my MacBook (5,1) at BOOTX64.efi from i386/os/images/efiboot.img. My kernel and initrd.gz come from i386/os/images/efidisk.img.
This seems to be similar to comment #7, only using Netboot instead of a flash disk. My kernel and initrd.gz are on my internal disk, on a filesystem readable by GRUB.
My results are the same. I get to the GRUB prompt and do the following:
grub> kernel (hd0,2)/vmlinuz
[Linux-EFI, setup=0x1010, size=0x2e19b0]
grub> initrd (hd0,2)/initrd.gz
[Initrd, addr=0x79921000, size=0x121b34a]
...and GRUB hangs.
How about Fedora 12?
Trying fedora/linux/releases/12/Fedora/i386/os/images/efidisk.img (08-Nov-2009, md5sum cb9e4f1e588ffb21c3fa0c971829549c) does boot, runs and displays GRUB, and starts the installer. However, the user interface is poor.
The delay is about 33 seconds between the expired countdown "Booting Fedora 12 in 0 seconds ..." and any change in the screen (becoming the full-screen blue background with "Welcome to Fedora i386" in text in the upper left.) There is no visual feedback of "Loading vmlinuz... Loading initrd..." on a VGA-style text console. Half a minute is an eternity when there is no indication that anything is happening. When /sbin/loader begins, then there is an additional delay of 15 seconds or so with no feedback before the dialog "Choose a language" appears.
The display sizing also has quirks. On a monitor with 1280x1024 native resolution, only the top 1152 rasters are used. The bottom 128 rasters have (16+16) horizontal stripes of solid black (4 pixels tall) alternating with random binary data (4 pixels tall). Instead of being centered, the text dialog boxes are shifted a couple centimeters towards the top and towards the right.
OK, thanks for reporting back. Please open two separate bugs for 30 second delay and display sizing.
I will close this one now, as it's fixed.