Note: Almost all content here will eventually be revised and merged into the live-manual. Please do not add new content to the wiki, but contribute to the manual directly.

Creating a Netboot Image

Note: you will need root privileges for most of the operations (lh_build) except lh_config.

Check that you have enough space left on drive as your image and the cache files can be 1 GB and more quickly.

$ df -hlk

Make a working directory and change into it.

$ mkdir mydeblive; cd mydeblive

Create the config/ subdirectory and some templated configuration files.

$ lh_config

Set net binary image.

$ lh_config --binary-images net

Set netboot server directory, where the root files are.

$ lh_config --net-root-path "/nfsroot/debian-live"

Set the address of the server, that will provide the NFS-Export above.

$ lh_config --net-root-server "192.168.0.1"

Its a good idea to call lh_config only once to prevent sideeffects this could look like:

$ lh_config --binary-images net \
            --net-root-path "/nfsroot/debian-live" \
            --net-root-server "192.168.0.1"

Generate the image.

# lh_build

When image generation finished, there will be two subdirectories:

Copy the content of the "binary" directory into the net-root-path

# cp binary/ /nfsroot/debian-live

Now adjust the tftpboot (PXE) settings