Cannot install a system using a kickstart when RHEL 8.3 DVD is connected to a USB port

https://access.redhat.com/solutions/5783271

Solution Verified - Updated June 13 2024 at 11:48 PM - English Environment Red Hat Enterprise Linux 8.3 and later Kickstart installations DVD or DVD image on USB port Issue When the RHEL 8.3 installation DVD is connected to a USB port and the kickstart used ignores some disks, the kickstart installation fails in error (message found in the /tmp/anaconda.log)

Raw anaconda.log:14:30:23,312 WRN kickstart: Command cdrom will be parsed in DBus module. […] anaconda.log:14:30:32,091 ERR payload.manager: PayloadError: Found no CD-ROM Kickstart excerpt is shown below (both cdrom and ignoredisk are specified)

Raw cdrom […] ignoredisk –only-use=sda autopart

Partition clearing information

clearpart –linux –initlabel –drives=sda Resolution The solution consists in specifying the installation medium as a harddrive instead of cdrom, as shown in the example below:

Original kickstart excerpt

Raw cdrom Modified kickstart excerpt

Raw harddrive –partition=/dev/disk/by-label/RHEL-8-3-0-BaseOS-ppc64le –dir=/ In the example above, the DVD image is a RHEL 8.3.0 DVD for ppc64le architecture. Adjust the label as required, e.g. specify RHEL-8-3-0-BaseOS-x86_64 for a RHEL 8.3.0 DVD on x86_64 architecture.

Root Cause Because the DVD or DVD image is located on a USB port, the DVD is seen as a harddrive, not as a cdrom. Due to excluding hard disks through using ignoredisk, Anaconda auto-excludes the DVD itself. The issue is tracked by BZ 1914955 - [Regression] Cannot install system using DVD on USB when ignoredisk is specified in kickstart

Product(s) Red Hat Enterprise LinuxComponent anacondaCategory Troubleshoot This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Was this helpful?

People who viewed this solution also viewed Can’t kickstart RHEL6 install when booting from DVD Solution - 7 Aug 2024 Installation DVD Discussion - 23 Nov 2016 When installing RHEL 5 from kickstart and using RHEL 6 installation DVD to boot, the installation fails Solution - 5 Aug 2024 Get notified when this content is updated Comments Newbie Add your comment: Add comment Send notifications to content followers Submit

Guru 24463 points Apr 26, 2022 5:01 AM RJ Hinton says: Community Leader Dear Red Hat,

Recommend updating this article to include more current editions of RHEL such as 8.5 (as I type this), or making changes to remind the reader to check their specific mount point so that this works for people who might otherwise not know to make allowances for newer versions of RHEL

Kind Regards, RJ

Reply Newbie 5 points Dec 6, 2022 2:18 AM Daniel Lohin says: With RHEL and its use of Appstream you need specify Upstream as a seperate repository because it no longer does this automatically when something other than CD-ROM is specified:

repo –name=”AppStream” –baseurl=file:///run/install/repo/AppStream/

This fixed my issues with mixing packages.

Updated: