Bug 2110864

Summary: edge-installer ISO image can't boot on BIOS VM
Product: Red Hat Enterprise Linux 9 Reporter: Xiaofeng Wang <xiaofwan>
Component: osbuild-composerAssignee: Achilleas Koutsou <akoutsou>
Status: CLOSED ERRATA QA Contact: Xiaofeng Wang <xiaofwan>
Severity: high Docs Contact: Eliane Ramos Pereira <elpereir>
Priority: unspecified    
Version: 9.1CC: akoutsou, ckellner, elpereir, miabbott, obudai, perobins, probinson
Target Milestone: rcKeywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: osbuild-composer-61-1.el9 Doc Type: Enhancement
Doc Text:
.RHEL for Edge installer ISO image can now boot on BIOS VM Previously, when building an RHEL for Edge installer image and booting it with ISO on a BIOS VM to install the Edge system, the image could not boot because there was no BIOS configuration support available. As a consequence, the Installation would hang when installed on the BIOS VM. This update adds support to BIOS, and as a result, boot and install Edge system without error.
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-11-15 09:50:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Xiaofeng Wang 2022-07-26 04:38:31 UTC
Description of problem:
Build edge-installer image and boot with this ISO on BIOS VM to install Edge system. Can't boot with error:

Booting from DVD/CD ...
Boot Failed: Could not read from CDROM (code 0009)

This ISO image can boot on UEFI VM.

After discuss with @bcl, I summary some consolutions:
1. $ sudo xorriso -indev 81dad475-5d3b-40fb-9ab7-e0e42d29b59f-installer.iso -report_el_torito plain -report_system_area plain
xorriso 1.5.4 : RockRidge filesystem manipulator, libburnia project.
No BIOS and UEFI configuration

Drive current: -indev '81dad475-5d3b-40fb-9ab7-e0e42d29b59f-installer.iso'
Media current: stdio file, overwriteable
Media status : is blank
Media summary: 0 sessions, 0 data blocks, 0 data, 47.1g free
xorriso : NOTE : No El Torito information was loaded
xorriso : NOTE : No System Area was loaded

2. Another command have the following output:
El Torito catalog  : 5191  1
El Torito cat path : /boot.catalog
El Torito images   :   N  Pltf  B   Emul  Ld_seg  Hdpt  Ldsiz         LBA
El Torito boot img :   1  UEFI  y   none  0x0000  0x00  14168        5192
El Torito img path :   1  /images/efiboot.img
On a bios bootable image it will also have entries for 
El Torito boot img :   1  BIOS  y   none  0x0000  0x00      4        3620
and isolinux.bin


Version-Release number of selected component (if applicable):
osbuild-60-1.el9.noarch.rpm
osbuild-composer-57-1.el9.x86_64.rpm

How reproducible:
Steps to Reproduce:
1. Deploy a RHEL 9.1 VM
2. git clone https://github.com/virt-s1/rhel-edge.git
3. OCP4_TOKEN=abcdefg QUAY_USERNAME=rhel-edge QUAY_PASSWORD=123456 ./ostree-ng.sh

Actual results:
Installation hang when install on BIOS VM due to booting issue

Expected results:
Boot and install Edge system without error.

Additional info:

Comment 4 Xiaofeng Wang 2022-08-25 14:47:40 UTC
Tested on osbuild-composer-61-1.20220825gitfb102f1.el9.x86.

Comment 7 Xiaofeng Wang 2022-08-31 03:13:02 UTC
Verified on osbuild-composer-62-1.el9.x86_64
Test result: https://github.com/virt-s1/rhel-edge/runs/8104376623?check_suite_focus=true#step:4:3739

Comment 9 errata-xmlrpc 2022-11-15 09:50:32 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: Image Builder security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2022:7950