Slow Boot and Sluggish PC Boot in Zorin OS Lite

I have just switched from Windows to Zorin OS lite version, As it was referred faster than Windows. I made a Switch.

I realized their are some problems in the OS after making the switch.

The OS Boots Slower than Windows on my PC. It takes a Lot of time in Booting. My PC works fine after reaching the home screen but it takes a lot of time to reach there! Sometimes I use the Suspend Option But with Some Application Open or After 2-3 Hours I am welcomed with a Black Screen and I need to force restart my PC.

Can Someone help me in making my PC boot faster in Zorin OS Lite and in Fixing the Black Screen Issue After using the Suspend Option.

25 Likes

I'm no expert on lite, but meanwhile someone comes that is you can give us some info;

sudo apt install inxi
inxi -F

and

journalctl -b

[q] for quit.

Note: You can hit [esc] while bootup to see where it's hanging.

Also:

systemd-analyze time
systemd-analyze blame
8 Likes

You mean This?

System:
  Host: Carren Kernel: 5.13.0-52-generic x86_64 bits: 64 
  Desktop: Xfce 4.16.0 Distro: Zorin OS 16.1 
Machine:
  Type: Laptop System: ASUSTeK product: X550EA v: 1.0 
  serial: <superuser/root required> 
  Mobo: ASUSTeK model: X550EA v: 1.0 serial: <superuser/root required> 
  UEFI: American Megatrends v: X550EA.303 date: 03/13/2014 
Battery:
  ID-1: BAT0 charge: 12.4 Wh condition: 12.6/38.5 Wh (33%) 
CPU:
  Topology: Dual Core model: AMD E1-2100 APU with Radeon HD Graphics 
  bits: 64 type: MCP L2 cache: 1024 KiB 
  Speed: 798 MHz min/max: 800/1000 MHz Core speeds (MHz): 1: 798 2: 798 
Graphics:
  Device-1: AMD Kabini [Radeon HD 8210] driver: radeon v: kernel 
  Display: x11 server: X.Org 1.20.13 driver: ati,radeon 
  unloaded: fbdev,modesetting,vesa resolution: 1366x768~60Hz 
  OpenGL: renderer: AMD KABINI (DRM 2.50.0 5.13.0-52-generic LLVM 12.0.0) 
  v: 4.5 Mesa 21.2.6 
Audio:
  Device-1: AMD Kabini HDMI/DP Audio driver: snd_hda_intel 
  Device-2: AMD FCH Azalia driver: snd_hda_intel 
  Sound Server: ALSA v: k5.13.0-52-generic 
Network:
  Device-1: Qualcomm Atheros AR9485 Wireless Network Adapter driver: ath9k 
  IF: wlp1s0 state: up mac: 54:27:1e:77:ef:e1 
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  driver: r8169 
  IF: enp2s0 state: down mac: 10:c3:7b:1c:29:65 
  Device-3: IMC Networks Atheros AR3012 Bluetooth 4.0 Adapter type: USB 
  driver: btusb 
Drives:
  Local Storage: total: 465.76 GiB used: 14.56 GiB (3.1%) 
  ID-1: /dev/sda vendor: Western Digital model: WD5000LPVX-80V0TT0 
  size: 465.76 GiB 
Partition:
  ID-1: / size: 456.96 GiB used: 14.56 GiB (3.2%) fs: ext4 dev: /dev/sda2 
Sensors:
  System Temperatures: cpu: 51.1 C mobo: N/A gpu: radeon temp: 51 C 
  Fan Speeds (RPM): cpu: 2800 
Info:
  Processes: 196 Uptime: 7m Memory: 3.28 GiB used: 1.43 GiB (43.6%) 
  Shell: bash inxi: 3.0.38 
