grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does grub-mkrescue support UEFI hybrid USB/DVD images?


From: adrian15
Subject: Re: Does grub-mkrescue support UEFI hybrid USB/DVD images?
Date: Sun, 25 Jan 2015 11:51:10 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]