User talk:Pguillem

From DSL Wiki

Booting DSL with PXE from windows server

---BOOTING DSL WITH PXE FOR DUMMIES---

Well guys... i found there is very little documentation on booting DSL with PXE from a windows TFTP server. I think often of all those desperate newbies and go back to when i was like 12... So here it is... enjoy and learn.


STEP 1 - Get the juice

1) Download and extract tftp32 (free tftp server for windows).Download. This will be our TFTP server.

2) Download the initrd version of DSL (any version works).Get DSl Linux

3) Open the ISO file with Magiciso, or any program capable of extracting data from ISO files.

4) Once inside the ISO, extract the /boot/isolinux/ folder contents in the same directory as the TFTP32 executable.


STEP 2 - Get a debian PXE loader

Ok, so far we have DSL files extracted from the ISO and the TFTP server; all in the same directory. Now we have to get a working pxelinux image for the boot.


1) Get a working pxelinux.0 image from any debian mirror Download pxelinux.0 for i386

2) Save the pxelinux.0 file where you installed the TFTP32 executable.

3) In the same directory, create a folder called "pxelinux.cfg".

4) Go to the folder and create a file named "default" (just as is, no extension).

5) Open the blank "default" file and paste the following:


   include isolinux.cfg

6) Save the file.



STEP 3 - Configure the TFTP server

If you got to this point, you are 20 seconds away from building a working DSL PXE boot server.

1) Open TFTP32 and hit settings

2) Activate the Checkbox "DHCP Server" and hit apply

3) Go to the "DHCP Server" tab and fill with corresponding data (depends on your network).

4) On the BOOTFILE parameter, input pxelinux.0 (remember this file should be in the same folder as tftp32.exe)

5) Hit the SAVE button


Here is my setup:

  - IP Pool Start: 192.168.0.200 (use a free IP in you localnet)
  - IP Pool Size:  1               (number of concurrent computers that will request PXe boot)
  - Bootfile:      pxelinux.0
  - Default Router: 192.168.0.1
  - Mask: 255.255.255.0


YOU ARE DONE!!! You should be able to boot any computer in your network with DSL using the PXE boot option.

If any of you need help with this, drop me a line to pedro.guillem@ethervoice.net