For several years I have looked at different Linux installers and what could be done in the debian installer space. I have always come away disappointed that what was/is out there was seldom documented or shared in a way that could be used anywhere else
Two weeks ago misko_2083 introduced us to Trios Linux. For the first time I got to see an
installer I was interested in (semplice linstaller) used in a practical debian setup I was familiar with
Since then there has been non stop development and collaboration with Filip Danilović and Miloš Pavlović
that started here and was
discussed more here. The end result is VSIDO now has a new installer that will continue to grow
For complete transparency these are the steps I use to convert the TRIOS installer to the VSIDO installer. This is for anyone in the future looking for these steps, who may find it easier than the Semplice team did, Filip and Miloš and the Trios team did, or certainly I did when we began looking at different installers
Here is the How To build and install the Semplice/Trios/VSIDO linstaller for debian:
Build the InstallerFirst some requirements and dependencies to build
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install python-all screen python-notify2 python-progressbar python-parted imvirt cryptsetup fatresize hfsprogs pastebinit reiser4progs jfsutils debhelper dh-python dpkg-dev devscripts git
Keeptalking buildgit clone https://gitlab.com/Cofi/keeptalking.git && cd keeptalking
dpkg-buildpackage -uc -us
Bricks buildgit clone https://gitlab.com/Cofi/bricks.git && cd bricks
dpkg-buildpackage -uc -us
Installer buildFor a Standard Build:git clone https://gitlab.com/Cofi/trios-installer.git && cd trios-installer
dpkg-buildpackage -uc -us
For Testing Build: (Can only be Standard or Testing, NOT both)git clone https://gitlab.com/Cofi/trios-installer.git && cd trios-installer && git checkout testing
dpkg-buildpackage -uc -us
Install the VSIDO InstallerFirst some requirements or dependencies:
sudo apt-get update && sudo apt-get dist-upgrade
sudo apt-get install python-all screen python-notify2 python-progressbar python-parted imvirt cryptsetup fatresize hfsprogs pastebinit reiserfsprogs jfsutils xfsprogs btrfs-tools
Now install the debs
In This Ordercd to each directory these are in (Put them all in one single directory) ... the tab to complete fills out the remaining portion of the file name.. saves time and gets it correct for whatever version is there (version numbers will change)
sudo dpkg -i python-t9n (tab to complete)
sudo dpkg -i python-keeptalking (tab to complete)
sudo dpkg -i python-libbricks (tab to complete)
sudo dpkg -i keeptalking (tab to complete)
sudo dpkg -i bricks (tab to complete)
sudo dpkg -i linstaller-modules-base (tab to complete)
sudo dpkg -i linstaller-modules-bricks (tab to complete)
sudo dpkg -i linstaller-frontend-cli (tab to complete)
sudo dpkg -i linstaller-frontend-glade (tab to complete)
sudo dpkg -i linstaller_ (tab to complete)
sudo dpkg -i linstaller-config-vsido (tab to complete)
sudo dpkg -i linstaller-session (tab to complete)
sudo dpkg -i live-config-linstaller (tab to complete)
After InstallationNow edit these files:
sudo medit /usr/share/linstaller/linstaller/modules/network/inst/_init_.py
and make this
auto lo
iface lo inet loopback
""")
this
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
""")
Next create or convert these in /etc/linstaller directory (these must replace the trios files that are in /etc/linstaller directory)
sudo medit /etc/linstaller/vsido
## MAIN LINSTALLER CONFIGURATION FILE FOR VSIDO
[linstaller:extends]
source = vsido-base
# Do not ask for language, use the system's one instead.
#[module:language]
#ask = False
# Do not ask for timezone, use the system's one instead.
#[module:timezone]
#ask = False
# Disable root
#[module:userhost]
#root = None
sudo medit /etc/linstaller/vsido-base
## BASE LINSTALLER CONFIGURATION FILE FOR VSIDO -- END USER WILL NOT (HOPEFULLY) NEED THIS
[linstaller]
distribution = VSIDO
modules = uefidetect.inst welcome.front language.front timezone.front userhost.front partdisks.front bootloader.front summary.front partdisks.inst unsquash.inst virtualpartitions.inst language.inst timezone.inst network.inst supportrepo.inst bootloader.inst userhost.inst debian.inst clean.inst fstab.inst finish.inst end.front
special = partdisks.inst unsquash.inst virtualpartitions.inst
[module:language]
ask = True
[module:timezone]
ask = True
timezone = Etc/GMT
[module:partdisks]
swap_noformat = True
[module:unsquash]
image = /lib/live/mount/medium/live/filesystem.squashfs
[module:debian]
remove = /etc/linstaller/trios.packages-remove
autoremove = True
[module:bootloader]
bootloader = grub
custom_kernel_args = grub_cmdline_linux
should_hide_menu = False
[module:supportrepo]
path = file:///lib/live/mount/medium/support
binarydir = ./
sudo ln -s /etc/linstaller/vsido /etc/linstaller/default
(You may have to delete the original /etc/linstaller/default to complete that command)
Profit!
Thank you to the Semplice team who created the original. I also am grateful to the Trios development team for the sharing of their wisdom with the best FOSS intentions I have seen in a long time. Specifically I want to thank Filip Danilović and Miloš Pavlović, people I am honored to consider friends