Problems using mkksiso --cmdline

I’m trying to make an install .iso that automatically loads a kickstart file on a second USB volume with a volume label ‘KS’.

I downloaded a Rocky Linux 10 .iso and then run

mkksiso --cmdline "inst.ks=hd:LABEL=KS:/ks/ks.cfg" Rocky-10.0-x86_64-dvd1.iso Rocky-KS-10.0-x86_64-dvd1.iso

I then write Rocky-KS-10.0-x86_64-dvd1.iso to a micro SD drive using Fedora Media Writer. When I boot from the micro SD drive, I check the boot command in the GRUB menu and "inst.ks=hd:LABEL=KS:/ks/ks.cfg" is not on the boot command line. If I manually add the above to the boot commandline at the GRUB menu, everything works as expected.

I have checked the grub.cfg in the .iso file and also on the microSD drive. The ks command line is present in both grub.cfg files.

What am I doing wrong?

Thanks,

Tony

I copied the EFI/BOOT/grub.cfg file from the .iso file system to the embedded efiboot image in the iso (cp Rocky-10-0-x86_64-dvd/EFI/BOOT/grub.cfg ANACONDA/EFI/BOOT/grub.cfg). Now it works as expected.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.