[SOLVED] Slow Boot with XFCE 19.2

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post please read how to get help
Post Reply
invenio
Level 1
Level 1
Posts: 14
Joined: Mon Aug 27, 2018 8:51 pm

[SOLVED] Slow Boot with XFCE 19.2

Post by invenio » Mon Sep 09, 2019 8:15 am

I'm using an older laptop but the boot time seems to be over 2 minutes. Any suggestions why this may be?

Code: Select all

inxi -Fxz
System:
  Host: HP-Compaq-6510b-RM305UT-ABA 
  Kernel: 4.15.0-60-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
  Desktop: Xfce 4.12.3 Distro: Linux Mint 19.2 Tina 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: Hewlett-Packard 
  product: HP Compaq 6510b (RM305UT#ABA) v: F.0E serial: <filter> 
  Mobo: Hewlett-Packard model: 30C0 v: KBC Version 71.2D serial: <filter> 
  BIOS: Hewlett-Packard v: 68DDU Ver. F.0E date: 11/16/2007 
Battery:
  ID-1: C23B charge: 47.6 Wh condition: 49.3/49.3 Wh (100%) 
  model: Hewlett-Packard Primary status: Unknown 
CPU:
  Topology: Dual Core model: Intel Core2 Duo T7100 bits: 64 type: MCP 
  arch: Core Merom rev: D L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 ssse3 vmx bogomips: 7182 
  Speed: 803 MHz min/max: 800/1801 MHz Core speeds (MHz): 1: 798 2: 798 
 Graphics:
  Device-1: Intel Mobile GM965/GL960 Integrated Graphics 
  vendor: Hewlett-Packard Compaq 6710b driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1280x800~60Hz 
  OpenGL: renderer: Mesa DRI Intel 965GM v: 2.1 Mesa 19.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel 82801H HD Audio vendor: Hewlett-Packard Compaq 6710b 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-2: C-Media type: USB driver: hid-generic,snd-usb-audio,usbhid 
  bus ID: 2-6:3 
  Sound Server: ALSA v: k4.15.0-60-generic 
Network:
  Device-1: Intel PRO/Wireless 3945ABG [Golan] Network 
  vendor: Hewlett-Packard driver: iwl3945 v: in-tree:s port: 4100 
  bus ID: 10:00.0 
  IF: wlp16s0 state: up mac: <filter> 
  Device-2: Broadcom and subsidiaries NetLink BCM5787M Gigabit Ethernet PCI 
  Express 
  vendor: Hewlett-Packard 6710b driver: tg3 v: 3.137 port: 4100 
  bus ID: 18:00.0 
  IF: ens1 state: down mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 89.55 GiB (37.6%) 
  ID-1: /dev/sda vendor: Toshiba model: VX500 size: 238.47 GiB 
Partition:
  ID-1: / size: 233.73 GiB used: 44.78 GiB (19.2%) fs: ext4 dev: /dev/sda1 
Sensors:
  System Temperatures: cpu: 50.0 C mobo: 50.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 164 Uptime: 27m Memory: 3.84 GiB used: 1.81 GiB (47.1%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 

Code: Select all

systemd-analyze
Startup finished in 1min 39.127s (kernel) + 34.116s (userspace) = 2min 13.244s
graphical.target reached after 34.099s in userspace
Thanks for all the help in advance. I'm a linux newbie so I'm really not sure how these things work. :)
Last edited by invenio on Mon Sep 09, 2019 1:21 pm, edited 1 time in total.

User avatar
Larry78723
Level 6
Level 6
Posts: 1172
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Slow Boot with XFCE 19.2

Post by Larry78723 » Mon Sep 09, 2019 8:44 am

Please post the following report;

Code: Select all

systemd-analyze blame
Image

invenio
Level 1
Level 1
Posts: 14
Joined: Mon Aug 27, 2018 8:51 pm

Re: Slow Boot with XFCE 19.2

Post by invenio » Mon Sep 09, 2019 8:50 am

Code: Select all

systemd-analyze blame
         31.793s lightdm.service
         31.734s plymouth-quit-wait.service
         15.096s apt-daily.service
          9.079s fstrim.service
          3.258s dev-sda1.device
          1.148s apt-daily-upgrade.service
           997ms udisks2.service
           942ms ubuntu-system-adjustments.service
           916ms networkd-dispatcher.service
           753ms ModemManager.service
           650ms NetworkManager.service
           567ms accounts-daemon.service
           537ms keyboard-setup.service
           511ms apport.service
           491ms networking.service
           454ms hddtemp.service
           452ms systemd-udev-trigger.service
           442ms systemd-logind.service
           431ms lm-sensors.service
           426ms systemd-journald.service
           414ms speech-dispatcher.service
           396ms systemd-resolved.service
           363ms systemd-rfkill.service

User avatar
Larry78723
Level 6
Level 6
Posts: 1172
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Slow Boot with XFCE 19.2

Post by Larry78723 » Mon Sep 09, 2019 10:02 am

Now, please post an

Code: Select all

inxi -Fxz
 report. This will give us a concise overview of your hardware and on how Mint sees it.



Larry
Image

invenio
Level 1
Level 1
Posts: 14
Joined: Mon Aug 27, 2018 8:51 pm

Re: Slow Boot with XFCE 19.2

Post by invenio » Mon Sep 09, 2019 10:14 am

Code: Select all

inxi -Fxz
System:
  Host: HP-Compaq-6510b-RM305UT-ABA 
  Kernel: 4.15.0-60-generic x86_64 bits: 64 compiler: gcc v: 7.4.0 
  Desktop: Xfce 4.12.3 Distro: Linux Mint 19.2 Tina 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Laptop System: Hewlett-Packard 
  product: HP Compaq 6510b (RM305UT#ABA) v: F.0E serial: <filter> 
  Mobo: Hewlett-Packard model: 30C0 v: KBC Version 71.2D serial: <filter> 
  BIOS: Hewlett-Packard v: 68DDU Ver. F.0E date: 11/16/2007 
Battery:
  ID-1: C23B charge: 47.6 Wh condition: 49.3/49.3 Wh (100%) 
  model: Hewlett-Packard Primary status: Unknown 
CPU:
  Topology: Dual Core model: Intel Core2 Duo T7100 bits: 64 type: MCP 
  arch: Core Merom rev: D L2 cache: 2048 KiB 
  flags: lm nx pae sse sse2 sse3 ssse3 vmx bogomips: 7182 
  Speed: 1197 MHz min/max: 800/1801 MHz Core speeds (MHz): 1: 1176 2: 1147 
Graphics:
  Device-1: Intel Mobile GM965/GL960 Integrated Graphics 
  vendor: Hewlett-Packard Compaq 6710b driver: i915 v: kernel 
  bus ID: 00:02.0 
  Display: x11 server: X.Org 1.19.6 driver: modesetting unloaded: fbdev,vesa 
  resolution: 1280x800~60Hz 
  OpenGL: renderer: Mesa DRI Intel 965GM v: 2.1 Mesa 19.0.8 
  direct render: Yes 
Audio:
  Device-1: Intel 82801H HD Audio vendor: Hewlett-Packard Compaq 6710b 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-2: C-Media type: USB driver: hid-generic,snd-usb-audio,usbhid 
  bus ID: 2-6:3 
  Sound Server: ALSA v: k4.15.0-60-generic 
Network:
  Device-1: Intel PRO/Wireless 3945ABG [Golan] Network 
  vendor: Hewlett-Packard driver: iwl3945 v: in-tree:s port: 4100 
  bus ID: 10:00.0 
  IF: wlp16s0 state: up mac: <filter> 
  Device-2: Broadcom and subsidiaries NetLink BCM5787M Gigabit Ethernet PCI 
  Express 
  vendor: Hewlett-Packard 6710b driver: tg3 v: 3.137 port: 4100 
  bus ID: 18:00.0 
  IF: ens1 state: down mac: <filter> 
Drives:
  Local Storage: total: 238.47 GiB used: 89.53 GiB (37.5%) 
  ID-1: /dev/sda vendor: Toshiba model: VX500 size: 238.47 GiB 
Partition:
  ID-1: / size: 233.73 GiB used: 44.77 GiB (19.2%) fs: ext4 dev: /dev/sda1 
Sensors:
  System Temperatures: cpu: 50.0 C mobo: 44.0 C 
  Fan Speeds (RPM): N/A 
Info:
  Processes: 163 Uptime: 2h 37m Memory: 3.84 GiB used: 1.77 GiB (46.0%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.4.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 

User avatar
Larry78723
Level 6
Level 6
Posts: 1172
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Slow Boot with XFCE 19.2

Post by Larry78723 » Mon Sep 09, 2019 10:32 am

The first thing I would do is update your system's BIOS. An update, dated Dec 2011, is available HERE.
Image

invenio
Level 1
Level 1
Posts: 14
Joined: Mon Aug 27, 2018 8:51 pm

Re: Slow Boot with XFCE 19.2

Post by invenio » Mon Sep 09, 2019 10:52 am

Ok, thank you for the input. It's not a major issue but I just wanted to ask if there is something of an "easy fix." If I have a little time I think I may try to do the update. Again, thank you for helping me with this issue.

User avatar
Larry78723
Level 6
Level 6
Posts: 1172
Joined: Wed Jan 09, 2019 7:01 pm
Location: Jasper County, SC, USA

Re: Slow Boot with XFCE 19.2

Post by Larry78723 » Mon Sep 09, 2019 10:58 am

You're very welcome. Hopefully, someone else will have an "easy fix" to speed up the boot. Keep checking back.
Image

User avatar
karlchen
Level 20
Level 20
Posts: 11224
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Slow Boot with XFCE 19.2

Post by karlchen » Mon Sep 09, 2019 12:13 pm

Hello, ivenio.
invenio wrote:
Mon Sep 09, 2019 10:52 am
I just wanted to ask if there is something of an "easy fix."
Cannot promise it will be easy, but maybe it will be the right approach.

First suspect:
The first supsect is your specific Intel graphics chip:

Code: Select all

 Graphics:
  Device-1: Intel Mobile GM965/GL960 Integrated Graphics 
  vendor: Hewlett-Packard Compaq 6710b driver: i915 v: kernel   bus ID: 00:02.0 
Please, see smurphos's post in this thread: Slow Boot Time - Is K4.15.0-20 the cause?
It will point to this instruction on how to solve startup delay, caused by various Intel graphics chips: Re: Very Slow Boot, again by smurphos.

In case smurphos's posts help solve your startup issue, then you are done and are free to ignore suspect number 2 below.

Second suspect
Looking at this systemd-analyze output, which you had posted,

Code: Select all

systemd-analyze
Startup finished in 1min 39.127s (kernel) + 34.116s (userspace) = 2min 13.244s
graphical.target reached after 34.099s in userspace
the suspicious detail is that the kernel loading time is almost 1 minute and 40 seconds.
This is extremely long.
Even for an old machine, which seems to be 12 years old.

One of the favourite reasons for extremely long kernel loading times is a misconfigured swap device.
This may make the system spend alot of time searching for something which in the end it cannot find.

Could you, please, post the screen output, generated by the following terminal commands:
  • cat /etc/fstab
  • swapon --show
  • lsblk -f
  • cat /etc/initramfs-tools/conf.d/resume
Regards,
Karl
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.22a 64-bit
Windows? - 1 window in every room

invenio
Level 1
Level 1
Posts: 14
Joined: Mon Aug 27, 2018 8:51 pm

Re: Slow Boot with XFCE 19.2

Post by invenio » Mon Sep 09, 2019 12:31 pm

Here is what I got, one of them didn't give any text output.

Code: Select all

cat /etc/fstab
# /etc/fstab: static file system information.
#
# Use 'blkid' to print the universally unique identifier for a
# device; this may be used with UUID= as a more robust way to name devices
# that works even if disks are added and removed. See fstab(5).
#
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda1 during installation
UUID=3f1b0670-0a5f-4cc3-bf48-51101dac07e5 /               ext4    errors=remount-ro 0       1
/swapfile                                 none            swap    sw              0       0
/dev/mapper/cryptswap1 none swap sw 0 0

Code: Select all

lsblk -f
NAME   FSTYPE LABEL UUID                                 MOUNTPOINT
sda                                                      
└─sda1 ext4         3f1b0670-0a5f-4cc3-bf48-51101dac07e5 /
sr0    

Code: Select all

cat /etc/initramfs-tools/conf.d/resume
RESUME=UUID=a398d652-eb95-4da6-9177-d32a1360acc5

invenio
Level 1
Level 1
Posts: 14
Joined: Mon Aug 27, 2018 8:51 pm

Re: Slow Boot with XFCE 19.2

Post by invenio » Mon Sep 09, 2019 12:48 pm

Looks like the 1st suggestion worked!!!! Thank you so much.

Code: Select all

systemd-analyze
Startup finished in 38.492s (kernel) + 3.769s (userspace) = 42.262s
graphical.target reached after 3.374s in userspace

Post Reply

Return to “Installation & Boot”