Page 1 of 1

Why does ZLite take so long to boot up

PostPosted: Wed Sep 18, 2019 10:15 pm
by jacatone
I'm using ZL Lite 12.4. Although it works great on an old Dell Latitude laptop, it takes forever to boot to the desktop and shutdown. Is there any way to speed this up without breaking the install?

Re: Why does ZLite take so long to boot up

PostPosted: Wed Sep 18, 2019 11:31 pm
by Aravisian
jacatone wrote:I'm using ZL Lite 12.4. Although it works great on an old Dell Latitude laptop, it takes forever to boot to the desktop and shutdown. Is there any way to speed this up without breaking the install?

I could be wrong, I am pretty Novice...
But if you could check your home folder (Hit ctrl+h) hidden files - scroll to bottom and look for .xsession-errors file and check for errors there (Or paste it here).
Usually a slow boot means there are errors.

In terminal, can you enter
Code: Select all
systemd-analyze blame

and paste the output

You may need to check for filesystem errors,

And lastly, check your swap.
In terminal run
Code: Select all
sudo blkid
and in your file manager elevated with Root Permissions, navigate to /etc/fstab file and check that your swap matches blkid.
Hope this helps.

Re: Why does ZLite take so long to boot up

PostPosted: Thu Sep 19, 2019 8:58 pm
by Swarfendor437
Also look inside your startup applications folder to see what is going on at boot time. ;) :D

Re: Why does ZLite take so long to boot up

PostPosted: Fri Sep 20, 2019 5:07 am
by Linx
How long is it taking to boot up and what is it being compared to? Or are you just wanting to be faster?

Harddisk are mechanical and they do wear with time, I have had a few that I ran in systems for a stupid number of years and with that the seek times would get such that everything took forever to get done, despite the drive still having a respectable read/write. So if this is a very old system, then changing to an SSD might be a good way to go, in general it is STRONGLY recommend to reinstall your OS when going from an HDD to an SSD. But it is may be possible to keep your install.

I downloaded and installed 12.4 Lite and I boot up in a VM within a few seconds.

Re: Why does ZLite take so long to boot up

PostPosted: Fri Sep 20, 2019 9:52 pm
by jacatone
jacatone@Latitude-D630:~$ systemd-analyze blame
34.032s lightdm.service
26.142s plymouth-quit-wait.service
16.460s apt-daily.service
8.434s dev-sda1.device
7.298s apt-daily-upgrade.service
6.247s NetworkManager-wait-online.service
5.874s systemd-tmpfiles-setup-dev.service
2.804s accounts-daemon.service
2.450s snapd.service
2.409s keyboard-setup.service
2.248s iio-sensor-proxy.service
2.211s grub-common.service
2.064s systemd-modules-load.service
2.026s hddtemp.service
1.744s NetworkManager.service
1.502s thermald.service
1.332s resolvconf.service
1.329s systemd-journald.service
1.091s systemd-random-seed.service
1.045s sys-kernel-debug.mount
1.038s dev-mqueue.mount
1.014s systemd-remount-fs.service
982ms dev-hugepages.mount
lines 1-23
----------------------------------------
jacatone@Latitude-D630:~$ sudo blkid
/dev/sda1: UUID="5476d414-1724-4d6d-afd7-eca8d6ee52cb" TYPE="ext4" PARTUUID="01586924-01"
/dev/sda5: UUID="bb52f696-4467-487c-a569-8d23c55a5d5a" TYPE="swap" PARTUUID="01586924-05"
/dev/sdb1: LABEL="PATRIOT" UUID="EA82B45682B428C9" TYPE="ntfs" PARTUUID="2f606390-01"