From Syslinux Wiki
Revision as of 16:24, 13 July 2010 by Hhullen (talk | contribs) (Examples)

Jump to: navigation, search


ifplop.c32 is a COM32 module for Syslinux that detects if the PLoP Boot Manager was used to boot a CDROM drive or USB drive, by checking for the presence of the PLoP INT13h hook.

It is only available in Syslinux 4.01 or later.


ifplop.c32 [<plop_detected>] -- [<plop_not_detected>]


You can specify the full command line for each option (PLoP INT13h hook detected or not). Note: you need to remove .bin extension from plpbt.bin file in this case:

ifplop.c32 menu.c32 another.cfg -- plpbt hiddenusb usb1=2

Or you can specify label names, which will be executed, instead:

ifplop.c32 plop_detected -- plop_not_detected

A possible config file in that case could be:

 DEFAULT plopcheck

 # Check for the presence of PLoP (run by default)
 #   When PLoP INT13h hook is found, run the first command (plop_detected)
 #   When PLoP INT13h hook isn't found, run the second command (plop_not_detected)
 LABEL plopcheck
     COM32 ifplop.c32
     APPEND plop_detected -- plop_not_detected

 # When PLoP INT13h hook was found, boot the menu system.
 # PLoP can have added USB 2.0 speed, so the entries we want to boot
 # will be read from disk much faster (supposing that we have a BIOS
 # that only supports USB 1.1 speed, but a mobo with USB 2.0 controllers).
 LABEL plop_detected
     COM32 menu.c32
     APPEND another.cfg

 # PLoP INT13h hook wasn't found, so we boot PLoP, so it can add USB 2.0 support
 # When using "LINUX plpbt.bin", you don't need to remove the .bin extension.
 LABEL plop_not_detected
     LINUX plpbt.bin
     APPEND hiddenusb usb1=2

Why is/can this module be useful?

You may want to boot PLoP by default from Syslinux when you boot from your USB stick/drive:

  1. PLoP can upgrade USB 1.1 speed offered by the BIOS to USB 2.0 speed if you have USB 2.0 controllers on your mobo.
  2. Some BIOSes only can access the first 128GiB (137GB) on USB drives, while internal hard drives don't necessarily suffer from this 128GiB problem.Using PLoPs USB capabilities, you can access the whole drive.

When you select the "USB" entry in PLoP, it will boot your USB stick/drive again and it will boot PLoP again when you have set booting PLoP as DEFAULT boot option in your Syslinux configuration file.

By using ifplop.c32 you can specify which action you want to do the second time your USB stick/drive is booted. So you can load another config file or boot a large hard disk image or whatever you want.

PLoP Boot Manager website