Slow boot on sata ssd with clean install

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Post Reply
Ghost12
Level 1
Level 1
Posts: 2
Joined: Sun Mar 24, 2024 7:36 am

Slow boot on sata ssd with clean install

Post by Ghost12 »

Hello new to Linux here.

I'm getting slow boot time of of 2mins or a little more. System boots up normally to the mobo splash screen and then it is a blank screen for about 1 min (but if I type the inputs show up) and this is followed by the mint logo for another 30 seconds or so, which finally leads to the the login password prompt which I consider as booted.

Reading here and other forums about 30-40s seems a reasonable boot time for a sata ssd?

Here is what I did below and system info.

First I secure wiped the ssd, next downloaded mint iso and verified before mounting to usb drive. I then installed linux using the usb drive without altering any settings.

The ssd is showing healthy on crystal disk and I've disconnected other drives prior to installing linux. So basically a single boot system atm, but do plan on reconnecting the other drives which have windows on them. I'm a newbie so I don't know if the partitions are set correctly and also plan to dual boot when I reconnect the windows drives.

Code: Select all

System:
  Kernel: 5.15.0-91-generic x86_64 bits: 64 compiler: gcc v: 11.4.0 Desktop: MATE 1.26.0
    info: mate-panel wm: marco 1.26.0 dm: LightDM 1.30.0 Distro: Linux Mint 21.3 Virginia
    base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop Mobo: Micro-Star model: B450M MORTAR MAX (MS-7B89) v: 1.0
    serial: <superuser required> UEFI: American Megatrends v: 2.70 date: 04/21/2020
CPU:
  Info: quad core model: AMD Ryzen 3 3100 bits: 64 type: MT MCP smt: enabled arch: Zen 2 rev: 0
    cache: L1: 256 KiB L2: 2 MiB L3: 16 MiB
  Speed (MHz): avg: 2750 high: 3899 min/max: 2200/3600 boost: enabled cores: 1: 1950 2: 3898
    3: 1868 4: 2800 5: 1949 6: 3899 7: 1956 8: 3681 bogomips: 57601
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: AMD Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] vendor: PC Partner
    driver: amdgpu v: kernel pcie: speed: 8 GT/s lanes: 16 ports: active: HDMI-A-2
    empty: DP-1, DP-2, DVI-D-1, HDMI-A-1 bus-ID: 26:00.0 chip-ID: 1002:67df class-ID: 0300
  Display: x11 server: X.Org v: 1.21.1.4 compositor: marco v: 1.26.0 driver: X:
    loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa gpu: amdgpu display-ID: :0 screens: 1
  Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.0x11.2") s-diag: 582mm (22.9")
  Monitor-1: HDMI-A-1 mapped: HDMI-A-2 model: Samsung SMB2230H serial: <filter> res: 1920x1080
    hz: 60 dpi: 305 size: 160x90mm (6.3x3.5") diag: 184mm (7.2") modes: max: 1920x1080 min: 720x400
  OpenGL:
    renderer: AMD Radeon RX 480 Graphics (polaris10 LLVM 15.0.7 DRM 3.42 5.15.0-91-generic)
    v: 4.6 Mesa 23.0.4-0ubuntu1~22.04.1 direct render: Yes
Audio:
  Device-1: AMD Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590] vendor: PC Partner
    driver: snd_hda_intel v: kernel pcie: speed: 8 GT/s lanes: 16 bus-ID: 26:00.1 chip-ID: 1002:aaf0
    class-ID: 0403
  Device-2: AMD Starship/Matisse HD Audio vendor: Micro-Star MSI driver: snd_hda_intel v: kernel
    pcie: speed: 16 GT/s lanes: 16 bus-ID: 28:00.4 chip-ID: 1022:1487 class-ID: 0403
  Sound Server-1: ALSA v: k5.15.0-91-generic running: yes
  Sound Server-2: PulseAudio v: 15.99.1 running: yes
  Sound Server-3: PipeWire v: 0.3.48 running: yes
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Micro-Star MSI
    driver: r8169 v: kernel pcie: speed: 2.5 GT/s lanes: 1 port: f000 bus-ID: 22:00.0
    chip-ID: 10ec:8168 class-ID: 0200
  IF: enp34s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 223.57 GiB used: 11.37 GiB (5.1%)
  ID-1: /dev/sda model: SATA SSD size: 223.57 GiB speed: 6.0 Gb/s type: SSD serial: <filter>
    rev: J1.3 scheme: GPT
