I have a Rocky 8.9 server set up as PXE Boot server. I can install centos 7 with it no problem. I cannot get it install rocky 8.9. It makes it to the Rocky 8 Installation menu and an error windows pops up: “An unknown error has occurred. The program has encountered an unknown error.” The only error in the anaconda.log is “TypeError: Release: Field ‘short’ has invalid type: <class ‘NoneType’>”. The installation files were downloaded directly from the rocky repo. I essentially followed the instructions at https://www.lisenet.com/2021/configure-pxe-boot-server-for-rocky-linux-8-kickstart-installation/, but using a local repo instead of a ks file. Below is the configuration setting within my pxe default menu:
LABEL Rocky 8 Manual
MENU LABEL Rocky 8
KERNEL images/rocky/8/vmlinuz
APPEND initrd=images/rocky/8/initrd.img ip=dhcp inst.repo=http://pxe.server.net/install/rocky/8
Again, I am able to set up centos with it, but not rocky 8.9.
I am relatively new to rocky 8 but I set up the pxe server for centos 7 with no issues.
I appreciate any ideas you may have for resolving the problem.
I tried downloading the installation files again thinking it may be corrupt installation files. I also specified the inst.stage2 option in the pxe default configuration file:
LABEL Rocky 8 Manual
MENU LABEL Rocky 8
KERNEL images/rocky/8/vmlinuz
APPEND initrd=images/rocky/8/initrd.img ip=dhcp inst.repo=http://pxe.server.net/install/rocky/8 inst.liveimg inst.text inst.loglevel=debug inst.debug inst.repolist=rocky inst.stage2=http://pxe.server.net/install/rocky/8
I have no issues installing it directly with the same iso that I used to set up the local repo. I am not sure what else to try.
The tutorial you linked is missing a step. Doing a cp *
misses two key files that you need, .treeinfo
and .discinfo
. Without those, you’ll usually run into problems (such as the one you’re currently facing).
Rather than cp
, you’re better off doing an rsync, which will catch everything.
rsync -vrlptDSH --delete /mnt/iso/ /var/ftp/pub/pxe/Rocky8
Check this for more details and examples.
Thanks, nazunalika! It worked. I would not have thought to utilize rsync instead of cp.
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.