Created attachment 1269650[details]
isolinux.conf, extlinux.conf of rhvh and rhel
Description of problem:
Using livecd-iso-to-disk to write RHVH.iso to a USB stick, the linux parameters in extlinux.conf produced on the USB are:
label linux
menu label ^Install RHVH 4.1
kernel vmlinuz
append initrd=initrd.img inst.stage2=hd:UUID=ea2fe0e2-0b16-4f4d-b440-3e132471904d ks=hd:LABEL=RHVH-4.1\x20RHVH.x86_64:/ks.cfg quiet
"LABEL=RHVH-4.1\x20RHVH.x86_64" in "ks=hd:.." expression has not been substituted with "UUID=ea2fe0e2-0b16-4f4d-b440-3e132471904d", this will cause installing RHVH via the USB failed with error "/run/install/ks.cfg is missing".
Version-Release number of selected component (if applicable):
livecd-tools-20.4-1.6.el7_2.x86_64
RHVH-4.1-20170404.5-RHVH-x86_64-dvd1.iso
How reproducible:
100%
Steps to Reproduce:
1. Install livecd-tools-20.4-1.6.el7_2.x86_64.rpm on a RHEL 7.3 system.
2. Attach an USB stick to the RHEL 7.3 system.
3. Partition the USB using fdsik cmd, the result is as:
[root@test ~]# fdisk -l /dev/sdf
Disk /dev/sdf: 62.1 GB, 62109253632 bytes, 121307136 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000dcdb9
Device Boot Start End Blocks Id System
/dev/sdf1 * 2048 121307135 60652544 83 Linux
4. Format partition using "mkfs.ext4 /dev/sdf1"
5. Run "livecd-iso-to-disk RHVH-4.1-20170404.5-RHVH-x86_64-dvd1.iso /dev/sdf1".
6. Run "mount /dev/sdf1 /mnt", "cat /mnt/syslinux/extlinux.conf", "umount /mnt"
7. Attach the USB to another machine, and boot from USB to install RHVH.
Actual results:
1. After step6, linux parameters in extlinux.conf are as above.
2. After step7, the installation failed with "/run/install/ks.cfg is missing".
Expected results:
1. After step6, "LABEL=RHVH-4.1\x20RHVH.x86_64" in "ks=.." expression could be substituted with "UUID=...".
2. After step7, installation could finish without error.
Additional info:
1. Manually substitute "ks=hd:LABEL=RHVH-4.1\x20RHVH.x86_64" with "ks=hd:UUID=..." in extlinux.conf could make installation succeed.
2. Using livecd-iso-to-disk to write RHEL.iso to USB stick doesn't has this problem, the linux parameters in extlinux.conf of RHEL is as:
label linux
menu label ^Install Red Hat Enterprise Linux 7.3
kernel vmlinuz
append initrd=initrd.img inst.stage2=hd:UUID=6cb3588d-5ff3-4d8e-8534-eb93a35ad168 quiet
there is no "ks=.." expression in extlinux.conf of RHEL.
Created attachment 1269650 [details] isolinux.conf, extlinux.conf of rhvh and rhel Description of problem: Using livecd-iso-to-disk to write RHVH.iso to a USB stick, the linux parameters in extlinux.conf produced on the USB are: label linux menu label ^Install RHVH 4.1 kernel vmlinuz append initrd=initrd.img inst.stage2=hd:UUID=ea2fe0e2-0b16-4f4d-b440-3e132471904d ks=hd:LABEL=RHVH-4.1\x20RHVH.x86_64:/ks.cfg quiet "LABEL=RHVH-4.1\x20RHVH.x86_64" in "ks=hd:.." expression has not been substituted with "UUID=ea2fe0e2-0b16-4f4d-b440-3e132471904d", this will cause installing RHVH via the USB failed with error "/run/install/ks.cfg is missing". Version-Release number of selected component (if applicable): livecd-tools-20.4-1.6.el7_2.x86_64 RHVH-4.1-20170404.5-RHVH-x86_64-dvd1.iso How reproducible: 100% Steps to Reproduce: 1. Install livecd-tools-20.4-1.6.el7_2.x86_64.rpm on a RHEL 7.3 system. 2. Attach an USB stick to the RHEL 7.3 system. 3. Partition the USB using fdsik cmd, the result is as: [root@test ~]# fdisk -l /dev/sdf Disk /dev/sdf: 62.1 GB, 62109253632 bytes, 121307136 sectors Units = sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disk label type: dos Disk identifier: 0x000dcdb9 Device Boot Start End Blocks Id System /dev/sdf1 * 2048 121307135 60652544 83 Linux 4. Format partition using "mkfs.ext4 /dev/sdf1" 5. Run "livecd-iso-to-disk RHVH-4.1-20170404.5-RHVH-x86_64-dvd1.iso /dev/sdf1". 6. Run "mount /dev/sdf1 /mnt", "cat /mnt/syslinux/extlinux.conf", "umount /mnt" 7. Attach the USB to another machine, and boot from USB to install RHVH. Actual results: 1. After step6, linux parameters in extlinux.conf are as above. 2. After step7, the installation failed with "/run/install/ks.cfg is missing". Expected results: 1. After step6, "LABEL=RHVH-4.1\x20RHVH.x86_64" in "ks=.." expression could be substituted with "UUID=...". 2. After step7, installation could finish without error. Additional info: 1. Manually substitute "ks=hd:LABEL=RHVH-4.1\x20RHVH.x86_64" with "ks=hd:UUID=..." in extlinux.conf could make installation succeed. 2. Using livecd-iso-to-disk to write RHEL.iso to USB stick doesn't has this problem, the linux parameters in extlinux.conf of RHEL is as: label linux menu label ^Install Red Hat Enterprise Linux 7.3 kernel vmlinuz append initrd=initrd.img inst.stage2=hd:UUID=6cb3588d-5ff3-4d8e-8534-eb93a35ad168 quiet there is no "ks=.." expression in extlinux.conf of RHEL.