LTSPMultiboot

Revision 4 as of 2006-04-21 13:43:16

Clear message

This page describes the steps needed to setup PXE network booting as well as local disk booting

Using the below method instead of the PXE clients booting straight off the network, the user is displayed a message and is allowed to choose whether to boot from the network or from the local hard drive. In this way, establishments how already have machines setup with local disk booting, can utilise both systems without having to modify anything on the client HDD.

We need to first edit the pxelinux.cfg/default file to incorporate the choices for booting. The syntax is similar to lilo's configuration. More information can be found at http://syslinux.zytor.com/faq.php#config Syslinux. First take a look at the configuration below and we will break it down line by line.

DEFAULT localboot
TIMEOUT 50
PROMPT 1
DISPLAY display.msg

LABEL linux
   KERNEL vmlinuz
   APPEND ro initrd=initrd.img quiet splash

LABEL localboot
   LOCALBOOT 0

This overall configuration will present the user with a boot prompt. After 5 seconds, the default choice is made which is the localboot option. Users will have the choice to type in either localboot or linux, which will boot the respective operating system.

DEFAULT localboot
TIMEOUT 50
PROMPT 1
DISPLAY display.msg

The DEFAULT keyword specifies which boot option will be chosen once the timeout runs out. The TIMEOUT option specifies how long to wait before booting the default option. This is measured in 1/10 of a second. Thus 50 = 5seconds. The PROMPT option specifies whether the PXE software displays the boot: prompt to enable users to choose an operating system. The DISPLAY option displays a text file on the screen as an introduction In this case, the file is called display.msg and must be in the root LTSP directory, alongside the pxelinux.0 file.

==============================================================================

                 Welcome to St George Multiboot System (SGMS)

                     The system will start in 5 seconds...

        for linux users type :  linux 
        at the boot: prompt and press <enter>

==============================================================================