View Issue Details

IDProjectCategoryView StatusLast Update
0008365CentOS-7-OTHERpublic2015-04-01 17:47
Status newResolutionopen 
PlatformOSOS Version7.1
Product Version7.1-1503 
Target VersionFixed in Version 
Summary0008365: DVD ISO file should have minor rev in the ISO 9660 LABEL just like RHEL and Oracle Linux
DescriptionThe ISO label remained the same beween CentOS 7.0 and 7.1, so there no way to distinguish the ISO from the 7.0 iso from the embedded label.

Compare 7.0 vs 7.1 of RHEL, Oracle Linux and CentOS ISOs.

$ file CentOS-7.0-1406-x86_64-DVD.iso
CentOS-7.0-1406-x86_64-DVD.iso: ISO 9660 CD-ROM filesystem data 'CentOS 7 x86_64' (bootable)

$ file CentOS-7-x86_64-DVD-1503.iso
CentOS-7-x86_64-DVD-1503.iso: ISO 9660 CD-ROM filesystem data 'CentOS 7 x86_64' (bootable)

$ file rhel-server-7.1-x86_64-dvd.iso
rhel-server-7.1-x86_64-dvd.iso: ISO 9660 CD-ROM filesystem data 'RHEL-7.1 Server.x86_64' (bootable)

$ file rhel-server-7.0-x86_64-dvd.iso
rhel-server-7.0-x86_64-dvd.iso: ISO 9660 CD-ROM filesystem data 'RHEL-7.0 Server.x86_64' (bootable)

$ file OracleLinux-R7-Server-x86_64-dvd.iso
OracleLinux-R7-Server-x86_64-dvd.iso: ISO 9660 CD-ROM filesystem data 'OL-7.0 Server.x86_64' (bootable)

$ file OracleLinux-R71-Server-x86_64-dvd.iso
OracleLinux-R71-Server-x86_64-dvd.iso: ISO 9660 CD-ROM filesystem data 'OL-7.1 Server.x86_64' (bootable)

This is important when creating custom boot media, and using the Anaconda inst.stage2=hd:LABEL method technique, such as:

title RHEL 7.1 Classroom Server
        root (cd)
        kernel /boot/install/r71/linux initrd=initrd.img inst.stage2=hd:LABEL=RHEL-7.1\x20Server.x86_64 inst.ks=file:/ks.cfg net.ifnames=0 biosdevname=0 inst.geoloc=0 rd.retry=60
        initrd /boot/install/r71/initrd

In this particular use case, the person boots off a custom boot ISO that supports multiple distros, picks the desired distro to install from a menu, and then they swap DVDs.

By using the inst.stage2=hd:LABEL feature of Anaconda it, 1. doesn't assume the boot media is the same as the install media, and 2. if the user inserts the wrong DVD, Anaconda can detect that the proper DVD has been inserted.

But with CentOS 7.0 and 7.1 having the same ISO label, the first stage Anaconda can't detect the wrong ISO has been inserted and you get weird (to the user/admin) error messages about no XFS support in the kernel when the kernel modules won't load because of the vermagic mismatch.

TagsNo tags attached.


There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2015-04-01 17:04 daxkelson New Issue