grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Explicitly build msdos partition support into EFI executables
@ 2011-01-05 16:45 Mario Limonciello
  2011-01-06 14:27 ` KESHAV P.R.
  2011-01-06 14:45 ` Vladimir 'φ-coder/phcoder' Serbinenko
  0 siblings, 2 replies; 4+ messages in thread
From: Mario Limonciello @ 2011-01-05 16:45 UTC (permalink / raw)
  To: grub-devel


[-- 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 ::/


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-01-06 17:18 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-05 16:45 [PATCH] Explicitly build msdos partition support into EFI executables Mario Limonciello
2011-01-06 14:27 ` KESHAV P.R.
2011-01-06 14:45 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-01-06 17:18   ` Mario Limonciello

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).