[openbeos] Setting up Windows to boot Haiku through PXE

  • From: Olivier Coursiere <olivier.coursiere@xxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 02 Oct 2008 23:08:53 +0200


Here are some informations to use Windows as a server to boot Haiku on another machine using pxe. I use this configuration to quickly test the same Haiku image on my old Celeron 300 and on my laptop.

     Why ?

   * If you have two computers and supported hardware, then it is one
     of the easiest method to test haiku on real hardware

     Why not ?

   * You don't have Windows : you can setup a DHCP and TFTP server
     under Linux using informations in this message :


   * TFTPD32 : a small easy to use DHCP, TFTP, SNTP server (among other
     features) : http://tftpd32.jounin.net/
   * remote_disk_server : i have ported it to Windows from the one in
     the Haiku source tree
   * a computer with :
         o an Haiku supported network device
         o and :
               + PXE support in the BIOS
               + or a floppy (or any other booting device) with a gPXE
                 image from this project : http://etherboot.org/. In
                 fact, you need to generate an image for your network
                 adapter at this website : http://rom-o-matic.net/

     Compiling Haiku for netboot

In addition to a valid image, you will need two more files :

   * one is a special bootloader : pxehaiku-loader. You can get it by
running this command line : o TARGET_BOOT_PLATFORM=pxe_ia32 jam pxehaiku-loader
   * the second is a package with all needed files to boot before the
system can access the remote disk. The command line is : o jam haiku-netboot-archive

Since those files are not generated in current build factories, i have uploaded current version (r27795) here :

   * http://olivier.coursiere.free.fr/download/r27795/haiku-netboot.tgz
   * http://olivier.coursiere.free.fr/download/r27795/pxehaiku-loader

     Setting up TFTPD32

   * Stop any other DHCP server in your local network
   * Put haiku-netboot.tgz and pxehaiku-loader in the tftpd32 directory
     (with default install, it should be C:\Program Files\Tftpd32).
   * Make sure "Current directory" point to the Tftpd32 directory (or
     the path where are haiku-netboot.tgz and pxehaiku-loader)
   * Set "pxehaiku.loader" as "Boot file" in the DHCP Tab.
   * Make sure pxe compatibility is checked in the settings window
   * Check "Bind DHCP to this address" in the settings window
   * Set other parameters according to you local network

     Setting up remote_disk_server

If not yet downloaded, sources and exe files are in this package : http://olivier.coursiere.free.fr/download/remote_disk_server_28_09_2008.zip.

run :

remote_disk_server <path_to_haiku.image>


   * Boot your PC with pxe or a gPXE image.
   * Enjoy :-)


Other related posts:

  • » [openbeos] Setting up Windows to boot Haiku through PXE - Olivier Coursiere