SparkyLinux Forums

Software & hardware support => Newbie questions => Topic started by: doofus on April 28, 2018, 07:21:10 PM

Title: VERY slow startup
Post by: doofus on April 28, 2018, 07:21:10 PM
Sparky(Mate) was loading in 40-45 seconds. I installed Debian 9 on a different partition and now it is taking almost 4 minutes for Sparky to load. What to do???
Title: Re: VERY slow startup
Post by: seppalta on April 28, 2018, 07:24:30 PM
Remove Debian 9.
Title: Re: VERY slow startup
Post by: doofus on April 28, 2018, 07:28:54 PM
I'll try that. Let you know
Thank you for your reply
Title: Re: VERY slow startup
Post by: doofus on April 28, 2018, 08:39:22 PM
Debian 9 gone - No help
Title: Re: VERY slow startup
Post by: doofus on April 28, 2018, 10:08:38 PM
I surrender - took less time to reinstall Sparky than keep fiddling around. After update/upgrade loaded in 35 seconds. AND I put the desktop and panels back as they were while upgrading was going on.
Title: Re: VERY slow startup
Post by: pavroo on April 28, 2018, 11:28:16 PM
Removing the second OS can't help.
The problem is with swap uuid been changed in the first OS (Sparky) during installing the second one (Debian).
The swap uuid has been changed so Sparky has to be set right with new uuid number.

So run Sparky and check your new swap uuid:
sudo blkid | grep swap
Edit fstab:
sudo nano /etc/fstab
and make sure your new swap uuid is placed in the fstab file.
Edit initramfs resume:
sudo nano /etc/initramfs-tools/conf.d/resume
and make sure the new swap uuid is placed inside, such as:
RESUME=UUID=YOUR-NEW-SWAP-UUID-NUMBER
Then:
sudo update-initramfs -u -t -k all
sudo update-grub

Then reboot to check it out.
Title: Re: VERY slow startup
Post by: paxmark1 on April 30, 2018, 12:05:52 AM
And after you finish the above - whenever it seems a little slow to boot.

systemd-analyze blame

is a quick and dirty way to see what takes up the most time.  Example below is what slows me down the most for boot presently. 
6.542s connman-wait-online.service               
          3.667s libvirtd.service     
          3.411s lvm2-monitor.service       
          3.192s dev-mapper-raunes\x2d\x2dvg\x2droot.device
          2.765s apparmor.service   
          2.038s connman.service           
          1.963s connman-vpn.service
          1.789s networking.service       

Your mileage may vary.  peace out.