Difference between revisions of "Ifcpu.c32"

From Syslinux Wiki
Jump to: navigation, search
(Adding ifcpuhvm)
m (Ifcpuhvm.c32 moved to Ifcpu.c32: ifcpu is more generic)
(No difference)

Revision as of 19:50, 29 November 2009


ifcpuhvm.c32 is a comboot module for Syslinux that check's the CPU flags for hardware virtualisation(vmx|svm) and loads the appropriate label in a pxelinux.cfg file.

This is only available in Syslinux 3.84 or later.


  • working Syslinux environment
  • two kernel images
  • one environment that requires hvm and one regular environment.


ifcpuhvm.c32 hvm_label -- regular_label

The use of -- is required!


Here is an example pxelinux.cfg file for booting

label boot_kernel
     com32 ifcpuhvm.c32
     append boot_kernel_xen -- boot_kernel_regular
label boot_kernel_xen
     com32 mboot.c32
     append xen.gz dom0_mem=262144 -- vmlinuz-xen console=tty0 root=/dev/hda1 ro --- initrd.img-xen
 label boot_kernel_regular
     kernel vmlinuz_64
     append ...

Further Reading