Rocky Linux 9 (USB Based Kickstart) Failing - Unknown Network Kickstart URL

https://forums.rockylinux.org/t/rocky-linux-9-usb-based-kickstart-failing-unknown-network-kickstart-url/10648

post by label on Jul 11, 2023 post by ccnav on Jul 11, 2023 ccnav Jul 2023

Thank you @label for such a fast response!

I would like to do it the custom way if possible; I prefer to know how things work then to use magic boxes with open tickets against it. You seem to be the ideal person i can ask! :rocket: :slightly_smiling_face:

It is my understanding that to add a inst.ks I also need an inst.stage2 to align the mappings through the LABEL entry? I’m basing this off of this guys report here which I understand may not be accurate…

I tried setting up the Volume Id as you suggested:

Extrapolate the label from the source:

isoinfo -d -i Rocky-9.2-x86_64-dvd.iso | sed -n ‘s/Volume id: //p’

Rocky-9-2-x86_64-dvd

cd /root/of/dvd mkisofs -V “Rocky-9-2-x86_64-dvd”
-U
-r
-v
-T
-J
-joliet-long
-A “Rocky-9-2-x86_64-dvd”
-b “isolinux/isolinux.bin”
-c “isolinux/boot.cat”
-no-emul-boot
-boot-load-size 4
-boot-info-table
-o “/path/to/output.iso”
.

implant md5

implantisomd5 “/path/to/output.iso”

The above still produces the same error: Screenshot_test_2023-07-10_12:27:55 Screenshot_test_2023-07-10_12:27:551024×768 4.53 KB

Thoughts?

Edit: I got a bit further; I poorly defined the LABEL reference in the isolinux.cfg file. This appears to have fixed it:

inst.stage2=hd:LABEL=Rocky-9-2-x86_64-dvd inst.repo=hd:LABEL=Rocky-9-2-x86_64-dvd:/ inst.ks=hd:LABEL=Rocky-9-2-x86_64-dvd:/isolinux/kickstart.cfg

The kickstart fails, but that’s okay, at least it’s being loaded (or appears to be) which is a lot further then i was before.

post by label on Jul 11, 2023 label Jul 2023

When I use mkksiso it takes a working ISO, adds the kickstart with proper modifications, and uses xorriso to finalise the ISO. This ISO also works.

As you’re doing this custom, I’m not sure how much I can further help. The only final thing I can suggest is to leave the kickstart in the root. Don’t put it in /isolinux.

append initrd=initrd.img inst.stage2=hd:LABEL=Rocky-9-2-x86_64-dvd inst.text quiet inst.ks=hd:LABEL=Rocky-9-2-x86_64-dvd:/rocky-9-efi.k

Updated: