Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
ISO file with an inserted kickstart using mkksiso doesn't have updated kernel command line when the generated ISO is started in KVM:
[root@s390x-kvm-008 ~]# echo vnc > sample.ks
[root@s390x-kvm-008 ~]# mkksiso sample.ks boot.iso /var/lib/libvirt/images/ks_boot.iso
Failed to set locale, defaulting to C.UTF-8
INFO:Running... mount -o loop /root/boot.iso /tmp/lorax.imgutils.e293lcjs
INFO:mount: /tmp/lorax.imgutils.e293lcjs: WARNING: device write-protected, mounted read-only.
INFO:Running... isoinfo -d -i /root/boot.iso
INFO:CD-ROM is in ISO 9660 format
INFO:System id: LINUX
INFO:Volume id: RHEL-8-6-0-BaseOS-s390x
INFO:Volume set id:
INFO:Publisher id:
INFO:Data preparer id:
INFO:Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM
INFO:Copyright File id:
INFO:Abstract File id:
INFO:Bibliographic File id:
INFO:Volume set size is: 1
INFO:Volume set sequence number is: 1
INFO:Logical block size is: 2048
INFO:Volume size is: 338565
INFO:El Torito VD version 1 found, boot catalog is in sector 34
INFO:Joliet with UCS level 3 found
INFO:Rock Ridge signatures version 1 found
INFO:Eltorito validation header:
INFO:Hid 1
INFO:Arch 0 (x86)
INFO:ID ''
INFO:Key 55 AA
INFO:Eltorito defaultboot header:
INFO:Bootid 88 (bootable)
INFO:Boot media 0 (No Emulation Boot)
INFO:Load segment 0
INFO:Sys type 0
INFO:Nsect 4
INFO:Bootoff 25 37
INFO:Volume Id = RHEL-8-6-0-BaseOS-s390x
INFO:Using mkisofs to create the new iso
WARNING:No isolinux/isolinux.cfg file found
WARNING:No EFI directory file found
WARNING:No boot/grub/grub.cfg file found
INFO:grafts = [('/tmp/mkksiso-xbwhu2jz/generic.ins', 'generic.ins'), ('/tmp/mkksiso-xbwhu2jz/images', 'images'), ('/root/sample.ks', 'sample.ks')]
I: -input-charset not specified, using utf-8 (detected in locale settings)
Size of boot image is 4 sectors -> No emulation
1.48% done, estimate finish Tue Feb 1 11:41:09 2022
...
98.95% done, estimate finish Tue Feb 1 11:41:09 2022
Total translation table size: 2048
Total rockridge attributes bytes: 1375
Total directory bytes: 2048
Path table size(bytes): 24
Max brk space used 0
338563 extents written (661 MB)
INFO:Running... umount /tmp/lorax.imgutils.e293lcjs
[root@s390x-kvm-008 ~]#
[root@s390x-kvm-008 ~]# virt-install --cdrom /var/lib/libvirt/images/ks_boot.iso --name test --memory 2048 --disk size=10
...
Later in the installation environment:
[anaconda root@localhost /]# cat /proc/cmdline
ro inst.stage2=hd:LABEL=RHEL-8-6-0-BaseOS-s390x
[anaconda root@localhost /]#
Content of files on the generated ISO:
[root@s390x-kvm-008 ~]# mount -o loop,ro ks_boot.iso iso/
[root@s390x-kvm-008 ~]# ls iso/
generic.ins images sample.ks
[root@s390x-kvm-008 ~]# cat iso/images/cdboot.prm
ro inst.stage2=hd:LABEL=RHEL-8-6-0-BaseOS-s390x
[root@s390x-kvm-008 ~]# cat iso/images/generic.prm
ro ramdisk_size=40000 cio_ignore=all,!condev
inst.ks=hd:LABEL=RHEL-8-6-0-BaseOS-s390x:/sample.ks
[root@s390x-kvm-008 ~]#
Version-Release number of selected component (if applicable):
lorax-28.14.64-1.el8
How reproducible:
Always
Steps to Reproduce:
1. see above
Actual results:
Kickstart installation doesn't start, because the kernel cmdline is not updated with the path to the kickstart file.
Expected results:
Installation starts according to the content of the kickstart file.
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 (lorax 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/RHBA-2022:1785
Description of problem: ISO file with an inserted kickstart using mkksiso doesn't have updated kernel command line when the generated ISO is started in KVM: [root@s390x-kvm-008 ~]# echo vnc > sample.ks [root@s390x-kvm-008 ~]# mkksiso sample.ks boot.iso /var/lib/libvirt/images/ks_boot.iso Failed to set locale, defaulting to C.UTF-8 INFO:Running... mount -o loop /root/boot.iso /tmp/lorax.imgutils.e293lcjs INFO:mount: /tmp/lorax.imgutils.e293lcjs: WARNING: device write-protected, mounted read-only. INFO:Running... isoinfo -d -i /root/boot.iso INFO:CD-ROM is in ISO 9660 format INFO:System id: LINUX INFO:Volume id: RHEL-8-6-0-BaseOS-s390x INFO:Volume set id: INFO:Publisher id: INFO:Data preparer id: INFO:Application id: GENISOIMAGE ISO 9660/HFS FILESYSTEM CREATOR (C) 1993 E.YOUNGDALE (C) 1997-2006 J.PEARSON/J.SCHILLING (C) 2006-2007 CDRKIT TEAM INFO:Copyright File id: INFO:Abstract File id: INFO:Bibliographic File id: INFO:Volume set size is: 1 INFO:Volume set sequence number is: 1 INFO:Logical block size is: 2048 INFO:Volume size is: 338565 INFO:El Torito VD version 1 found, boot catalog is in sector 34 INFO:Joliet with UCS level 3 found INFO:Rock Ridge signatures version 1 found INFO:Eltorito validation header: INFO:Hid 1 INFO:Arch 0 (x86) INFO:ID '' INFO:Key 55 AA INFO:Eltorito defaultboot header: INFO:Bootid 88 (bootable) INFO:Boot media 0 (No Emulation Boot) INFO:Load segment 0 INFO:Sys type 0 INFO:Nsect 4 INFO:Bootoff 25 37 INFO:Volume Id = RHEL-8-6-0-BaseOS-s390x INFO:Using mkisofs to create the new iso WARNING:No isolinux/isolinux.cfg file found WARNING:No EFI directory file found WARNING:No boot/grub/grub.cfg file found INFO:grafts = [('/tmp/mkksiso-xbwhu2jz/generic.ins', 'generic.ins'), ('/tmp/mkksiso-xbwhu2jz/images', 'images'), ('/root/sample.ks', 'sample.ks')] I: -input-charset not specified, using utf-8 (detected in locale settings) Size of boot image is 4 sectors -> No emulation 1.48% done, estimate finish Tue Feb 1 11:41:09 2022 ... 98.95% done, estimate finish Tue Feb 1 11:41:09 2022 Total translation table size: 2048 Total rockridge attributes bytes: 1375 Total directory bytes: 2048 Path table size(bytes): 24 Max brk space used 0 338563 extents written (661 MB) INFO:Running... umount /tmp/lorax.imgutils.e293lcjs [root@s390x-kvm-008 ~]# [root@s390x-kvm-008 ~]# virt-install --cdrom /var/lib/libvirt/images/ks_boot.iso --name test --memory 2048 --disk size=10 ... Later in the installation environment: [anaconda root@localhost /]# cat /proc/cmdline ro inst.stage2=hd:LABEL=RHEL-8-6-0-BaseOS-s390x [anaconda root@localhost /]# Content of files on the generated ISO: [root@s390x-kvm-008 ~]# mount -o loop,ro ks_boot.iso iso/ [root@s390x-kvm-008 ~]# ls iso/ generic.ins images sample.ks [root@s390x-kvm-008 ~]# cat iso/images/cdboot.prm ro inst.stage2=hd:LABEL=RHEL-8-6-0-BaseOS-s390x [root@s390x-kvm-008 ~]# cat iso/images/generic.prm ro ramdisk_size=40000 cio_ignore=all,!condev inst.ks=hd:LABEL=RHEL-8-6-0-BaseOS-s390x:/sample.ks [root@s390x-kvm-008 ~]# Version-Release number of selected component (if applicable): lorax-28.14.64-1.el8 How reproducible: Always Steps to Reproduce: 1. see above Actual results: Kickstart installation doesn't start, because the kernel cmdline is not updated with the path to the kickstart file. Expected results: Installation starts according to the content of the kickstart file.