From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1Paq4V-0006wl-LC for mharc-grub-devel@gnu.org; Thu, 06 Jan 2011 08:40:07 -0500 Received: from [140.186.70.92] (port=46257 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PaWU6-00071o-Ck for grub-devel@gnu.org; Wed, 05 Jan 2011 11:45:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PaWU4-0004uB-GO for grub-devel@gnu.org; Wed, 05 Jan 2011 11:45:14 -0500 Received: from ausxippc101.us.dell.com ([143.166.85.207]:6407) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PaWU4-0004tZ-D0 for grub-devel@gnu.org; Wed, 05 Jan 2011 11:45:12 -0500 X-Loopcount0: from 10.9.160.253 Message-ID: <4D24A00C.1010100@Dell.com> Date: Wed, 05 Jan 2011 10:45:00 -0600 From: Mario Limonciello User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101208 Lightning/1.0b2 Thunderbird/3.1.7 MIME-Version: 1.0 To: grub-devel@gnu.org Content-Type: multipart/mixed; boundary="------------050607060501090203090101" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Thu, 06 Jan 2011 08:40:05 -0500 Subject: [PATCH] Explicitly build msdos partition support into EFI executables X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 05 Jan 2011 16:45:19 -0000 This is a multi-part message in MIME format. --------------050607060501090203090101 Content-Type: multipart/alternative; boundary="------------010002090402030702080703" --------------010002090402030702080703 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 --------------010002090402030702080703 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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
--------------010002090402030702080703-- --------------050607060501090203090101 Content-Type: text/x-patch; name="efi_fat32.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="efi_fat32.patch" === 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 + + * util/grub-mkrescue.in: Explicitly build part_msdos and vfat into + efi executables. + 2011-01-05 Vladimir Serbinenko 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 ::/ --------------050607060501090203090101--