https://fedoraproject.org/wiki/Changes/BIOSBootISOWithGrub2

This document represents a proposed Change. As part of the Changes
process, proposals are publicly announced in order to receive
community feedback. This proposal will only be implemented if approved
by the Fedora Engineering Steering Committee.

== Summary ==
Modify [https://github.com/weldr/lorax/tree/master/share/templates.d/99-generic
lorax-generic-templates] to use GRUB2 when booting the boot.iso on
BIOS systems, instead of syslinux. Upstream syslinux development is
dead, and the Fedora maintainer would like to drop the package from
the distribution. GRUB2 works as a replacement in most situations and
continues to have upstream support.

== Owner ==
* Name: [[User:bcl| Brian C. Lane]]
* Email: b...@redhat.com


== Detailed Description ==
After the recent discussion surrounding removing BIOS support from the
boot.iso I have modified the templates used to build it to use GRUB2
with help from the xorriso author Thomas Schmitt. In testing so far
this seems to work in the majority of cases, which should be
sufficient to keep Fedora working on most BIOS systems.

== Feedback ==
The community is strongly in favor of continuing to support BIOS
booting for the boot.iso, we figured out how to use GRUB2 instead of
syslinux so that we can continue to support BIOS systems.

== Benefit to Fedora ==
The benefit to Fedora is that it will continue to be available on BIOS
systems, at least until GRUB2 stops supporting it.

== Scope ==
* Proposal owners:
Update lorax-generic-templates to use GRUB2. See the
[https://github.com/weldr/lorax/pull/1226 Lorax PR]

* Other developers:
Pungi uses the boot.iso as the basis for the DVD and may need changes.
I have opened a [https://pagure.io/pungi/issue/1608 Pungi issue] to
track this.

* Release engineering: [https://pagure.io/releng/issues/10788]
* Policies and guidelines: N/A (not needed for this Change)
* Trademark approval: N/A (not needed for this Change)
* Alignment with Objectives:


== Upgrade/compatibility impact ==
This will have no effect on upgrades, it only effects the installation
boot media.

== How To Test ==
Testing can be done with the test iso from
[https://bcl.fedorapeople.org/boot-grub2-f36.iso] or by checking out
the [https://github.com/weldr/lorax/pull/1226 Lorax PR] and running
Lorax from the git repo to build a new boot.iso locally:

 sudo PATH="./src/sbin:$PATH" PYTHONPATH=./src/ ./src/sbin/lorax \
 -p Fedora -v rawhide -r rawhide \
 -s 
https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/
\
 --logfile=lorax-build.log --sharedir ./share/ --tmp /var/tmp/ \
 ./rawhide-lorax/ |& tee lorax-build-out.log


== User Experience ==
Users will notice that the boot.iso menu is now using GRUB2 when
booting on BIOS and UEFI systems.

== Dependencies ==
Pungi uses Lorax to create the base of the DVD, it then repackages it
without using the templates. These changes may cause problems for that
workflow, an issue has been filed with Pungi for this.

== Contingency Plan ==

* Contingency mechanism: I will revert the changes to the templates
and return to syslinux.
* Contingency deadline: Beta Freeze
* Blocks release? Yes

If the change does not work we can easily fall back to the previous
templates, as long as syslinux is still available.
Without syslinux, and without this change, we will have to remove BIOS
support from the boot.iso as implemented in
[https://github.com/weldr/lorax/pull/1205 this draft PR]

== Documentation ==
There will be documentation included in the Lorax PR.

== Release Notes ==


-- 
Ben Cotton
He / Him / His
Fedora Program Manager
Red Hat
TZ=America/Indiana/Indianapolis
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to