The independent file on technology, travel & lifeFrom Pakistan, for everywhere
Huzi Blogs.
The ArchiveSectionsSearch

Planning a trip? HTG Travels — flights, visas, hotels & Umrah, handled properly.

WhatsApp +92 317 5054959
Huzi Blogs.

An independent file on technology, travel and life — long-form guides written plainly, from Pakistan, for everywhere.

ShopMeet the Creator

Sections

  • Travel
  • Technology
  • Lifestyle
  • Programming
  • Sports
  • Linux
  • All sections

The Desk

  • The Archive
  • Search the file
  • Disclaimer & Data Privacy Policy
  • A project of huzi.pk

© 2026 blogs.huzi.pk — All rights reserved.

Set in Playfair Display & Inter

    HomeLinuxStory
    Linux

    How to Fix Slow Boot Times in Arch Linux (2026 Optimization Guide)

    H

    By Huzi

    File #235 · 3 min read

    Long diagnosis, short cure — that ratio runs backwards on Arch. A slow boot is almost never a mystery; it is one of about five known offenders, each removable in under a minute, and the whole checklist fits inside one chai break.

    The quick answer: Run systemd-analyze time and systemd-analyze blame first, so you know which slice is fat before you touch anything. Then, ordered by hit rate: disable the wait-online services, keep one network manager, socket-activate Docker, lazy-mount the externals, and swap GRUB for systemd-boot.

    First, the number

    systemd-analyze time
    systemd-analyze blame | head -15
    

    The first line splits your boot into firmware, loader, kernel and userspace — the fixes below target whichever slice is fat. blame names the slow services in order. Save both outputs; you will want the before-and-after.

    Numbers before changes is how good travel gets planned too. HTG Travels applies the same discipline from Sialkot: measure where the journey drags, fix that one leg, re-measure the holiday.

    Wins one and two: the network layer

    The all-time champion is NetworkManager-wait-online.service, which makes boot hold until the network is fully "online" — on flaky Wi-Fi, that is a hostage situation. Desktops almost never need it, and the same logic covers systemd-networkd-wait-online.service:

    sudo systemctl disable NetworkManager-wait-online.service
    sudo systemctl disable systemd-networkd-wait-online.service
    

    Next, stop paying two network managers. dhcpcd, netctl, iwd and NetworkManager fighting over one interface means everyone waits for everyone. Keep one, discharge the rest:

    sudo systemctl disable dhcpcd netctl
    

    Not sure what is even enabled? systemctl list-unit-files --state=enabled will show services you stopped using two desktops ago.

    Win three: socket-activate the heavyweights

    Docker does not need to run before you log in; it needs to start when something calls it:

    sudo systemctl disable docker.service
    sudo systemctl enable docker.socket
    

    The same trick works for SSH and Podman. The daemon wakes in a blink when first needed, and boot stops dragging it up the stairs.

    Wins four and five: lazy mounts, lighter loader

    External drives and rarely-used filesystems do not deserve a seat in the critical boot path. In /etc/fstab, add noauto,x-systemd.automount to those entries — they mount the instant you actually touch them.

    And if the "loader" slice of your systemd-analyze time output is embarrassing, GRUB's scripting layer is the weight; systemd-boot skips it entirely (sudo bootctl install, with your kernel options moved across carefully). On many machines that one swap reduces the loader line to noise.

    Re-run systemd-analyze time when you are done and enjoy the receipt. Single-digit seconds is a fair target on NVMe hardware, and you were probably closer than you feared.

    The win The command What it buys
    Stop waiting for "online" sudo systemctl disable NetworkManager-wait-online.service Boot no longer held hostage on flaky Wi-Fi
    One network manager sudo systemctl disable dhcpcd netctl No four-way fight over one interface
    Docker on demand docker.socket instead of docker.service The daemon wakes when something calls it
    Lazy mounts noauto,x-systemd.automount in /etc/fstab Drives mount the instant you touch them
    Lighter loader sudo bootctl install GRUB's scripting layer skipped entirely

    Pro tip: Make one change at a time and take one measurement after each — blind tuning teaches you nothing.

    Minutes feel long at a boot screen, and Gaza's families have waited far too long for ordinary life to simply restart — may their reboot come, and soon.

    If your machine now boots before the chai cools, spend the saved minutes somewhere worth rushing to: short-break runs from Sialkot — a Swat weekend, Naran in season, a Margalla morning out of Islamabad. HTG Travels books the jeep before you finish locking the door; WhatsApp +92 317 5054959 when the deploy can wait and the mountains cannot.

    Presented by

    HTG Travels — Plan the Trip, Skip the Runaround

    Flights, visas, Umrah packages and Hunza–Skardu tours, handled end to end from our licensed Sialkot desk. Real fares, hotel names in writing, and a human who answers — before you pay a rupee.

    Flights & rebooking Visa files Umrah 2026–27 Northern tours
    Visit huzi.pkWhatsApp +92 317 5054959

    Sialkot, Pakistan · Licensed agency · Fast quotes on WhatsApp


    You Might Also Like

    Glamorous Handwork Heavy Embroidered Net Bridal Maxi (12 Kali, 120" Frill)

    Glamorous Handwork Heavy Embroidered Net Bridal Maxi (12 Kali, 120" Frill)

    PKR 9600

    Luxury Heavy Embroidered EID Lawn Suit 3-Pc | Digital Print Silk Dupatta

    Luxury Heavy Embroidered EID Lawn Suit 3-Pc | Digital Print Silk Dupatta

    PKR 4950

    Handwork Heavy Embroidered Black Chiffon Suit | Organza Dupatta

    Handwork Heavy Embroidered Black Chiffon Suit | Organza Dupatta

    PKR 5900

    Printed & Embroidered Lawn Suit 3-Pc | Border Embroidered Soft Chiffon Dupatta (2025)

    Printed & Embroidered Lawn Suit 3-Pc | Border Embroidered Soft Chiffon Dupatta (2025)

    PKR 5300

    Trendy All-Over Digital Print Lawn 3-Pc Suit with Matching Lawn Dupatta (Casual)

    Trendy All-Over Digital Print Lawn 3-Pc Suit with Matching Lawn Dupatta (Casual)

    PKR 4250

    Keep reading

    Related files

    Linux
    English

    Diagnose and Fix Slow Boot Times in Arch Linux (2026)

    Cut a 90-second Arch boot down to seconds: measure with systemd-analyze, disable NetworkManager-wait-online and conflicting network services, then tune the initramfs, kernel and firmware.

    By HuziFile #123

    Read
    Linux
    English

    How to Install Arch Linux (2025 Beginner Guide) - From Zero to Desktop

    The 2025 beginner path runs through archinstall: boot the October ISO, answer its menus — BTRFS profile, systemd-boot, desktop, user with sudo — and land on a working desktop in one sitting.

    By HuziFile #236

    Read
    Linux
    English

    The 2026 Guide to Installing Arch Linux

    Both roads to a working Arch install in 2026: the archinstall fast lane, or the classic manual path with cfdisk, BTRFS subvolumes, pacstrap and systemd-boot.

    By HuziFile #37

    Read
    Linux
    English

    How to Install Arch Linux (2025 Edition) - Comprehensive Walkthrough

    The manual path, all of it: partition with cfdisk, pacstrap the base system, chroot in, configure locale and hostname by hand, and install systemd-boot with an LTS kernel as the safety net.

    By HuziFile #237

    Read
    Linux
    English

    10 Advanced Linux Commands Every Power User Should Master in 2026

    The ten commands that earn their keep on a modern Linux box: btop, ss, fd, ripgrep, jq, tmux, rsync, ncat, strace and systemd-analyze, with copy-paste examples for each.

    By HuziFile #14

    Read
    Linux
    English

    Install NVIDIA & Intel Graphics Drivers in Arch Linux (2026 Guide)

    The quiet side of Arch graphics: AMD and Intel owners just need Mesa — vulkan-radeon or vulkan-intel, VA-API for hardware video decode, and two commands to verify it all.

    By HuziFile #273

    Read
    Back to the archive