Bug 1525458

Summary: Build Fedora .iso images with El-Torito boot information on s390x
Product: [Fedora] Fedora Reporter: David Hildenbrand <dhildenb>
Component: loraxAssignee: Brian Lane <bcl>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 27CC: anaconda-maint-list, bcl, dmach
Target Milestone: ---   
Target Release: ---   
Hardware: s390x   
OS: All   
Whiteboard:
Fixed In Version: lorax-28.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-17 18:31:14 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 David Hildenbrand 2017-12-13 11:31:54 UTC
Description of problem:
Currently it is not possible to boot a KVM guest on s390x from a Fedora CD-ROM ISO image. The firmware that bootstraps a KVM guest expects the so-called El-Torito boot information in an ISO image, but currently the Fedora ISO images are built without this El-Torito boot information on s390x. So please add support for El-Torito in the s390x Fedora ISO images. Other distributions already include this in their images.

Version-Release number of selected component (if applicable):
any

How reproducible:
100%

Steps to Reproduce:
1. Download the Fedora ISO for s390x (e.g. Fedora-Everything-netinst-s390x-27-1.6.iso)

$ wget https://download.fedoraproject.org/pub/fedora-secondary/releases/27/Everything/s390x/iso/Fedora-Everything-netinst-s390x-27-1.6.iso

2. Create a qcow image

$ qemu-img create -f qcow2 guest.qcow2 8G

3. Run qemu-kvm to start the guest with the ISO image, e.g.:

$ /usr/libexec/qemu-kvm -nographic -m 2G -device virtio-scsi -drive \
    file=Fedora-Everything-netinst-s390x-27-1.6.iso,format=raw,if=none,id=c1 \
    -device scsi-cd,drive=c1 -hda guest.qcow2


Actual results:
LOADPARM=[........]
Using virtio-scsi.
SCSI CD-ROM detected.
No suitable boot entry found on ISO-9660 media!


Expected results:
Guest boots from ISO and is able to install.


Additional info:

To reproduce, one can also (soon) use upstream qemu TCG e.g. on x86. Ask me for details if you need details or want it to be verified.

Comment 1 Brian Lane 2017-12-13 19:04:58 UTC
Note that this feature is included in lorax 28.2, I can back-port it to the F27 version, but new media will not be created -- you will have to build your own.

Comment 2 David Hildenbrand 2017-12-14 12:45:37 UTC
Brian, meaning it should be included starting with Fedora 28?

Thanks!

Comment 3 Brian Lane 2018-05-17 18:31:14 UTC
This is fixed in lorax-28.2-1