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 09:15:28 +0100 [thread overview]
Message-ID: <54C4A620.5020905@gmail.com> (raw)
In-Reply-To: <54C4A362.90206@gmail.com>
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 <outfile> <dir>
>>> -- -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/
next prev parent reply other threads:[~2015-01-25 8:15 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 [this message]
2015-01-25 10:51 ` adrian15
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=54C4A620.5020905@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.