ghostminator@Carren:~$ journalctl -b
-- Logs begin at Mon 2022-07-04 18:23:27 IST, end at Fri 2022-07-15 17:41:57 IS>
Jul 15 17:34:43 Carren kernel: Linux version 5.13.0-52-generic (buildd@lcy02-am>
Jul 15 17:34:43 Carren kernel: Command line: BOOT_IMAGE=/boot/vmlinuz-5.13.0-52>
Jul 15 17:34:43 Carren kernel: KERNEL supported cpus:
Jul 15 17:34:43 Carren kernel:   Intel GenuineIntel
Jul 15 17:34:43 Carren kernel:   AMD AuthenticAMD
Jul 15 17:34:43 Carren kernel:   Hygon HygonGenuine
Jul 15 17:34:43 Carren kernel:   Centaur CentaurHauls
Jul 15 17:34:43 Carren kernel:   zhaoxin   Shanghai  
Jul 15 17:34:43 Carren kernel: x86/fpu: Supporting XSAVE feature 0x001: 'x87 fl>
Jul 15 17:34:43 Carren kernel: x86/fpu: Supporting XSAVE feature 0x002: 'SSE re>
Jul 15 17:34:43 Carren kernel: x86/fpu: Supporting XSAVE feature 0x004: 'AVX re>
Jul 15 17:34:43 Carren kernel: x86/fpu: xstate_offset[2]:  576, xstate_sizes[2]>
Jul 15 17:34:43 Carren kernel: x86/fpu: Enabled xstate features 0x7, context si>
Jul 15 17:34:43 Carren kernel: BIOS-provided physical RAM map:
Jul 15 17:34:43 Carren kernel: BIOS-e820: [mem 0x0000000000000000-0x00000000000>
Jul 15 17:34:43 Carren kernel: BIOS-e820: [mem 0x0000000000100000-0x000000009d0>
Jul 15 17:34:43 Carren kernel: BIOS-e820: [mem 0x000000009d0fc000-0x000000009d1>
Jul 15 17:34:43 Carren kernel: BIOS-e820: [mem 0x000000009d12c000-0x000000009d3>
Jul 15 17:34:43 Carren kernel: BIOS-e820: [mem 0x000000009d369000-0x000000009dc>
Jul 15 17:34:43 Carren kernel: BIOS-e820: [mem 0x000000009dc46000-0x000000009e9>
Jul 15 17:34:43 Carren kernel: BIOS-e820: [mem 0x000000009e9b9000-0x000000009e9>
Jul 15 17:34:43 Carren kernel: BIOS-e820: [mem 0x000000009e9ba000-0x000000009e9>
ghostminator@Carren:~$ systemd-analyze time
Startup finished in 3.285s (firmware) + 8.267s (loader) + 11.637s (kernel) + 1min 303ms (userspace) = 1min 23.494s 
graphical.target reached after 59.973s in userspace
ghostminator@Carren:~$ systemd-analyze blame
31.302s mysql.service                                        
22.889s networkd-dispatcher.service                          
19.086s udisks2.service                                      
12.069s accounts-daemon.service                              
11.356s dev-sda2.device                                      
11.205s ModemManager.service                                 
10.447s systemd-journal-flush.service                        
 8.534s polkit.service                                       
 7.174s NetworkManager.service                               
 7.163s avahi-daemon.service                                 
 6.602s thermald.service                                     
 6.600s wpa_supplicant.service                               
 6.586s systemd-logind.service                               
 6.276s bluetooth.service                                    
 4.251s lightdm.service                                      
 4.220s plymouth-quit-wait.service                           
 3.718s gpu-manager.service                                  
 3.690s preload.service                                      
 2.816s systemd-udevd.service                                
 2.610s rsyslog.service                                      
 2.383s systemd-resolved.service                             
 2.267s apparmor.service                                     
 2.132s setvtrgb.service                                     
lines 1-23
10 Likes

I have added code tags and split it up so it's more readable :slight_smile:

6 Likes

The bigger sinner from what I can read is mysql.service. Are you running/using mysql on your computer. Running a server? It take half a minut to start up.

But generally, if you invest in a SSD instead of using HDD - you'll boot up on ~1/10 times.

12 Likes

thanks a lot

27 Likes

have u ever installed fdm (free download manger) app in zorin lite? if u have, remove it. or use bleachbit app to clean ur zorin.

18 Likes

Not yet but thank you for the suggestion. :smiley:
But how do we download the bleach bit app using terminal and also how to remove it after use?
It seems kinda useful !

52 Likes

Install

sudo apt install bleachbit

Uninstall

sudo apt remove --purge bleachbit

Just be careful using this tool.

18 Likes

First Point:
Windows includes Fast Startup or Fast Boot. This locks the drive and saves all your configurations from last use and sends this information To Microsoft for analysis of user habits and usage. This also means a faster boot time since everything is preloaded.

Linux Does Not Do This. So Windows will probably always have a faster boot time.

There are things you can do to speed your boot time up.
If you are not using Snap Packages or Flatpak packages, you can remove the service that takes up a lot of boot time:

sudo apt remove --purge snapd flatpak

If you are not a server admin, you do not really need the Network-Dispatcher-Service module. You can disable/remove it:

sudo systemctl stop systemd-networkd.service

sudo systemctl disable systemd-networkd.service

sudo apt-get remove networkd-dispatcher

6 Likes

I Found This Solution to boot the OS Faster!!!

16 Likes