Difference between revisions of "Booting from PXE"

From KolibriOS wiki
Jump to navigation Jump to search
m (Hidnplayr moved page Boot from PXE to Booting from PXE)
 
(4 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
* A PXE compatible network card (you may also use [http://etherboot.org/wiki/index.php gPXE] if you have problems with your default ROM)
 
* A PXE compatible network card (you may also use [http://etherboot.org/wiki/index.php gPXE] if you have problems with your default ROM)
 
* A TFTP server (I use [http://tftpd32.jounin.net TFTPD32], this program can also serve as your DHCP server)
 
* A TFTP server (I use [http://tftpd32.jounin.net TFTPD32], this program can also serve as your DHCP server)
* A DHCP server wich can set the 'boot' option (I use DnsMaq on my router with [http://www.dd-wrt.org DD-WRT firmware].)
+
* A DHCP server wich can set the 'boot' option (I use DnsMasq on my router with [http://www.dd-wrt.org DD-WRT firmware].)
 
* pxelinux (from the [http://syslinux.zytor.com/wiki/index.php/Download syslinux] package)
 
* pxelinux (from the [http://syslinux.zytor.com/wiki/index.php/Download syslinux] package)
 
* KolibriOS virtual floppy image (kolibri.img)
 
* KolibriOS virtual floppy image (kolibri.img)
  
 
Begin with setting up the DHCP and TFTP server. (Read about how to get started [http://pxe.dev.aboveaverageurl.com/index.php/Main_Page here].)<br>
 
Begin with setting up the DHCP and TFTP server. (Read about how to get started [http://pxe.dev.aboveaverageurl.com/index.php/Main_Page here].)<br>
In the root of the TFTP server, place the files "pxelinux.0" and "memdisk" wich you'll find in the syslinux binaries package.<br>
+
In the root of the TFTP server, place the files "pxelinux.0" and "memdisk" wich you'll find in the syslinux binaries package.  
 
Place your kolibri.img file in the root folder too.<br>
 
Place your kolibri.img file in the root folder too.<br>
Create a subdirectory named "pxelinux.cfg", this will hold the configuration files, wich can be different per computer.<br>
+
Create a subdirectory named "pxelinux.cfg", this will hold the configuration files, wich can be different per computer.
 
(MAC-address or IP-address bound, read [http://syslinux.zytor.com/wiki/index.php/PXELINUX this])<br><br>
 
(MAC-address or IP-address bound, read [http://syslinux.zytor.com/wiki/index.php/PXELINUX this])<br><br>
  
The configuration file itself may look something like this:
+
A possible configuration file is this:
 
 
 
  default kolibri
 
  default kolibri
 
  label kolibri
 
  label kolibri
Line 20: Line 19:
 
   append initrd=kolibri.img
 
   append initrd=kolibri.img
  
Mine is saved with the MAC as it's filename (01-02-03-04-05-06 format, no file extension!)
+
 
 +
[[Category:Manuals]]

Latest revision as of 16:35, 7 February 2013

To Boot Kolibrios from network by using PXE, you'll need:

  • A PXE compatible network card (you may also use gPXE if you have problems with your default ROM)
  • A TFTP server (I use TFTPD32, this program can also serve as your DHCP server)
  • A DHCP server wich can set the 'boot' option (I use DnsMasq on my router with DD-WRT firmware.)
  • pxelinux (from the syslinux package)
  • KolibriOS virtual floppy image (kolibri.img)

Begin with setting up the DHCP and TFTP server. (Read about how to get started here.)
In the root of the TFTP server, place the files "pxelinux.0" and "memdisk" wich you'll find in the syslinux binaries package. Place your kolibri.img file in the root folder too.
Create a subdirectory named "pxelinux.cfg", this will hold the configuration files, wich can be different per computer. (MAC-address or IP-address bound, read this)

A possible configuration file is this:

default kolibri
label kolibri
 kernel memdisk
 append initrd=kolibri.img