I’m having a bit of trouble with a Rocky Linux 9 Kickstart file.
Error
dracut-initqueue[xxxx]: Warning: unknown network kickstart URL: hd:ROCKY9-INST:/isolinux/kickstart.cfg
Steps I’m taking
- Fetch the latest ISO from Rocky’s Download URL (
Rocky-9.2-x86_64-dvd.iso
) - Copy it’s contents into a working dir so i can update it’s files slightly.
- Add a
isolinux/kickstart.cfg
- Update
isolinux/isolinux.cfg
to point to kickstart file if option is selected
- Add a
- Rebuild the new
iso
i plan to use to either a DVD or or USB Drive. - Getting the following (for several pages):
dracut-initqueue[xxxx]: Warning: unknown network kickstart URL: hd:ROCKY9-INST:/isolinux/kickstart.cfg
- Eventually i get to a debug prompt after an
Anaconda installer errors end
message withCould not boot
.
So some more details to help out:
- This
isolinux/isolinux.cfg
entry updated was:
Some justification:label workstation menu label ^Install Rocky Linux 9.2 (Custom) kernel vmlinuz append initrd=initrd.img inst.stage2=hd:LABEL=ROCKY9-INST inst.repo=hd:ROCKY9-INST:/ inst.ks=hd:ROCKY9-INST:/isolinux/kickstart.cfg nompath ip=192.168.1.2::192.168.1.1:255.255.255.0:myhostname:enp0s3:none acpi=off
- Assigned the label hoping to leverage it for the install [based on StackExchange Advice here for RHEL8 Kickstarts](CentOS 8 Custom ISO - Adding `ks=cdrom:/ks.cfg` Hangs the Installer - Unix & Linux Stack Exchange
- Got RHEL 8 Linux kickstart syntax changes (error: “reached basic target”) at first and had to add an
ip:
entry just to be able to boot further into the kickstart even though i don’t need the network at all (i found that odd) acpi=off
added only because the workstation it will run on can not hibernate. This was what i used for all previous kickstarts (i went from CentOS 5, to CentOS 7, to (now) CentOS 9), so i’m still juggling all of the new/changed kickstart directivesnompath
added after i got a strange crash at first (testing using virt-install right now); this seemed to resolve it.
The other thing i can share is my kickstart (just doing a basic one right now - likely missing lots of stuff). But i’m not to bothered as I can’t even get to this file yet. Still stuck in the isolinux
conundrum above
# System Language UTF-8
lang en_US.UTF-8
# Keyboard Configuration
keyboard --vckeymap=us --xlayouts='us'
# Firewall
firewall --enabled --ssh --http
# Bootloader
# consoleblank=0 disables virtual console from blanking
bootloader --location=mbr --append="consoleblank=0 rhgb quiet crashkernel=auto"
# Logging
logging --level=info
# Root password
rootpw --iscrypted <redacted>
# User admin
user --groups=wheel,users --name=admin --password=<redacted>. --iscrypted --gecos="Account"
#System authorization infomation
auth --useshadow --passalgo=sha512
#SELinux Configuration
selinux --permissive
#Disable First Boot Startup
firstboot --disable
# Accept End User License Agreement
eula --agreed
# UTC Time
# To see all timezones, type: timedatectl list-timezones
# --utc the system is assumed to be synced to UTC
timezone UTC --utc
%addon com_redhat_kdump --disable
%end
Any advice on making a USB/CD based kickstart with Rocky Linux 9 would be most appreciated. I would love to know what i’m doing wrong!