advanced.rst.txt 1.11 KB
Newer Older
kyodev's avatar
kyodev committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
Advanced Topics

Bootloader Customisation

By default, both ISOLINUX (for BIOS boot) and GRUB 2 (for EFI boot) are
installed into the images. A ``loopback.cfg`` file is also installed to allow
for the image to be booted while still an ISO image in a filesystem.

You can pass ``--no-isolinux`` to prevent the installation of ISOLINUX to the
image if you do not want ISOLINUX.

You can pass ``--no-grub`` to prevent the installation of GRUB to the image.

If you do not want GRUB installed but you would still like the ``loopback.cfg``
file to be installed, you can pass ``--grub-loopback-only``.

Using an Alternative Build Directory

Temporary directories are created using the Python standard library functions
for doing so. On Debian systems, this typically means that the directories are
created in ``/tmp``. If this is problematic for you, perhaps due to filesystem
permissions, you can change the path that Python will use to create directories
in by using the ``TMP`` environment variable, for example::

    sudo TMP=/other/path lwr --blah --blah