[SOLVED] Very slow boot time
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
[SOLVED] Very slow boot time
Hello
I installed linux mint 19 a year ago on 2 PCs at a friend's house (in double boot with windows)
on the 1st PC the linux boot time is good, but on the other it takes almost 5 minutes to boot,
I asked him to place the command sytemd-analyze blame and here is the result
41s systemd-suspend serice
20s mintupdate-automation-upgrade
.....
what can explain this launch time
Regards
I installed linux mint 19 a year ago on 2 PCs at a friend's house (in double boot with windows)
on the 1st PC the linux boot time is good, but on the other it takes almost 5 minutes to boot,
I asked him to place the command sytemd-analyze blame and here is the result
41s systemd-suspend serice
20s mintupdate-automation-upgrade
.....
what can explain this launch time
Regards
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Linux Mint 20.3 Cinnamon 5.2.7 kernel :5.4.0-104
ubuntu-20.04.4-desktop-amd64
ubuntu-20.04.4-desktop-amd64
- mikaelrask
- Level 5
- Posts: 801
- Joined: Wed Mar 13, 2019 7:38 am
- Location: Sweden
- Contact:
Re: Very slow boot time
hey and welcome to the forum and linux mint wormsf. could you also add system information on that other computer here please. Run this command in the terminal and post the outcome of that in your next post. . is secure boot/fastboot disabled from bios?
Code: Select all
inxi -Fxxrzc0
CPU AMD Ryzen 9 7900
Graphic Card: AMD ATI Radeon RX 7900 XT/7900 XTX/7900M
Ram 32 GB ddr 5
Kernel: 6.5.0-14 generic
LM Cinnamon 21.3 edge
Graphic Card: AMD ATI Radeon RX 7900 XT/7900 XTX/7900M
Ram 32 GB ddr 5
Kernel: 6.5.0-14 generic
LM Cinnamon 21.3 edge
Re: Very slow boot time
Hello,
In betting mode, I would bet on disk bad mount. However, we're not here to bet :
If possible can we have the aggregate
to evaluate global time taken by firmware, kernel and userspace
and if the problem lies mainly in userspace
to have infos about how the disks are mounted and
to have a nice presentation of the whole disk system
In betting mode, I would bet on disk bad mount. However, we're not here to bet :
If possible can we have the aggregate
Code: Select all
systemd-analyze
and if the problem lies mainly in userspace
Code: Select all
cat /etc/fstab
Code: Select all
sudo lsblk -o NAME,TYPE,FSTYPE,LABEL,MOUNTPOINT,FSUSE%,FSAVAIL
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
Re: Very slow boot time
thank you aztaroth and mikaelrask for your help. As soon as I can I will go at my friend's home to run the commands
regards
regards
Linux Mint 20.3 Cinnamon 5.2.7 kernel :5.4.0-104
ubuntu-20.04.4-desktop-amd64
ubuntu-20.04.4-desktop-amd64
Re: Very slow boot time
If it's not easy to access your friend's computer, please add UUID to the
lsblk
command (will be not so nice, but more complete)Code: Select all
sudo lsblk -o NAME,TYPE,FSTYPE,LABEL,MOUNTPOINT,FSUSE%,FSAVAIL,UUID
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
Re: Very slow boot time
Hello
here after a file with the result of
systemd-analyze
cat /etc/fstab
sudo lsblk -o NAME,TYPE,FSTYPE,LABEL,MOUNTPOINT,FSUSE%,FSAVAIL
inxi -Fxxrzc0
more information
There are also 2 windows partitions , it's possible to boot under Windows (only to manage books on a e-reader through ADE)
I just repaired The PC : impossible to boot under linux , it stopped in initramfs
I launched fsck ,it resolved the problem
but it's always very slow
Regards
here after a file with the result of
systemd-analyze
cat /etc/fstab
sudo lsblk -o NAME,TYPE,FSTYPE,LABEL,MOUNTPOINT,FSUSE%,FSAVAIL
inxi -Fxxrzc0
more information
There are also 2 windows partitions , it's possible to boot under Windows (only to manage books on a e-reader through ADE)
I just repaired The PC : impossible to boot under linux , it stopped in initramfs
I launched fsck ,it resolved the problem
but it's always very slow
Regards
Linux Mint 20.3 Cinnamon 5.2.7 kernel :5.4.0-104
ubuntu-20.04.4-desktop-amd64
ubuntu-20.04.4-desktop-amd64
Re: Very slow boot time
It would have been more readable if posting the command outputs directly here between code brackets (icon </>) like this :
systemd-analyze :
cat /etc/fstab :
inxi -Fxxrzc0 :
Now, gonna check all this
systemd-analyze :
Code: Select all
Startup finished in 7.116s (kernel) + 3min 5.532s (userspace) = 3min 12.648s
graphical.target reached after 1min 45.061s in userspace
Code: Select all
# /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/sda5 during installation
UUID=d6ec2e16-ffd6-417c-9dfa-f55585e8ed11 / ext4 errors=remount-ro 0 1
# /home was on /dev/sda3 during installation
UUID=1123cac2-11c2-4ba5-80fa-444815f2382d /home ext4 defaults 0 2
# swap was on /dev/sda6 during installation
UUID=7f084eab-1069-488b-8a5a-018270d10d4c none swap sw 0 0
Code: Select all
System: Host: christine-TERRA-MOBILE-1512-1712 Kernel: 5.4.0-84-generic x86_64 bits: 64
compiler: gcc v: 7.5.0 Desktop: Cinnamon 4.4.8 wm: muffin dm: LightDM
Distro: Linux Mint 19.3 Tricia base: Ubuntu 18.04 bionic
Machine: Type: Laptop System: Wortmann_AG product: TERRA_MOBILE_1512/1712 v: N/A
serial: <filter> Chassis: type: 10 serial: <filter>
Mobo: Wortmann_AG model: TERRA_MOBILE_1512/1712 v: V3.0 serial: <filter>
BIOS: American Megatrends v: 4.6.5 date: 08/05/2013
Battery: ID-1: BAT0 charge: 37.5 Wh condition: 49.9/48.8 Wh (102%) volts: 11.4/11.1
model: NOTEBOOK BAT serial: <filter> status: Charging
CPU: Topology: Dual Core model: Intel Celeron 1037U bits: 64 type: MCP arch: Ivy Bridge
rev: 9 L2 cache: 2048 KiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 7183
Speed: 798 MHz min/max: 800/1800 MHz Core speeds (MHz): 1: 798 2: 798
Graphics: Device-1: Intel 3rd Gen Core processor Graphics vendor: CLEVO/KAPOK driver: i915
v: kernel bus ID: 00:02.0 chip ID: 8086:0156
Display: x11 server: X.Org 1.20.8 driver: modesetting unloaded: fbdev,vesa
resolution: 1366x768~60Hz
OpenGL: renderer: Mesa DRI Intel HD Graphics 2500 (IVB GT1) v: 4.2 Mesa 20.0.8
compat-v: 3.0 direct render: Yes
Audio: Device-1: Intel 7 Series/C216 Family High Definition Audio vendor: CLEVO/KAPOK
driver: snd_hda_intel v: kernel bus ID: 00:1b.0 chip ID: 8086:1e20
Sound Server: ALSA v: k5.4.0-84-generic
Network: Device-1: Intel Centrino Wireless-N 135 driver: iwlwifi v: kernel port: f040
bus ID: 02:00.0 chip ID: 8086:0892
IF: wlp2s0 state: up mac: <filter>
Device-2: Realtek RTL810xE PCI Express Fast Ethernet vendor: CLEVO/KAPOK driver: r8169
v: kernel port: e000 bus ID: 03:00.2 chip ID: 10ec:8136
IF: enp3s0f2 state: up speed: 100 Mbps duplex: full mac: <filter>
Drives: Local Storage: total: 1.38 TiB used: 273.37 GiB (19.4%)
ID-1: /dev/sda vendor: Toshiba model: MQ01ABD100 size: 931.51 GiB speed: 3.0 Gb/s
serial: <filter>
ID-2: /dev/sdb type: USB model: USB DISK 3.0 size: 14.78 GiB serial: <filter>
ID-3: /dev/sdc type: USB vendor: Toshiba model: MQ01UBD050 size: 465.76 GiB
serial: <filter>
Partition: ID-1: / size: 40.59 GiB used: 10.88 GiB (26.8%) fs: ext4 dev: /dev/sda5
ID-2: /home size: 400.31 GiB used: 18.11 GiB (4.5%) fs: ext4 dev: /dev/sda3
Sensors: System Temperatures: cpu: 57.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/atareao-nemo-extensions-bionic.list
1: deb http: //ppa.launchpad.net/atareao/nemo-extensions/ubuntu bionic main
Active apt repos in: /etc/apt/sources.list.d/danielrichter2007-grub-customizer-bionic.list
1: deb http: //ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu bionic main
Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
1: deb http: //mirror6.layerjet.com/linuxmint/packages tricia main upstream import backport
2: deb http: //fr.archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
3: deb http: //fr.archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
4: deb http: //fr.archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
5: deb http: //security.ubuntu.com/ubuntu/ bionic-security main restricted universe multiverse
6: deb http: //archive.canonical.com/ubuntu/ bionic partner
Active apt repos in: /etc/apt/sources.list.d/pavreh-ppa-bionic.list
1: deb http: //ppa.launchpad.net/pavreh/ppa/ubuntu bionic main
Active apt repos in: /etc/apt/sources.list.d/skype-stable.list
1: deb [arch=amd64] https: //repo.skype.com/deb stable main
Active apt repos in: /etc/apt/sources.list.d/teamviewer.list
1: deb https: //linux.teamviewer.com/deb stable main
Info: Processes: 184 Uptime: 9m Memory: 3.55 GiB used: 788.9 MiB (21.7%) Init: systemd v: 237
runlevel: 5 Compilers: gcc: 7.5.0 alt: 7 Client: shell wrapper inxi: 3.0.32
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
Re: Very slow boot time
First anomaly :
swap partition quoted in etc/fstab
vanished in inxi report :
By the way, problem is less the firmware you posted in the OP, but the time in the userspace (> 3mn). Solving the swap issue might help. Did your friend voluntary disable swap (in a bad way) or has something happened to sda6 ? The missing
swap partition quoted in etc/fstab
Code: Select all
# swap was on /dev/sda6 during installation
UUID=7f084eab-1069-488b-8a5a-018270d10d4c none swap sw 0 0
Code: Select all
Partition: ID-1: / size: 40.59 GiB used: 10.88 GiB (26.8%) fs: ext4 dev: /dev/sda5
ID-2: /home size: 400.31 GiB used: 18.11 GiB (4.5%) fs: ext4 dev: /dev/sda3
lsblk
would have told us even in its crude form :
Code: Select all
lsblk
dual boot LMDE4 (mostly) + LM19.3 Cinnamon (sometimes)
Re: Very slow boot time
Thank you aztaroth
sorry for the presentation of result
Effectively there is no result for fsblk
I willl connect to the PC through anydesk
François
sorry for the presentation of result
Effectively there is no result for fsblk
I willl connect to the PC through anydesk
- to run fsblk
- to verify the swap status
- to run again systemd-analyse
François
Linux Mint 20.3 Cinnamon 5.2.7 kernel :5.4.0-104
ubuntu-20.04.4-desktop-amd64
ubuntu-20.04.4-desktop-amd64
Re: Very slow boot time
sorry for the response time
Ultimately, I completely reformatted the disk and installed the latest version of mint.
Now boot time seems correct to me for computer power
I added a swap partition
thank you again for all your advice
regards
Ultimately, I completely reformatted the disk and installed the latest version of mint.
Now boot time seems correct to me for computer power
I added a swap partition
thank you again for all your advice
regards
Linux Mint 20.3 Cinnamon 5.2.7 kernel :5.4.0-104
ubuntu-20.04.4-desktop-amd64
ubuntu-20.04.4-desktop-amd64