BILIBOP(7) | Bilibop Project | BILIBOP(7) |
bilibop - run Debian GNU/Linux from an external media
A lot of GNU/Linux distributions - at least the most popular of them - provide freely downloadable .iso or .img disk images that can be copied on a USB memory stick (sometimes with just cat(1) or dd(1), sometimes in a more complicated way) and immediately usable 'as is'.
But such operating systems are not designed to be modified; they are read-only, and even when they provide a 'persistent' feature, it is limited. Additionally, they are currently unmaintainable, in the sense that rebuild the complete image of the root filesystem is the only way to update the system or modify its settings in depth. This is often a hard or heavy task that cannot be done from the system itself: this needs a dedicated work space, outside of the running system, and this often needs another operating system to replace the disk image by the new one; and some of these tasks can be done only by experienced users. Others have to wait for the next release, if it comes a day.
Bilibop stands for 'Bilibop Is Live Install Boot On Pendrive'. This recursive acronym is now obsolete, but the name has been kept. The bilibop project is born as an alternative to the LiveUSB systems.
By performing a standard installation of Debian directly on a removable media — currently a USB key or an external HDD — it is possible to use it as a LiveUSB system, with the big difference that it behaves like any installed Debian OS: it can be maintained, modified, updated, or even broken by the root user at any time. In fact, without specific settings, it can be broken by an unprivileged user at any time; but this is also the case of LiveUSB systems.
So, bilibop is a collection of scripts using or used by other programs (initramfs-tools(7), udev(7), or GRUB2) to help admins to maintain a Debian GNU/Linux operating system installed on a removable and writable media, even if some of these scripts may also be used in other contexts. One of its main goals is to fix security issues or harden standard rules and policies, to make the system more robust in this particular situation. Instead of yet another new, living fast and dying young, Debian based distribution, bilibop has been designed as a set of few debian packages. bilibop-lockfs may also be installed on a laptop or on a public computer as an alternative to fsprotect or overlayroot, and bilibop-udev (or bilibop-rules) should also be installed on a LiveUSB.
Debian can be installed on a removable drive as it is on an internal one, except:
The main advantage of a standard installation over a Live system is that the installed one can exactly answer your needs: if the needs change, the system can be easily modified. It can be installed and configured to be used as/for:
• daily usage (this is my case)
• router and/or firewall for a LAN
• ftp and/or http server (this is my case)
• forensics and rescue system (this is may case)
• embedded Debian repository (this is my case)
• testing system
• educational purposes
• others
Because an operating system running from an external device is generally used on different computers, with potentially different keyboards, architectures, monitors, and so on, it could need some special settings to be as versatile as possible. Maybe the field is too large to be covered into a single manual page: see /usr/share/doc/bilibop-common/misc/* for some tips and tricks, details and suggestions about possible settings.
/usr/share/bilibop-common/README.Debian
/usr/share/bilibop-common/examples/bilibop.conf
/usr/share/bilibop-common/misc/*
/usr/share/bilibop-lockfs/README.Debian
/usr/share/bilibop-lockfs/examples/bilibop.conf
/usr/share/bilibop-rules/README.Debian
/usr/share/bilibop-rules/examples/bilibop.conf
This manual page has been written by Bilibop Project <quidame@poivron.org>.
2015-07-14 | bilibop |