Ettore Di Giacinto
93a0187013
Add support for 32bit EFI devices
...
Some devices (e.g. Intel Sticks 1st gen, and others) has 32bit EFI, which requires a 32bit efi shell.
We build it within the build service.
See https://github.com/Sabayon/sbi-tasks/blob/master/static/grub-efi32bit.yaml
2019-02-25 18:09:47 +01:00
Ettore Di Giacinto
73cc0a1592
grub: need more space
2018-12-02 23:52:14 +01:00
mudler
62e6788d02
[scripts/make_grub_efi] correcting typo bootia32.efi
2015-11-09 16:25:32 +01:00
Fabio Erculiani
38a194805e
[scripts] add more verbosity to make_grub_efi.sh
2014-11-26 09:41:01 +00:00
Fabio Erculiani
876edaee8f
[scripts] rewrite UEFI support, use GRUB2 memdisk and embedded grub.cfg
...
The only reliable way to bootstrap grub2 is to use a memdisk and an
embedded, minimal grub.cfg that does the live media path search and
then chainloads the real grub.cfg.
This change seems to work under VirtualBox and through isohybrid.
This hopefully fixes bug 4004.
2013-03-07 21:40:51 +00:00
Fabio Erculiani
f832bd2e7b
[scripts] do not SecureBoot sign EFI images if SecureBoot private key is not found
2013-01-27 15:32:28 +00:00
Fabio Erculiani
7e1ce87581
[scripts] make sure to remove old id.---.uefi files
2013-01-20 21:21:42 +00:00
Fabio Erculiani
fda7c63e9a
[scripts] use shim EFI files inside chroot
2012-12-29 23:15:27 +01:00
Fabio Erculiani
f1e9240166
[scripts] copy our SecureBoot certificate into the UEFI boot image as well
2012-12-28 09:23:15 +01:00
Fabio Erculiani
27e5d0a71a
[scripts] fix cp, use -R
2012-12-28 09:09:54 +01:00
Fabio Erculiani
6505e860ac
[scripts] create a fake EFI image for x86, to avoid splitting mkisofs parameters
2012-12-27 07:52:41 +01:00
Fabio Erculiani
5e2a4ba97b
[scripts] fix grub2 setup, only support i386
2012-12-26 00:28:08 +01:00
Fabio Erculiani
73005c3e5c
[scripts] copy all the grub modules or grub goes nuts
2012-12-25 21:48:02 +01:00
Fabio Erculiani
2937f223a5
[molecules] make USB boot off UEFI+isohybrid work
2012-12-25 21:29:57 +01:00
Fabio Erculiani
c037cc7516
[scripts] copy the whole UEFI GRUB2 stuff to the EFI Boot Partition image to make isohybrid happy
2012-12-25 17:20:33 +01:00
Fabio Erculiani
dbef67dc42
[scripts] also include hfsplus and bsd modules in our UEFI GRUB2 image
2012-12-25 15:51:41 +01:00
Fabio Erculiani
ce75bc4b14
[scripts] use -p with mkdir
2012-12-05 01:26:16 +01:00
Fabio Erculiani
b5392dbde7
Revert "[scripts] move GRUB2 Live directory from /boot/grub to /boot/sabayon"
...
This reverts commit 392149d9c4 .
Conflicts:
scripts/make_grub_efi.sh
2012-12-04 21:58:30 +01:00
Fabio Erculiani
3cd03a7a5a
[scripts] add cat and reboot modules to grub image
2012-12-03 23:38:26 +01:00
Fabio Erculiani
392149d9c4
[scripts] move GRUB2 Live directory from /boot/grub to /boot/sabayon
...
This is not /boot/grub for a very good reason:
Our Live media uses /boot/sabayon instead of /boot/grub
and this has also the side effect that we can put
/boot/sabayon into the EFI Boot Partition avoiding
name clashing. Our /boot/sabayon inside that partition
will contain a simple grub.cfg doing two things:
1. set the correct prefix to the real grub boot partition
(via set prefix=(hdX,X)/boot/grub
2. load the real grub.cfg file (via configfile (hdX,X)/...)
In this way, we can ship a SecureBoot signed grubx64.efi
file and have it working with all the partition layouts.
The "bootstrap" grub.cfg file is created by our scripts
that are sourced by grub-mkconfig.
2012-12-03 23:18:27 +01:00
Fabio Erculiani
ff4190320a
[scripts] some UEFI related fixes / improvements
2012-12-03 00:51:03 +01:00
Fabio Erculiani
9a9d377c5a
[scripts] fix typo in make_grub_efi.sh
2012-12-02 20:37:58 +01:00
Fabio Erculiani
089a446964
[molecules*] implement SecureBoot thanks to shim and Matthew Garrett
2012-12-02 20:16:07 +01:00
Fabio Erculiani
6323ef45df
[molecules*] Add UEFI support to Live images (using GRUB2 currently in sabayon-limbo)
2012-12-02 15:37:49 +01:00