default bootx64.efi doesn't include part_msdos or fat support

Bug #677758 reported by Mario Limonciello on 2010-11-20
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
grub2 (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: grub2

grub2 version: 1.98+20100804-7ubuntu1

Currently the bootx64.efi contained in efi.img in the grub-rescue-efi-amd64 package does not contain fat or part_msdos support, preventing it from being booted from a USB device.

Related branches

Colin Watson (cjwatson) wrote :

We shouldn't need to include part_msdos explicitly. make_image does:

    (for i in $(cat ${source_directory}/partmap.lst) ${modules} ; do
        echo "insmod $i"
    done ; \

If part_msdos isn't showing up, I suspect there's something wrong with the build system for grub-rescue-efi-amd64 as well.

Mario Limonciello (superm1) wrote :

Maybe i'm misinterpreting it, but isn't that part the modules that get initially loaded after the grub memdisk image is loaded into memory (assuming they can be properly referenced at that point)?

The reason that the patch is working properly is because it's being included directly into the memdisk image (by the $4 argument):

    $grub_mkimage -O ${platform} -d "${source_directory}" -m "${memdisk_img}" -o "$3" --prefix='(memdisk)/boot/grub' \
        search iso9660 configfile normal memdisk tar $4

You're right, I'm obviously confused. I'll merge your branch.

Changed in grub2 (Ubuntu):
status: New → Fix Committed
Launchpad Janitor (janitor) wrote :
Download full text (7.1 KiB)

This bug was fixed in the package grub2 - 1.99~20101124-1ubuntu1

---------------
grub2 (1.99~20101124-1ubuntu1) natty; urgency=low

  [ Colin Watson ]
  * Resynchronise with Debian experimental. Remaining changes:
    - Adjust for default Ubuntu boot options ("quiet splash").
    - Default to hiding the menu; holding down Shift at boot will show it.
    - Set a monochromatic theme for Ubuntu.
    - Apply Ubuntu GRUB Legacy changes to legacy update-grub script: title,
      recovery mode, quiet option, tweak how memtest86+ is displayed, and
      use UUIDs where appropriate.
    - Fix backslash-escaping in merge_debconf_into_conf.
    - Remove "GNU/Linux" from default distributor string.
    - Add crashkernel= options if kdump and makedumpfile are available.
    - If other operating systems are installed, then automatically unhide
      the menu. Otherwise, if GRUB_HIDDEN_TIMEOUT is 0, then use keystatus
      if available to check whether Shift is pressed. If it is, show the
      menu, otherwise boot immediately. If keystatus is not available, then
      fall back to a short delay interruptible with Escape.
    - Allow Shift to interrupt 'sleep --interruptible'.
    - Don't display introductory message about line editing unless we're
      actually offering a shell prompt. Don't clear the screen just before
      booting if we never drew the menu in the first place.
    - Remove some verbose messages printed before reading the configuration
      file.
    - Suppress progress messages as the kernel and initrd load for
      non-recovery kernel menu entries.
    - Change prepare_grub_to_access_device to handle filesystems
      loop-mounted on file images.
    - Ignore devices loop-mounted from files in 10_linux.
    - Show the boot menu if the previous boot failed, that is if it failed
      to get to the end of one of the normal runlevels.
    - Don't generate /boot/grub/device.map during grub-install or
      grub-mkconfig by default.
    - Adjust upgrade version checks for Ubuntu.
    - Don't display "GRUB loading" unless Shift is held down.
    - Adjust versions of grub-doc and grub-legacy-doc conflicts to tolerate
      our backport of the grub-doc split.
    - Fix LVM/RAID probing in the absence of /boot/grub/device.map.
    - Look for .mo files in /usr/share/locale-langpack as well, in
      preference.
    - Make sure GRUB_TIMEOUT isn't quoted unnecessarily.
    - Probe all devices in 'grub-probe --target=drive' if
      /boot/grub/device.map is missing.
    - Build-depend on qemu-kvm rather than qemu-system for grub-pc tests.
    - Use qemu rather than qemu-system-i386.
    - Program vesafb on BIOS systems rather than efifb.
    - Add a grub-rescue-efi-amd64 package containing a rescue CD-ROM image
      for EFI-AMD64.
    - On Wubi, don't ask for an install device, but just update wubildr
      using the diverted grub-install.
    - When embedding the core image in a post-MBR gap, check for and avoid
      sectors matching any of a list of known signatures.
    - Disable video_bochs and video_cirrus on PC BIOS systems, as probing
      PCI space seems to break on some systems.
  * Downgrade "ACPI shutdown failed" error to a d...

Read more...

Changed in grub2 (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers