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
=== 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 <[email protected]>
+
+        * util/grub-mkrescue.in: Explicitly build part_msdos and vfat into
+        efi executables.
+
 2011-01-05  Vladimir Serbinenko  <[email protected]>
 
 	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 ::/

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to