help-grub
[Top][All Lists]
Advanced

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

Re: Cannot boot from dual bios/uefi boot CD


From: adrian15
Subject: Re: Cannot boot from dual bios/uefi boot CD
Date: Sun, 01 Feb 2015 23:31:42 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.2.0

El 01/02/15 a las 08:21, John Frankish escribió:
Current is 2.02~beta2.
grub-mkrescue creates ISO that is bootable by all platforms for
which grub support is installed. If your system has grub for i386-pc
and > x86_64-efi (and may be i386-efi) installed under standard
directory, grub-mkrescue will build ISO that includes support for
all three and is bootable on all three platforms. If not, this is a
bug. Which is one more reason to use it :)

How do I compile grub for both efi and i386-pc?

It seems like I can have --platform-efi or --platform=pc (and --target=x86_64), 
but not both?

I'm currently having the same questions in order to develop Super Grub2 Disk out of the Grub2 source code.

The problem about grub installation is that it mixes with your own distribution grub installation unless you use a chroot. But you can avoid that by using prefixes.


Please check these files:

grub-build-001-prepare-build.sh
grub-build-002-clean-and-update.sh
grub-build-003-build-all.sh
grub-build-004-install-all.sh

at Super Grub2 Disk git:
https://forja.cenatic.es/plugins/scmgit/cgi-bin/gitweb.cgi?p=supergrub2/supergrub2.git;a=tree

Then it's just a matter of using the appropriate grub-mkrescue binary from the non standard installation directories (Not implemented in Super Grub2 Disk build scripts but soon to be implemented).

adrian15
--
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]