Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is it possible to configure dhcpd.conf such that a specific host group would use an additional kernel boot parameter passed on to the kernel loading?


share|improve this question
up vote 2 down vote accepted

It is not DHCP who can do this, but PXE.

An example (not necessarily useful for you) dhcpd.conf file:

allow booting;
allow bootp;
default-lease-time      600;
max-lease-time          7200;
option domain-name      "";
ddns-update-style       none;
log-facility            local7;
deny unknown-clients;
subnet netmask {
  option routers     ;
  option subnet-mask ;
  option domain-name-servers;
  filename                     "pxelinux.0";
  next-server        ;
    host foo {
      hardware ethernet        f4:xx:46:xx:xx:67;
      fixed-address  ;
      option host-name         "foo";

I have used a rule to match a specific MAC address, modify to match a group as needed. The next-server and filename parameter tell the host requesting an IP (and matching the requirements) to boot using the pxelinux.0 file, that can be found in

The TFTP server at that IP address will typically have a default configuration in the lines of:

default menu.c32
prompt 0

menu title PXE Boot Menu
menu include pxelinux.cfg/graphics.conf
menu autoboot Starting Local System in # seconds

label rhel6
  menu label Install - ^RHEL6 64
  kernel rhel/6/x86_64/vmlinuz
  initrd rhel/6/x86_64/initrd.img
  append ks= ksdevice=eth0

You can use the append parameter here to add any valid custom value to the kernel.

share|improve this answer
OK, I solved it with PXE now. Thank you, dawud! – Pavel Jul 2 '13 at 16:00

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.