Hello.
The error states @minimal is missing, and you are missing lrzsz. Can you please provide your kickstart? Otherwise we won’t be able to assist you.
Thank you for your reply, here is my complete ks.cfg file content
cat ks/ks.cfg
#version=DEVEL
System authorization information
auth --enableshadow --passalgo=sha512
Use CDROM installation media
cdrom
Use graphical install
#graphical
text
selinux --disable
Run the Setup Agent on first boot
firstboot --enable
#ignoredisk --only-use=sda
Keyboard layouts
keyboard --vckeymap=us --xlayouts=‘us’
System language
lang en_US.UTF-8
Network information
network --hostname=RockyLinux94
Root password
rootpw --iscrypted $6$97Z20epROvgB.qbh$lCi141e2Dt9OM2BpN5c9awFqVOVfzKmekpGudwH4LEH3xmZavAbWNdJP0axOr0Aeg1PpAybX9Nlb1pdejnpeq1
System services
services --disabled=“chronyd”
System timezone
timezone Asia/Shanghai --utc
System bootloader configuration
bootloader --location=mbr --boot-drive=sda --append=“net.ifnames=0 biosdevname=0”
Partition clearing information
clearpart --all --initlabel
Disk partitioning information
part /boot --fstype=“xfs” --ondisk=sda --size=2048
part swap --fstype=“swap” --ondisk=sda --size=4096
part / --fstype=“xfs” --grow --size=1 --ondisk=sda --asprimary
timesource --ntp-disable
reboot
%packages
@^minimal-environment
net-tools
wget
%end
%addon com_redhat_kdump --disable --reserve-mb=‘auto’
%end
%anaconda
pwpolicy root --minlen=6 --minquality=1 --notstrict --nochanges --notempty
pwpolicy user --minlen=6 --minquality=1 --notstrict --nochanges --emptyok
pwpolicy luks --minlen=6 --minquality=1 --notstrict --nochanges --notempty
%end
%post
#!/bin/bash
加载网卡驱动
modprobe i40e
modprobe tg3
配置秘钥
mkdir -p /root/.ssh
[[ -f /root/.ssh/authorized_keys ]] && touch /root/.ssh/authorized_keys
chown -R root.root /root/.ssh && chmod 700 /root/.ssh && chmod 600 /root/.ssh/authorized_keys
echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCbrTUO440yARtPuijUOSGlHVG8vrZlZ1RvnuuVGQEO5oFWh8a7c1nKDbD9KK2iSkJcH3rJcQ/5k1OHh2KDZA2qvOMIlwRn4v
f2Txi3O1CcuYfQ5KnEwOwjineyBSBLVuulndyj4gOfq56JciifQSSfspVkSgE0tvhaMkwAnpn9PsVw/AQYSq5k80BmF1Tg16ssxHv0mB8YSgci0quI+Y6WYewrjDxHq/60IHVshmbR/4
UefKwacnHD9nXbruzuTNSYLaLwKx8kETbZ7h6d9u4UW9dwCT1hOyL6xc5uXtrru/XqJYOya51Z2571BrCGsg2/iZxYCKYyTUPX9BjI+2Fd root@oif-obo1’ >> /root/.ssh/auth
orized_keys
echo 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDow+oDsG9X8dz5p/FmvvlWs8Qcq7b2JtLTkmBDpaFfXnyR+60OLbtoyHPQH1c285BNi/pDbKYX2x3ZJ6/rN9VJs4SUCGp5qs
uNZZJw+UipFf2SCoHAJ+CZf7a8YoTpAqS9FKglwvA/UjCy4rJUD9EXRfafx5y8jgciwMNB59QdUHn0k0L2LCyXFrBoVpCYiddEbg/IwTWwur5XSN2OoUYBshaqKBm7puVVVomSCZjmXT
G2zpPrj/yb+acJx0DBrJYIEseEhgKrdIxJpAHSjhHKzIfwj8eiJdVUvlPQgJkf0HvUpXF+qB8yPDOfLgb+MFvY8aUZt73OezOAqTtbjZ2l root@glb-obo1’ >> /root/.ssh/auth
orized_keys
%end
First, please use/add code tags on the post. They make “program text” easier to read.
%packages
@^minimal-environment
net-tools
wget
%end
These do not explain the errors.
Note: this section:
could be:
# 配置秘钥
sshkey --username=root "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCbrTUO440yARtPuijUOSGlHVG8vrZlZ1RvnuuVGQEO5oFWh8a7c1nKDbD9KK2iSkJcH3rJcQ/5k1OHh2KDZA2qvOMIlwRn4vf2Txi3O1CcuYfQ5KnEwOwjineyBSBLVuulndyj4gOfq56JciifQSSfspVkSgE0tvhaMkwAnpn9PsVw/AQYSq5k80BmF1Tg16ssxHv0mB8YSgci0quI+Y6WYewrjDxHq/60IHVshmbR/4UefKwacnHD9nXbruzuTNSYLaLwKx8kETbZ7h6d9u4UW9dwCT1hOyL6xc5uXtrru/XqJYOya51Z2571BrCGsg2/iZxYCKYyTUPX9BjI+2Fd root@oif-obo1"
sshkey --username=root "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDow+oDsG9X8dz5p/FmvvlWs8Qcq7b2JtLTkmBDpaFfXnyR+60OLbtoyHPQH1c285BNi/pDbKYX2x3ZJ6/rN9VJs4SUCGp5qsuNZZJw+UipFf2SCoHAJ+CZf7a8YoTpAqS9FKglwvA/UjCy4rJUD9EXRfafx5y8jgciwMNB59QdUHn0k0L2LCyXFrBoVpCYiddEbg/IwTWwur5XSN2OoUYBshaqKBm7puVVVomSCZjmXTG2zpPrj/yb+acJx0DBrJYIEseEhgKrdIxJpAHSjhHKzIfwj8eiJdVUvlPQgJkf0HvUpXF+qB8yPDOfLgb+MFvY8aUZt73OezOAqTtbjZ2l root@glb-obo1"
and the ed25519 keys may be neater to use than RSA.
# cat isolinux/ks.cfg
# Generated by Anaconda 34.25.4.9
# Generated by pykickstart v3.32
#version=RHEL9
# Use graphical install
#graphical
text
repo --name="minimal" --baseurl=file:///run/install/source/minimalrce/minimal
%addon com_redhat_kdump --enable --reserve-mb='auto'
%end
#%pre --ignoremissing
#set root=hd0,gpt2
#%end
# Keyboard layouts
keyboard --xlayouts='us'
# System language
lang en_US.UTF-8
# Network information
network --bootproto=dhcp --device=eth0 --ipv6=auto --no-activate
# Use CDROM installation media
cdrom
%packages
@^minimal-environment
net-tools
wget
%end
# Run the Setup Agent on first boot
firstboot --enable
# Generated using Blivet version 3.6.0
ignoredisk --only-use=sda
# Partition clearing information
clearpart --all --initlabel
# System bootloader configuration
bootloader --location=mbr --boot-drive=sda --append="net.ifnames=0 biosdevname=0"
# Disk partitioning information
part /boot --fstype="xfs" --ondisk=sda --size=2048
part swap --fstype="swap" --ondisk=sda --size=4096
part / --fstype="xfs" --ondisk=sda --grow
timesource --ntp-disable
# System timezone
timezone Asia/Shanghai --utc
# Root password
rootpw --iscrypted $6$97Z20epROvgB.qbh$lCi141e2Dt9OM2BpN5c9awFqVOVfzKmekpGudwH4LEH3xmZavAbWNdJP0axOr0Aeg1PpAybX9Nlb1pdejnpeq1
%post
# Update kernel command line arguments
grubby --update-kernel ALL --args="net.ifnames=0 biosdevname=0"
#Install GRUB2 to MBR
grub2-install /dev/sda
grub2-mkconfig -o /boot/grub2/grub.cfg
%end
reboot
Thank~
Used code blocks
clear
Wǒ shǐyòngle shàngmiàn de kickstart wénjiàn, zìdòng yìngdá qù ānzhuāng xìtǒng. Tíshì zhège cuòwù. Wǒ xiǎng shì shénme yuányīn dǎozhìle zhège cuòwù
50 / 5,000
翻译结果
翻译结果
I used the above kickstart file and automatically answered to install the system. This error was prompted. I wonder what caused this error
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.

