This tutorial is for Intermediate to Advanced Users. Be warned!
In my quest for finding for users lightweight Distros for low-spec computers, I decided a few days ago to install Elive.
It's based on Debian and runs systemd, and the version I downloaded was at Debian 12.12 'Bookworm'.
It installed successfully, but once I rebooted, I hit a stumbling block.
It would take between 5 mins 6 seconds and 5 mins 11 seconds to get to the Login Screen!
After 2 instances of this behaviour, I decided "Right, what's up?" so on the 3rd boot, at my grub menu, I pressed 'e' to edit the startup parameters and changed "quiet splash" to "noquiet nosplash".
As the output spooled, I saw the culprit to be
eliveinstalledsystem.service
Once into the distro, I took my first three steps, as is my wont, of
1. Enabling my software firewall via sudo ufw enable
2. Installing and setting up Timeshift and
3. Taking a Timeshift snapshot of the freshly installed distro.
I then ran systemd-analyze, systemd-analyze blame and systemd-analyze critical-chain to confirm to confirm that
eliveinstalledsystem.service
was the impediment.
I took steps to stop the service, and to disable the service, and ran sudo systemctl daemon-reload, but on rebooting, same problem.
I located the service, and as a safeguard, copied it to my /home/chris/Documents and then deleted it, reloaded the daemons and rebooted.
Same problem, it found it.
I took a Timeshift snapshot and deleted all traces of the service, and rebooted, and guess what?
I was at the login screen in 10 seconds.
That service I mentioned, eliveinstalledsystem.service, had content as in the Spoiler below (click to open, click to close), and the fly in the ointment was the line near the bottom
TimeoutSec=5min
So irrespective of what might be designed for the service to do, it was going to add 5 minutes to my start time.
Not on my watch.
Although the first line had said
# Automatically generated by systemd-sysv-generator
I found that once I deleted the service, reloaded the daemons and rebooted, it did not recreate itself.
For several days now I have been tweaking Elive, adding software and so on, with no adverse effects.
You may not ever encounter such dramas (and I hope you don't), but if you do, do take a look at the services and determine what is necessary and what is not.
To our keen Helpers, I will say this - although Elive is quite thrifty in its RAM consumption (for me typically 650 Mib to 1.2 Gib), I would in no way recommend it to a Newbie; they will find it very difficult, and it may put them off Linux rather than win them over.
Enjoy your Linux
Wizard
In my quest for finding for users lightweight Distros for low-spec computers, I decided a few days ago to install Elive.
It's based on Debian and runs systemd, and the version I downloaded was at Debian 12.12 'Bookworm'.
It installed successfully, but once I rebooted, I hit a stumbling block.
It would take between 5 mins 6 seconds and 5 mins 11 seconds to get to the Login Screen!
After 2 instances of this behaviour, I decided "Right, what's up?" so on the 3rd boot, at my grub menu, I pressed 'e' to edit the startup parameters and changed "quiet splash" to "noquiet nosplash".
As the output spooled, I saw the culprit to be
eliveinstalledsystem.service
Once into the distro, I took my first three steps, as is my wont, of
1. Enabling my software firewall via sudo ufw enable
2. Installing and setting up Timeshift and
3. Taking a Timeshift snapshot of the freshly installed distro.
I then ran systemd-analyze, systemd-analyze blame and systemd-analyze critical-chain to confirm to confirm that
eliveinstalledsystem.service
was the impediment.
I took steps to stop the service, and to disable the service, and ran sudo systemctl daemon-reload, but on rebooting, same problem.
I located the service, and as a safeguard, copied it to my /home/chris/Documents and then deleted it, reloaded the daemons and rebooted.
Same problem, it found it.
I took a Timeshift snapshot and deleted all traces of the service, and rebooted, and guess what?
I was at the login screen in 10 seconds.
That service I mentioned, eliveinstalledsystem.service, had content as in the Spoiler below (click to open, click to close), and the fly in the ointment was the line near the bottom
TimeoutSec=5min
# Automatically generated by systemd-sysv-generator
[Unit]
Documentation=man:systemd-sysv-generator(8)
SourcePath=/etc/init.d/eliveinstalledsystem
Description=LSB: Configure Elive Installer
Before=multi-user.target
Before=multi-user.target
Before=multi-user.target
Before=graphical.target
Before=lightdm.service
Before=entrance.service
Before=slim.service
Before=graphical.service
Before=getty.service
Before=getty.target
Before=[email protected]
Before=enlightenment.service
After=remote-fs.target
After=network-manager.service
After=console-setup.service
After=dbus.service
After=urfkill.service
After=vboxweb.service
After=virtualbox.service
After=smartmontools.service
After=cups.service
After=cups-browsed.service
After=inetd.service
After=networking.service
After=network-online.target
After=inetd.service
After=keymap.service
After=udev.service
After=fail2ban.service
Wants=network-online.target
[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/etc/init.d/eliveinstalledsystem start
ExecStop=/etc/init.d/eliveinstalledsystem stop
[Unit]
Documentation=man:systemd-sysv-generator(8)
SourcePath=/etc/init.d/eliveinstalledsystem
Description=LSB: Configure Elive Installer
Before=multi-user.target
Before=multi-user.target
Before=multi-user.target
Before=graphical.target
Before=lightdm.service
Before=entrance.service
Before=slim.service
Before=graphical.service
Before=getty.service
Before=getty.target
Before=[email protected]
Before=enlightenment.service
After=remote-fs.target
After=network-manager.service
After=console-setup.service
After=dbus.service
After=urfkill.service
After=vboxweb.service
After=virtualbox.service
After=smartmontools.service
After=cups.service
After=cups-browsed.service
After=inetd.service
After=networking.service
After=network-online.target
After=inetd.service
After=keymap.service
After=udev.service
After=fail2ban.service
Wants=network-online.target
[Service]
Type=forking
Restart=no
TimeoutSec=5min
IgnoreSIGPIPE=no
KillMode=process
GuessMainPID=no
RemainAfterExit=yes
SuccessExitStatus=5 6
ExecStart=/etc/init.d/eliveinstalledsystem start
ExecStop=/etc/init.d/eliveinstalledsystem stop
So irrespective of what might be designed for the service to do, it was going to add 5 minutes to my start time.
Not on my watch.
Although the first line had said
# Automatically generated by systemd-sysv-generator
I found that once I deleted the service, reloaded the daemons and rebooted, it did not recreate itself.
For several days now I have been tweaking Elive, adding software and so on, with no adverse effects.
You may not ever encounter such dramas (and I hope you don't), but if you do, do take a look at the services and determine what is necessary and what is not.
To our keen Helpers, I will say this - although Elive is quite thrifty in its RAM consumption (for me typically 650 Mib to 1.2 Gib), I would in no way recommend it to a Newbie; they will find it very difficult, and it may put them off Linux rather than win them over.
Enjoy your Linux
Wizard

