If you were to run ‘lb build’ right now, this would result in a cli system, same as if you had done a netinstall and selected nothing at tasksel.Īt this point it’s important to note that you will need root privileges to edit and write to debian-live.ĥ) Now is the time to customize the contents of the iso. Feel free to remove contrib and non-free if you want, but do know that without non-free, wireless networks may not work. “–archive-areas” are the repos to enable. The “–debian-installer-gui false” flag is there because I prefer using the ncurses installer, but if you prefer the graphical installer, substitute ‘false’ with ‘true’ (or remove the option entirely since ‘true’ is the default anyway). ![]() This will generate the necessary files for a minimal Bullseye iso. Lb config -d bullseye -debian-installer live -debian-installer-distribution bullseye -debian-installer-gui false -archive-areas "main contrib non-free" -debootstrap-options "-variant=minbase" Note: the current Stable version of Debian (as of August 2021) is Bullseye, so for future releases, simply replace every instance of ‘buster’ with the current stable codename. Step 4) create the configuration files with ‘lb config’. Step 2) create a directory to store your live-build projects, and a working directory within it, for example: In any case, here are the steps to build your own custom Debian iso: Second, the ideal is to do this in a virtual machine that is a perfect clone of the live system you wish to build. Debian’s ‘live-build’ tool has a ton (and I do mean a TON) of options, and for more detailed options, I suggest you have a look at the man pages related to it. ![]() Thanks to Debian’s own Live-Build package, creating a custom iso (that can also be installed) is very easy.įirst, this isn’t meant to be an in-depth guide. June 2023: an updated, almost entirely rewritten version of this post is available here: ĭebian’s rigid stability doesn’t appeal to everyone, but there is one thing clear: its stability makes it the king of live USBs.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |