From: adrian15 <adrian15sgd@gmail.com>
To: The development of GRUB 2 <grub-devel@gnu.org>
Subject: Re: Does grub-mkrescue support UEFI hybrid USB/DVD images?
Date: Sun, 25 Jan 2015 11:51:10 +0100 [thread overview]
Message-ID: <54C4CA9E.4040805@gmail.com> (raw)
In-Reply-To: <54C4A620.5020905@gmail.com>
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/
prev parent reply other threads:[~2015-01-25 10:51 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-01-22 21:25 Does grub-mkrescue support UEFI hybrid USB/DVD images? Kris Moore
2015-01-22 22:15 ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-01-23 9:40 ` Andrei Borzenkov
2015-01-23 9:45 ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-01-23 10:10 ` Andrei Borzenkov
2015-01-23 10:14 ` Thomas Schmitt
2015-01-23 14:40 ` Kris Moore
2015-01-23 16:18 ` Thomas Schmitt
2015-01-23 17:58 ` Andrei Borzenkov
2015-01-23 18:27 ` Thomas Schmitt
2015-01-23 18:29 ` Vladimir 'φ-coder/phcoder' Serbinenko
2015-01-23 18:38 ` Andrei Borzenkov
2015-01-23 19:03 ` Andrei Borzenkov
2015-01-24 0:12 ` adrian15
2015-01-25 8:03 ` adrian15
2015-01-25 8:15 ` adrian15
2015-01-25 10:51 ` adrian15 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=54C4CA9E.4040805@gmail.com \
--to=adrian15sgd@gmail.com \
--cc=grub-devel@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).