Difference between revisions of "Booting from PXE"

From KolibriOS wiki
Jump to navigation Jump to search
(Created page with 'To Boot Kolibrios from network by using PXE, you'll need: * A PXE compatible network card (you may also use [http://etherboot.org/wiki/index.php gPXE] if you have problems with ...')
 
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 [www.dd-wrt.org DD-WRT])
+
* A DHCP server wich can set the 'boot' option (I use DnsMaq 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)

Revision as of 21:27, 17 February 2011

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 DnsMaq 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. (I will not explain here in details how) In the root of the TFTP server, place the files "pxelinux.0" and "memdisk" found in the syslinux binaries. In that same folder, you can place your kolibri.img file. Create a subdir "pxelinux.cfg", this will hold the configuration files, wich can be different per computer (mac address or IP address bound, read this)

The configuration file itself may look like this:

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

Mine is saved with the MAC as it's filename (01-02-03-04-05-06 format, no file extension!)