Kickstarting Linux without a DHCP server


Kickstart is a super useful techology for performing Linux installations. Typically when you type linux ks=XXX from the boot menu:

boot: linux ks=floppy:/ks.cfg

The host will use DHCP to acquire an IP address. If a DHCP server isn’t available on the network you want to perform the kickstart on, you can forego DHCP and assign a static IP address by appending the “ip=,” “netmask=,” “gateway=” and “dns=” options to the kickstart command line:

boot: linux ks=flopp:/ks.cfg ip=192.168.1.10 netmask=255.255.255.0 gateway=192.168.1.1 dns=192.168.1.1

This can come in handy!

This article was posted by Matty on 2007-01-13 09:47:00 -0400 -0400