Advertising

Author Topic: VERY slow startup  (Read 766 times)

Offline doofus

  • Newbie
  • *
  • Posts: 5
VERY slow startup
« 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???
I don't know much but I know what I don't know

Offline seppalta

  • Full Member
  • ***
  • Posts: 177
Re: VERY slow startup
« Reply #1 on: April 28, 2018, 07:24:30 pm »
Remove Debian 9.

Offline doofus

  • Newbie
  • *
  • Posts: 5
Re: VERY slow startup
« Reply #2 on: April 28, 2018, 07:28:54 pm »
I'll try that. Let you know
Thank you for your reply
I don't know much but I know what I don't know

Offline doofus

  • Newbie
  • *
  • Posts: 5
Re: VERY slow startup
« Reply #3 on: April 28, 2018, 08:39:22 pm »
Debian 9 gone - No help
I don't know much but I know what I don't know

Offline doofus

  • Newbie
  • *
  • Posts: 5
Re: VERY slow startup
« Reply #4 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.
« Last Edit: April 28, 2018, 10:12:54 pm by doofus »
I don't know much but I know what I don't know

Offline pavroo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1926
    • SparkyLinux
Re: VERY slow startup
« Reply #5 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:
Code: [Select]
sudo blkid | grep swapEdit fstab:
Code: [Select]
sudo nano /etc/fstaband make sure your new swap uuid is placed in the fstab file.
Edit initramfs resume:
Code: [Select]
sudo nano /etc/initramfs-tools/conf.d/resumeand make sure the new swap uuid is placed inside, such as:
Code: [Select]
RESUME=UUID=YOUR-NEW-SWAP-UUID-NUMBERThen:
Code: [Select]
sudo update-initramfs -u -t -k all
sudo update-grub
Then reboot to check it out.
Nothing is easy as it looks.
Danielle Steel

Offline paxmark1

  • Sr. Member
  • ****
  • Posts: 455
Re: VERY slow startup
« Reply #6 on: April 30, 2018, 12:05:52 am »
And after you finish the above - whenever it seems a little slow to boot.

Code: [Select]
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. 
Code: [Select]
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.
Don't make a FrankenDebian