Skip to content

enhancement: drop BIOS support from harvester-installer binary#1243

Draft
tserong wants to merge 2 commits intoharvester:masterfrom
tserong:wip-remove-bios-support
Draft

enhancement: drop BIOS support from harvester-installer binary#1243
tserong wants to merge 2 commits intoharvester:masterfrom
tserong:wip-remove-bios-support

Conversation

@tserong
Copy link
Member

@tserong tserong commented Mar 13, 2026

Problem:

We need to eventually remove support for legacy BIOS systems. Removing BIOS support from the harvester-installer binary is part of that journey.

Solution:

Make the installer fail when run on BIOS systems. I could arguably have made the installer fail a lot earlier in the process than what I've done here, but the real goal is to leave something readable on the console that indicates what went wrong if someone attempts a PXE install on a BIOS host. It shouldn't be possible to run the installer interactively on a BIOS system anymore because the ISO doesn't support BIOS boot since v1.8.0. Oh, wait, unless maybe someone were to do my kexec hack to boot into the installation environment. Hrm. Might need to rework this slightly. Also we should drop the Force MBR stuff as this will now be obsolete.

Related Issue(s):

harvester/harvester#9855

Test plan:

TBD

Additional documentation or context

Note that we only want installation to fail. The harvester-installer binary should still show the dashboard when run on existing BIOS systems that have been upgraded.

This change is going to break any CI which runs on BIOS VMs.

We need to eventually remove support for legacy BIOS systems.
Removing BIOS support from the harvester-installer binary is
part of that journey.

I could arguably have made the installer fail a lot earlier
in the process than what I've done here, but the real goal is
to leave something readable on the console that indicates what
went wrong if someone attempts a PXE install on a BIOS host.
It shouldn't be possible to run the installer interactively on
a BIOS system anymore because the ISO doesn't support BIOS boot
since v1.8.0.  Oh, wait, unless maybe someone were to do my
`kexec` hack to boot into the installation environment.  Hrm.
Might need to rework this slightly.  Also we should drop the
Force MBR stuff as this will now be obsolete.

Related-to: harvester/harvester#9855
Signed-off-by: Tim Serong <tserong@suse.com>
@tserong tserong marked this pull request as draft March 13, 2026 10:02
Signed-off-by: Tim Serong <tserong@suse.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant