From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YFIM7-0002pj-AP for mharc-grub-devel@gnu.org; Sun, 25 Jan 2015 03:15:39 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:60370) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFIM3-0002oX-Qb for grub-devel@gnu.org; Sun, 25 Jan 2015 03:15:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFIM0-0008CP-D8 for grub-devel@gnu.org; Sun, 25 Jan 2015 03:15:35 -0500 Received: from mail-wg0-x234.google.com ([2a00:1450:400c:c00::234]:40392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFILz-0008CI-WF for grub-devel@gnu.org; Sun, 25 Jan 2015 03:15:32 -0500 Received: by mail-wg0-f52.google.com with SMTP id y19so4207906wgg.11 for ; Sun, 25 Jan 2015 00:15:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=6BwLmxGFQivIbj1DVHlYCmDr6+MaspZ8dTuMTaw1SlY=; b=NgK+fcDdK3PQ1RgU96riVut+L3CpKDwCtMLjSQ5Nf8qn7ECHiARLkrHq+fxpHVP9AZ P5Zvh2jE60Esm2CM9TU2mtnc1xXq/ZhTljhlZBnQqnn9O9Noq/0PpkZQ7NxzqkerLSYQ pwrn0+ltg6c+FND7qfpnJQ4gV9WUd80LtoNRhSnQSpsmyWKtBJdhSawxeXRVcvnSrf8g 9s3sdPbE6evirF648y3YlpOS/ZwnFxLTMClmiNOii06iw79TwgQYwpbTrpREamDIoplZ dpQ0Se4cTXuIHIqvBdtpasR9HqVUX533Sd9kEEOk9vHjqJyEapJ00Jn2cstPNSxt37AY F4qA== X-Received: by 10.195.13.77 with SMTP id ew13mr31083070wjd.106.1422173731261; Sun, 25 Jan 2015 00:15:31 -0800 (PST) Received: from [192.168.10.45] (204.Red-88-16-101.dynamicIP.rima-tde.net. [88.16.101.204]) by mx.google.com with ESMTPSA id k3sm9201829wje.30.2015.01.25.00.15.29 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jan 2015 00:15:30 -0800 (PST) Message-ID: <54C4A620.5020905@gmail.com> Date: Sun, 25 Jan 2015 09:15:28 +0100 From: adrian15 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0 MIME-Version: 1.0 To: The development of GRUB 2 Subject: Re: Does grub-mkrescue support UEFI hybrid USB/DVD images? References: <54C16AD2.7090808@pcbsd.org> <54C2E368.4040506@gmail.com> <54C4A362.90206@gmail.com> In-Reply-To: <54C4A362.90206@gmail.com> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c00::234 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 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: Sun, 25 Jan 2015 08:15:37 -0000 El 25/01/15 a las 09:03, adrian15 escribió: > El 24/01/15 a las 01:12, adrian15 escribió: >> El 22/01/15 a las 22:25, Kris Moore escribió: >>> >>> Hey all, >>> >>> We are trying to create hybrid USB/DVD images, and they work just fine >>> on BIOS. However it doesn't seem to work when creating UEFI. >>> >>> We are using the following: >>> >>> # grub-mkrescue -d "/usr/local/lib/grub/x86_64-efi" -o >>> -- -volid "OURLABEL" >>> >>> This image does boot UEFI via DVD, but when copied to a USB stick with >>> dd it fails to boot with the following: >> >> Hi, >> >> I'm going to describe what I use for making a USB/CDROM EFI/x86 >> hybrid image for building SG2D (An improved Grub2 Disk). >> >> But my question (after reading other replies to this question) is why >> Grub2 should be patched for what he wants ? Is it a non standard EFI >> boot maybe? >> >> Thank you. >> >> Debian way >> ========== > > I just wanted to say that recipe does not produce an image that can be > booted from UEFI hard disk. > > I had assumed all this time that it worked (I only tested the EFI CDROM > boot) because if you read it here: > > https://www.gnu.org/software/grub/manual/html_node/Making-a-GRUB-bootable-CD_002dROM.html#Making-a-GRUB-bootable-CD_002dROM > > > > grub-mkrescue -o grub.iso iso > This produces a file named grub.iso, which then can be burned into a CD > (or a DVD), or written to a USB mass storage device. > > So, if I'm not mistaken that's not true when you boot from EFI (Well, I > know that you are fixing it on this thread). > > adrian15 (Hopefully I'm not creating new threads when replying) I had only tested 2.00 version (Where the hard disk is not detected as an EFI boot at all). My 2.02 version from GIT (old commit bac5d1a64ab4191058a8fd4c05f6b3b339e249e7) gives the same result as the OP: error: disk `' not found. Entering rescue mode... grub rescue> So I'll try the suggested patch and reply to the email which announced it so that you can get more than one feedback from it. I guess that in grub 2.02 you made sure that image produced from grub-mkrescue would boot from UEFI hard disk but somehow somewhere a regression was introduced. In any case anyone is wondering I have made my UEFI boot tests thanks to: kvm -bios /usr/share/ovmf/OVMF.fd -boot c -hda super_grub2_disk_hybrid_2.02s1-beta1.iso adrian15 -- Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/donate/