Partition:
  ID-1: / size: 218.51 GiB used: 11.37 GiB (5.2%) fs: ext4 dev: /dev/sda2
  ID-2: /boot/efi size: 511 MiB used: 6.1 MiB (1.2%) fs: vfat dev: /dev/sda1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 0 KiB (0.0%) priority: -2 file: /swapfile
USB:
  Hub-1: 1-0:1 info: Hi-speed hub with single TT ports: 10 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Hub-2: 2-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
  Hub-3: 3-0:1 info: Hi-speed hub with single TT ports: 4 rev: 2.0 speed: 480 Mb/s
    chip-ID: 1d6b:0002 class-ID: 0900
  Device-1: 3-3:2 info: Novatek Micro Keyboard (Labtec Ultra Flat Keyboard) type: Keyboard,HID
    driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 1.5 Mb/s power: 100mA
    chip-ID: 0603:00f2 class-ID: 0300
  Device-2: 3-4:3 info: Razer USA RZ01-0325 Gaming Mouse [Viper Mini] type: Mouse,Keyboard
    driver: hid-generic,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s power: 500mA chip-ID: 1532:008a
    class-ID: 0300
  Hub-4: 4-0:1 info: Super-speed hub ports: 4 rev: 3.1 speed: 10 Gb/s chip-ID: 1d6b:0003
    class-ID: 0900
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 48.0 C
  Fan Speeds (RPM): N/A gpu: amdgpu fan: 1640
Repos:
  Packages: apt: 2130
  No active apt repos in: /etc/apt/sources.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb http: //packages.linuxmint.com virginia main upstream import backport
    2: deb http: //archive.ubuntu.com/ubuntu jammy main restricted universe multiverse
    3: deb http: //archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
Info:
  Processes: 277 Uptime: 15m wakeups: 0 Memory: 15.56 GiB used: 1.93 GiB (12.4%) Init: systemd
  v: 249 runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12 Client: Unknown python3.10 client
  inxi: 3.3.13
Last edited by SMG on Sun Mar 24, 2024 8:03 am, edited 1 time in total.
Reason: Removed quote tags from system information. Please do not quote terminal output.
User avatar
mikaelrask
Level 5
Level 5
Posts: 801
Joined: Wed Mar 13, 2019 7:38 am
Location: Sweden
Contact:

Re: Slow boot on sata ssd with clean install

Post by mikaelrask »

Hey and welcome to the forum and linux mint, please open up the terminal and run this two command it will help us identify any service in the background that might slow your boot down.

Code: Select all

systemd-analyze
and

Code: Select all

systemd-analyze blame
,

second check in your bios that ahci is set under advance option in your bios.

good luck
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
Ghost12
Level 1
Level 1
Posts: 2
Joined: Sun Mar 24, 2024 7:36 am

Re: Slow boot on sata ssd with clean install

Post by Ghost12 »

Hi,

Yes the hard drive is set to ahci in the bios.

Code: Select all

j@j-MS-7B89:~$ systemd-analyze
Startup finished in 14.959s (firmware) + 3.487s (loader) + 1min 11.853s (kernel) + 38.139s (userspace) = 2min 8.440s 
graphical.target reached after 38.133s in userspace

Code: Select all

j@j-MS-7B89:~$ systemd-analyze blame
33.008s systemd-udev-settle.service
 4.194s NetworkManager-wait-online.service
  934ms udisks2.service
  565ms blueman-mechanism.service
  531ms networkd-dispatcher.service
  441ms fstrim.service
  374ms logrotate.service
  330ms dev-sda2.device
  301ms accounts-daemon.service
  204ms systemd-resolved.service
  174ms systemd-journal-flush.service
  173ms avahi-daemon.service
  170ms NetworkManager.service
  168ms polkit.service
  166ms switcheroo-control.service
  166ms zfs-load-module.service
  162ms ubuntu-system-adjustments.service
  157ms ModemManager.service
  152ms thermald.service
  151ms wpa_supplicant.service
  150ms systemd-logind.service
  134ms gpu-manager.service
  129ms grub-common.service
Post Reply

Return to “Installation & Boot”