LTSPMultiboot

Differences between revisions 10 and 12 (spanning 2 versions)
Revision 10 as of 2006-05-30 22:51:19
Size: 3616
Editor: 85-210-121-225
Comment: cat doc
Revision 12 as of 2008-08-06 16:28:39
Size: 68
Editor: localhost
Comment: converted to 1.6 markup
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
## page was renamed from EdubuntuDocumentation/LTSPMultiboot
== 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 who 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. An example of this file is proposed below.

{{{
==============================================================================

                    Welcome to the Multiboot System (SGMS)

                     The system will start in 5 seconds...

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

==============================================================================
}}}

This prompt will be displayed as soon as the computer begins to boot from the network.

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

The above 3 lines defines the ''''linux'''' option for booting. This is defined by the '''KERNEL''' and '''APPEND''' options, which you will notice are extraced from the original '''default''' file. As shown below

{{{
DEFAULT vmlinuz ro initrd=initrd.img quiet splash
}}}

All that is needed now, is the option for booting from the local hard drive. As seen below
{{{
LABEL localboot
   LOCALBOOT 0
}}}

Thse lines define the ''''localboot'''' option as used with the '''DEFAULT''' keyword earlier in the file. The only definition included in this option is the '''LOCALBOOT''' option, with a parameter of 0. This provides normal harddisk booting. Other parameters are available and these can be seen on the Syslinux page.

Upon rebooting of the client, the following changes should be seen and you will be presented with a screen similar to the following.

attachment:LTSPMultibootScreenShot.png

 * '''Created''': [[Date(2006-04-21T09:26:44Z)]] by PeteSavage
----
CategoryDocumentation
#REFRESH 0 http://help.ubuntu.com/community/UbuntuLTSP/LTSPMultiboot

UbuntuLTSP/LTSPMultiboot (last edited 2008-08-06 16:28:39 by localhost)