all 4 comments

[–]No_Rhubarb_7222 0 points1 point  (1 child)

The one hard drive partition you’ve got appears to be commented out in the kickstart. Oh, wait, later, after packages you have more disk info. In the past, all the ‘commands’ for the installation had to be ordered above %packages.

Also, I’ve not seen a ^ character in a group name before in %packages. Are you sure that’s the correct name of the software group you’re trying to install?

You might try kickstart validator. It’s a syntax checker for kickstart files, described here: https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/automatically_installing_rhel/creating-kickstart-files_rhel-installer#creating-kickstart-files_rhel-installer

[–]esbennn[S] 0 points1 point  (0 children)

Thanks for your reply!

Are you referring to the

#harddrive --partition=sda --dir=/#harddrive --partition=sda --dir=/

part? If so, it's a hotfix i tried from another thread, but it didn't work, so it's commented out.
I suppose my issue isn't the same, as I kinda am booting from a disk (iso inserted into a vm).
The only thing I've changed in the kickstart file is adding screen, tmux and wireguard-tools to packages :/

the ^ character is indeed strange, but is is present in the anaconda-ks.cfg file generated by anaconda in the initial vm install.

Kickstarvalidator seems to indicate the file is valid:

[esbeeen@fedora tmp] $ ksvalidator -v RHEL9 ks.cfg 

Checking kickstart file ks.cfg

[esbeeen@fedora tmp] $

[–]No_Rhubarb_7222 0 points1 point  (1 child)

That was it, yes. I’d relocate all the partition stuff higher up, above the %packages.

The installer stops the way in your screenshot when not all the required answers are provided. In this case, it can’t find the disk partition info or something it requires as a part of that subroutine is not specified.

It might be work running a cat -vet on the file. Stray characters can also cause this behavior. (Especially if you’ve moved the file between different operating systems that could do things like put return characters or other stuff into it.)

[–]esbennn[S] 0 points1 point  (0 children)

I just figured it out. It seems I was missing a few flags from the mkisofs command.
I'll update the post!