From: Mario Limonciello <Mario_Limonciello@Dell.com>
To: grub-devel@gnu.org
Subject: [PATCH] Explicitly build msdos partition support into EFI executables
Date: Wed, 05 Jan 2011 10:45:00 -0600 [thread overview]
Message-ID: <4D24A00C.1010100@Dell.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 389 bytes --]
Hi:
Currently EFI executables don't include part_msdos or vfat support by
default. This means that EFI executables can only be launched directly
from ISO9660 filesystems. The attached patch explicitly adds part_msdos
and vfat so that the rest of the GRUB files can be found on other
devices, such as USB keys.
Thanks,
--
*Mario Limonciello*
Linux Engineer
*Dell*| OS Engineering
[-- Attachment #1.2: Type: text/html, Size: 1522 bytes --]
[-- Attachment #2: efi_fat32.patch --]
[-- Type: text/x-patch, Size: 1141 bytes --]
=== modified file 'ChangeLog'
--- ChangeLog 2011-01-05 11:23:06 +0000
+++ ChangeLog 2011-01-05 16:41:49 +0000
@@ -1,3 +1,8 @@
+2011-01-06 Mario Limonciello <Mario_Limonciello@Dell.com>
+
+ * util/grub-mkrescue.in: Explicitly build part_msdos and vfat into
+ efi executables.
+
2011-01-05 Vladimir Serbinenko <phcoder@gmail.com>
Run terminfo_cls on initing terminfo output to clear the screen and
=== modified file 'util/grub-mkrescue.in'
--- util/grub-mkrescue.in 2010-10-18 20:50:01 +0000
+++ util/grub-mkrescue.in 2011-01-05 16:41:49 +0000
@@ -283,9 +283,9 @@
mkdir -p "${efi_dir}/efi/boot"
# build bootx64.efi
- make_image "${efi64_dir}" x86_64-efi "${efi_dir}"/efi/boot/bootx64.efi ""
+ make_image "${efi64_dir}" x86_64-efi "${efi_dir}"/efi/boot/bootx64.efi "part_msdos fat"
# build bootia32.efi
- make_image "${efi32_dir}" i386-efi "${efi_dir}"/efi/boot/bootia32.efi ""
+ make_image "${efi32_dir}" i386-efi "${efi_dir}"/efi/boot/bootia32.efi "part_msdos fat"
mformat -C -f 2880 -L 16 -i "${iso9660_dir}"/efi.img ::
mcopy -s -i "${iso9660_dir}"/efi.img ${efi_dir}/efi ::/
next reply other threads:[~2011-01-06 13:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-05 16:45 Mario Limonciello [this message]
2011-01-06 14:27 ` [PATCH] Explicitly build msdos partition support into EFI executables KESHAV P.R.
2011-01-06 14:45 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-06 17:18 ` Mario Limonciello
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4D24A00C.1010100@Dell.com \
--to=mario_limonciello@dell.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).