From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1YFKmm-0005jg-Km for mharc-grub-devel@gnu.org; Sun, 25 Jan 2015 05:51:20 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:50121) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFKmk-0005jZ-2v for grub-devel@gnu.org; Sun, 25 Jan 2015 05:51:19 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YFKmg-0006F8-ME for grub-devel@gnu.org; Sun, 25 Jan 2015 05:51:18 -0500 Received: from mail-we0-x22e.google.com ([2a00:1450:400c:c03::22e]:48435) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YFKmg-0006F3-FM for grub-devel@gnu.org; Sun, 25 Jan 2015 05:51:14 -0500 Received: by mail-we0-f174.google.com with SMTP id x3so4569018wes.5 for ; Sun, 25 Jan 2015 02:51:13 -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=YgG8QwrysOwqh092SMdGeZsRNauJRKYugrPUpmASO00=; b=poSg786wJ/PyNaai8gmfcK2ult0WWb3zPN8BZvTS9bOVnVDABq3n5cj8idpq7CtToF 7UMv16Zn5mqkLZsTLyJqnzpQ45ExJ5D0/eHp5OOyt8Uwo65GzHD5bQgNVsyZwQphd3X4 u00TJSiKO7r508gDUOdGSAbK0NMqbICxzesA9cJk8YmBtWDISrGqTxAgB0FqDvt/VjCa xlMw351zHLOLzX0RhFKLnRJYF+RLEtE2a3UYgjgTPYyNqAfMfpvMYEur4rF+NYnADz4T FoVfkJ9EPd0Ju4ix1HesAipxf5gBIlt1PJATOIFw3y1DPZVyBgQxWXQ0THOkCsCTVWr+ YI3A== X-Received: by 10.194.79.226 with SMTP id m2mr32543080wjx.60.1422183073513; Sun, 25 Jan 2015 02:51:13 -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 bo3sm9654088wjb.44.2015.01.25.02.51.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 25 Jan 2015 02:51:12 -0800 (PST) Message-ID: <54C4CA9E.4040805@gmail.com> Date: Sun, 25 Jan 2015 11:51:10 +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> <54C4A620.5020905@gmail.com> In-Reply-To: <54C4A620.5020905@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:c03::22e 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 10:51:19 -0000 El 25/01/15 a las 09:15, adrian15 escribió: > 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ó: >>>> > (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 I confirm you that using current GIT head as a base (commit dd430afbf874f6212742c079d72b4b9e959e0542) my steps for making two-dimensional hybrid disk (Both CDROM / Harddisk and BIOS / EFI) seem to work ok. So I confirm that you have succesfully fixed the problem about grub rescue not finding grub device which the OP reported. I paste here my steps here again (I know the steps can be improved). How do I build and prepare my system ------------------------------------ Make sure no Debian grub package is found in chroot apt-get remove '.grub.' Grub2 (efi+pc)) Build and installation # Make sure we are testing the right revision mkdir grub_upstream cd grub_upstream git clone git://git.savannah.gnu.org/grub.git . git checkout COMMIT-TO-TEST # Remove any non git related file - BEGIN git reset --hard git clean -f -d git clean -f -x -d # Remove any non git related file - END # Build efi based grub and install it - BEGIN ./autogen.sh && ./configure --enable-grub-mkfont --with-platform=efi && make # Dont forget to delete any rest of previous installation - BEGIN sudo rm -rf /usr/local/etc/grub.d/ /usr/local/bin/grub-* /usr/local/share/grub/ # Dont forget to delete any rest of previous installation - END sudo make install # Build efi based grub and install it - END make clean # Prepare for next build ./configure --enable-grub-mkfont --with-platform=pc && make # Prepare for a i386 build sudo make install # Install i386 build Super Grub2 Disk build ---------------------- sudo grub-mkrescue --output=/tmp/test1.iso -- Support free software. Donate to Super Grub Disk. Apoya el software libre. Dona a Super Grub Disk. http://www.supergrubdisk.org/donate/