wiki:Software/fImages/cBuildingCustomOS

Version 6 (modified by seskar, 13 years ago) ( diff )

Go back —> Documentation

Creating custom OS images

In order to use an OS other than the ones provided with stock images (Ubuntu based images), you can either provide your own (frisbee) image of the OS of your choice (that was prepared off-site) or use the netboot method on ORBIT infrastructure. install the OS of your choice on our nodes from scratch. Regardless of the method, the resulting image should support:

  • a serial console (@115K, 8, n, 1) on the first serial port
  • driver support for 2 gigabit network card
  • and dhcp on the 2nd wired gigabit network interface

netboot method

OS via network installers.

Please be sure the installer for the OS of your choice provides a serial console on the first serial port (@115K,8,n,1) and has appropriate network drivers.

  • The XML interface is self explanatory.
  • Copy your boot script to /tftpboot on repository2 and control the boot behavior of your node via the PXE service.

The PXE service at:

http://pxe:5012/pxe

will show you all of the available URLs. What you need to use is:

http://pxe:5012/pxe/nodeSetBootImage?img="image_file_name"&nodes="set-of-nodes"

and:

http://pxe:5012/pxe/nodeSetClearBootImage?img="image_file_name"&nodes="set-of-nodes"

You have to come from the domain console to use this service (i.e. if you are working with the node in sb1 you have to issue this on console.sb1).

To interact with your node, follow the instructions on our FAQ concerning interaction via serial consoles

After you have an image, simply use

omf save x,y

to save the image of the node in our repository for further use

Note: See TracWiki for help on using the wiki.