Red Hat kickstart
Tasks[edit | edit source]
Anaconda boot options[edit | edit source]
It might be necessary to pass in specific system configuration such as network configs (bonded connection, VLANs, static IP) or boot methods to the Linux installer image. Below are some cases I've encountered where I had to use some less well-known options outlined from Red Hat's documentation.
Booting Anaconda with a bonded connection[edit | edit source]
If your install requires pulling data from the network (such as a driver disk or kickstart file), but your interfaces are bonded over two or more interfaces, use the
For example, I bonded two interfaces eno1 and eno2 as bond0:
You must also specify how the IP is obtained using the
Booting Anaconda with a tagged VLAN connection[edit | edit source]
If your network connection involves tagged traffic, you can tell Anaconda to create a VLAN device to access your network using the
For example, to access VLAN 417 via a bond0 interface:
VLANs are specified by the number in one of two supported naming conventions:
Require network access[edit | edit source]
If you require networking for Anaconda to work (such as requiring disk drivers or kickstarts from the network), you should also add the following to ensure that the installation continues once the network is available.
Troubleshooting[edit | edit source]
You can get additional information by appending the following kernel boot arguments:
Anaconda installer doesn't start after boot[edit | edit source]
When booting from network using a kickstart file, Red Hat/CentOS/Rocky Linux is stuck on a systemd screen
Starting Hardware RNG Entropy Gatherer Wake threshold service Starting Hold until boot process finishes up... Starting Login Service... ** Stuck here **
You most likely selected text mode. For some reason, on Rocky Linux 8, Anaconda doesn't appear on tty1 anymore. Instead, it gets started inside a tmux session. If something is causing the kickstart to require user intervention, you need to enter tty2 (Alt - Ctrl - F2) and then enter the tmux session (tmux attach).
Dracut hangs at pre-pivot[edit | edit source]
I hit a snag where dracut hangs after loading the mpt3sas disk driver after booting from a virtual media CD image via iDRAC. I eventually was able to get the boot to work reliably after adding
rd.live.ram to force the entire initrd image to be loaded into ram.
See also[edit | edit source]
- Red Hat Enterprise Linux 8 - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html-single/performing_an_advanced_rhel_installation/index
- Kickstart syntax and available options - https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/installation_guide/chap-anaconda-boot-options