====== LGL installation setup ======
===== 1. Installation from ISO file =====
In order to install lgl from a USB stick, a DVD or directly from an iso image in an emulator such as qemu, you can download an installation iso image from here:
[[http://laconian-linux.org/iso/current/|http://laconian-linux.org/iso/current/]]
The following iso images are available:
* gaia-2.7-min-ser.iso: use this if you want a minimal install using a serial console
* gaia-2.7-min-vga.iso: use this if you want a minimal install on a computer with a graphical display
* gaia-2.7-dsk-vga.iso: use this if you want a desktop install on a computer with a graphical display
To create a bootable USB stick from the image, there are several methods, the simplest on a Linux/Unix computer is:
sudo if=$iso_filename of=$dev_of_usb_stick bs=4M conv=fsync status=progress
===== 2. Installation via PXE =====
In order to install LGL via PXE, you can download a tar archive containing the needed files image from here:
\\ [[http://laconian-linux.org/pxe/lgl-2.7/|http://laconian-linux.org/pxe/lgl-2.7/]]
The following archives are available:
* pxeboot-gaia-2.7-ser.tar: use this if you want to install using a serial console
* pxeboot-gaia-2.7-vga.tar: use this if you want to install on a computer with a graphical display
The chosen tar file then can be extracted into a directory for use in a PXE install.
For dnsmsasq, the setup would be as follows:
First, setup up the directory and put the contents of the archive in there:
mkdir -p /var/lib/misc/pxeboot-lgl27vga
tar -C /var/lib/misc/pxeboot-lgl27vga -xvf pxeboot-gaia-2.7-vga.tar
Then, add these two lines to /etc/dnsmasq.conf
enable-tftp
dhcp-boot=/var/lib/misc/pxeboot-lgl27vga/pxelinux.0
This implies you have already set-up dnsmasq as a dhcp server
.