From Syslinux Wiki
Revision as of 20:51, 7 July 2010 by Hhullen (talk | contribs) (Category added)

Jump to: navigation, search


ifcpu64.c32 is a comboot module for Syslinux that check's the CPU flags for 64-bitness (and optionally for 32-bit PAE support) and loads the appropriate label in a pxelinux.cfg file.

This is only available in Syslinux 3.71 or later.


  • working Syslinux environment
  • two kernel images
  • one 32bit environment or an additional 64bit environment


ifcpu64.c32 64bit-label [-- pae-label] -- 32bit-label

The use of -- is required! The PAE is also optional.


Here is an example pxelinux.cfg file for booting

label ifcpu64-1
  kernel ifcpu64.c32
  append system_64 -- system_32

label system_64
  kernel kernel64
  append initrd=ramfs.x86_64.cgz root=/dev/ram0

label system_32
  kernel kernel32
  append initrd=ramfs.x86.cgz root=/dev/ram0

Further Reading


See Also

  • Ifcpu.c32 64 - Detection of 64bits capable CPUs