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/
_______________________________________________
Help-grub mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-grub