<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-CA" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">From your description, I suspect when you generated the iso, you didn’t label it, or you gave it a different label than “CentOS-8-3-2011-x86_64-dvd”. Also be careful of spaces in the label name. Here is the entry I use:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">append </span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">initrd</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=initrd.img
</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">inst.stage2</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=hd:</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">LABEL</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=CentOS\x207\x20x86_64
</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">inst.ks</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=hd:</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">LABEL</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=CentOS\x207\x20x86_64:/ks.cfg
 inst.sshd inst.graphical inst.noninteractive inst.noshell </span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">net.ifnames</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=0
</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">selinux</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=0 rhgb quiet
</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">vga</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=792
</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">modprobe.blacklist</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=floppy
</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">consoleblank</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=0
</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">biosdevname</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=0
</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">rdblacklist</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=nouveau
</span><span style="font-size:9.0pt;font-family:Menlo;color:#569CD6">nouveau.modeset</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">=0<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">And this is the genisoimage command:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">genisoimage \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -input-charset default \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -U \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -r \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -v \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -T \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -J \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -joliet-long \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -V </span><span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">"CentOS 7 x86_64"</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4"> \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -volset </span>
<span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">"CentOS 7 x86_64"</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4"> \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -A </span><span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">"CentOS 7 x86_64"</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4"> \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -b </span><span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">"isolinux/isolinux.bin"</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4"> \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -c </span><span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">"isolinux/boot.cat"</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4"> \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -no-emul-boot \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -boot-load-size 4 \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -boot-info-table \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -eltorito-alt-boot \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -e </span><span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">"images/efiboot.img"</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4"> \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -no-emul-boot \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    -o </span><span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">"</span><span style="font-size:9.0pt;font-family:Menlo;color:#9CDCFE">${SCRIPT_DIR}</span><span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">/disk.iso"</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">
 \<o:p></o:p></span></p>
<p class="MsoNormal" style="margin-left:36.0pt;line-height:13.5pt;background:#1E1E1E">
<span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4">    </span><span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">"</span><span style="font-size:9.0pt;font-family:Menlo;color:#9CDCFE">${BUILDDIR}</span><span style="font-size:9.0pt;font-family:Menlo;color:#CE9178">/"</span><span style="font-size:9.0pt;font-family:Menlo;color:#D4D4D4"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Greg<o:p></o:p></p>
</div>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">kickstart-list-bounces@redhat.com <kickstart-list-bounces@redhat.com> on behalf of David Barr <dafydd@dafydd.com><br>
<b>Date: </b>Saturday, March 27, 2021 at 17:26<br>
<b>To: </b>kickstart-list@redhat.com <kickstart-list@redhat.com><br>
<b>Subject: </b>`inst.ks` hides installation source on an ISO?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"Courier New"">Good Morning!<br>
<br>
Duck Duck Go searches haven't helped me, and this problem feels like it has an obvious answer if I put the question in front of the right person.<br>
<br>
I'm adding a kickstart reference to an ISO. When I do, Anaconda (I think) can't find the Installation Source. If I drop the "inst.ks" the Installation Source is autodetected. So, an unmodified entry in isolinux/isolinux.cfg looks like this:<br>
<br>
```<br>
label linux<br>
  menu label ^Install CentOS Linux 8<br>
  kernel vmlinuz<br>
  append initrd=initrd.img inst.stage2=hd:LABEL=CentOS-8-3-2011-x86_64-dvd quiet<br>
```<br>
</span><br>
This will autodetect the Installation Source. If I add a kickstart reference:<br>
<br>
```<br>
label linux<br>
  menu label ^Install CentOS Linux 8<br>
  kernel vmlinuz<br>
  append initrd=initrd.img  inst.stag2=hd:LABEL=CentOS-8-3-2011-x86_64-dvd quiet inst.ks=hd:LABEL=CentOS-8-3-2011-x86_64-dvd<br>
```<br>
<br>
No Installation Source is found, but any `repo` entries in the kickstart file will be listed as "Additional Repositories." This is true for any variety of inst.ks reference. ("inst.ks=hd:/dev/sdb", "inst.ks=hd:/dev/sdb:/ks.cfg", etc.)<br>
<br>
Am I not seeing a kickstart entry that specifies the Installation Source? Do I have to add another `append` argument that specifies the Installation Source? What am I missing?<br>
<br>
Thanks!<br>
David<br>
<br>
Previous problems and solutions:<br>
<br>
- <a href="https://unix.stackexchange.com/questions/640232/verified-good-mkisofs-for-centos-8/640786">
https://unix.stackexchange.com/questions/640232/verified-good-mkisofs-for-centos-8/640786</a><br>
- <a href="https://unix.stackexchange.com/questions/641277/centos-8-custom-iso-adding-ks-cdrom-ks-cfg-hangs-the-installer/641278">
https://unix.stackexchange.com/questions/641277/centos-8-custom-iso-adding-ks-cdrom-ks-cfg-hangs-the-installer/641278</a><br>
<br>
-- <o:p></o:p></p>
<p>David/dafydd<o:p></o:p></p>
<p><a href="https://keys.openpgp.org/vks/v1/by-fingerprint/042BC7A61817FD78AC85DD4ACC0B3F78FDDBD9AC">PGP Public Key</a><o:p></o:p></p>
<p>“<a href="https://quoteinvestigator.com/2014/11/27/always-done/">The hardest thing in the world</a> is to change the minds of people who keep saying, ‘But we’ve always done it this way.’ These are days of fast changes and if we don’t change with them, we
 can get hurt or lost.” -- Admiral Grace Hopper<o:p></o:p></p>
</div>
</div>
</body>
</html>