[syslinux] Thanks for pxelinux & memdisk

H. Peter Anvin hpa at zytor.com
Thu Nov 7 01:27:43 PST 2002


This message is from Luis F. Correia, who unfortunately could not post 
it himself to the list....


----------------------------------------------------------------------------
--

Hi!

I would like to thank you, H. Peter Anvin for creating this wonderful set of
tools.

The only thing that bothers me is the lack of proper examples in the docs.
Syslinux and affiliates would certainly improve documentation if you start a
user based 'real-life' implementation examples.

Here goes my contribution:

Problem:
	Boot a DOS floppy containing the installation for WinNT/2000/XP from
PXE.
	The available server is Windows 2000.

Solution:

To start, make sure your floppy does its jub if loaded locally on the
target machine using the floppy drive itself :)

Then (if not done previously) install RIS on your server.
Do NOT configure it, just create this key in the registry and define the
location of your TFTP root directory.

(from the pxelinux online doc)
<start quote>
Eric Cook of Intel also reports that the TFTPD server from Win2000 Server
RIS can be used:
The trick is to install RIS, but DON'T configure it with the GUI. Instead,
do the following:
In the registry, add the folder
\HKLM\System\CurrentControlSet\Services\TFTPD\Parameters.
In the Parameters folder, add a key called Directory, with a value of the
TFTP root directory path.
With the Services GUI, configure the TFTPD service for Automatic start and
start it.
If you DO configure the RIS in Win2k, you end up with the MS PXE stuff,
which is ugly to get rid of.
<end quote>

Now you need to go to your DHCP server on the Windows 2000 server and
configure it
for 'tftp boot file serving'

Open up the DHCP GUI and go to the defined scope and on the 'Scope Options'
add
these options:

066 Boot Server Host Name
(enter here the FQDN or the IP of the tftp server, in this case, the ip of
this server)

067 Boofile Name
(/tftpboot/pxelinux.0)


Then you create the following structure on your TFTP root directory:
md tftpboot
md tftpboot\pxelinux.cfg

Copy pxelinux.0 from the syslinux distribution files to 'tftpboot'
Copy memdisk    from the syslinux distribution files to 'tftpboot'
Copy your floppy image to 'tftpboot', name it image.ima

create a textfile in tftpboot\pxelinux.cfg named default and add to it
the following contents:

<default content start>

default whatever

whatever
	kernel memdisk
	initrd=image.ima

<default content end>

with some luck, if you go to a workstation and press F12 during POST, it
should boot
you installation floppy.


Luis Correia
lfcorreia at users.sourceforge.net




More information about the Syslinux mailing list