cuarif
27 December 2021 17:38
1
Hi I am a newbie to linux. Boot up takes too much time. I have installed manjaro in an eternal HDD.
here is the systemd-analyze blame result
8.480s snapd.service
7.165s udisks2.service
6.105s polkit.service
5.232s dev-sdb3.device
4.222s NetworkManager.service
4.129s systemd-journal-flush.service
2.331s bluetooth.service
2.322s upower.service
2.213s systemd-fsck@dev-disk-by\x2duuid-7622\x2dB4FD.service
2.083s cups.service
1.994s apparmor.service
1.917s tlp.service
1.892s ModemManager.service
1.511s avahi-daemon.service
1.434s systemd-logind.service
1.287s ldconfig.service
857ms systemd-modules-load.service
737ms user@1000.service
666ms snapd.apparmor.service
653ms wpa_supplicant.service
619ms systemd-fsck@dev-disk-by\x2duuid-029d8551\x2de720\x2d48a5\x2da1b5\x2d742cb2d0b68f.service
598ms systemd-sysusers.service
573ms lvm2-monitor.service
381ms systemd-tmpfiles-setup-dev.service
361ms systemd-tmpfiles-setup.service
356ms systemd-random-seed.service
314ms dev-disk-by\x2duuid-dc0a34e2\x2dfb83\x2d47d4\x2d8e82\x2d0e1873b42fc0.swap
252ms systemd-udev-trigger.service
234ms dev-hugepages.mount
222ms systemd-timesyncd.service
215ms dev-mqueue.mount
213ms systemd-user-sessions.service
213ms systemd-udevd.service
189ms systemd-backlight@backlight:intel_backlight.service
186ms sys-kernel-debug.mount
ď î° ď ~ î°
thereâs no anomalies - patience is a virtue - make yourself a cup of tea - remember to watch the water bioiling.
If you must and you donât intend to use - remove snap packages and their configs from grub config.
Please search for similiar topics - there is plenty discussions on the subject - also in the https://archived.forum.manjaro.org
1 Like
welcome!
please provide the output from inxi -Fzy
and cat /etc/default/grub | head -n6
cuarif:
8.480s snapd.service
disable this if you donât use SNAPS (8s is too much)
sudo systemctl disable snapd.service
ydar
27 December 2021 18:15
5
A few of those services may be optional. It entirely depends on your needs. For example if you donât use any snap packages and donât plan to, then uninstall snapd, youâll shave off several seconds from your boot up time, and then modemmanager and bluetooth services may be wasting your time too, so if you donât have hardware that can use them, then disable them, it wont affect you system in any negative way but will save a few seconds on boot time.
Of course being a newbie you may not want to try this just yet, but hereâs article that explains how to disable unneeded services should you want to try: Cleaning Up Your Linux Startup Process - Linux.com .
cuarif
28 December 2021 17:41
6
I am trying to paste the output of the said commands. But when i click on the reply button, it says âSOrry, your post cant contain linksâ.
Tip: When pasting terminal output on Discourse forums, one can eitherâŚ
Use the Preformatted text </> toolbar buttonâNOT the Quote " button.
Add three backticks ` above and below the text (Markdown):
type or paste code here
Use HTML:
type or paste code here
Please edit your posts accordingly.
cuarif
28 December 2021 17:55
8
inxi -Fzy î˛
System:
Kernel: 5.15.7-1-MANJARO x86_64 bits: 64 Desktop: KDE Plasma 5.23.4
Distro: Manjaro Linux
Machine:
Type: Laptop System: Sony product: SVF15212SNW v: C10HEWH6
serial:
Mobo: Sony model: VAIO serial: UEFI: Insyde
v: R0250DA date: 07/19/2016
Battery:
ID-1: BAT1 charge: 4.5 Wh (16.8%) condition: 26.8/42.3 Wh (63.2%) volts: 4.3
min: 14.4
CPU:
Info: dual core model: Intel Core i3-3227U bits: 64 type: MT MCP cache:
L2: 512 KiB
Speed (MHz): avg: 1038 min/max: 800/1900 cores: 1: 1018 2: 798 3: 1070
4: 1268
Graphics:
Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel
Display: x11 server: X.org 1.21.1.2 driver: loaded: modesetting
resolution: <missing: xdpyinfo>
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: Intel 7 Series/C216 Family High Definition Audio
driver: snd_hda_intel
Sound Server-1: ALSA v: k5.15.7-1-MANJARO running: yes
Sound Server-2: PulseAudio v: 15.0 running: yes
Sound Server-3: PipeWire v: 0.3.40 running: yes
Network:
Device-1: Broadcom BCM43142 802.11b/g/n driver: wl
IF: wlp7s0 state: up mac:
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
driver: r8168
IF: enp14s0 state: down mac:
Bluetooth:
Device-1: Foxconn / Hon Hai BCM43142A0 type: USB driver: btusb
Report: rfkill ID: hci0 state: up address: see --recommends
Drives:
Local Storage: total: 585 GiB used: 12.2 GiB (2.1%)
ID-1: /dev/sda model: SSD 128GB size: 119.24 GiB
ID-2: /dev/sdb vendor: Toshiba model: MQ01ABD050 size: 465.76 GiB
Partition:
ID-1: / size: 97.87 GiB used: 9.45 GiB (9.7%) fs: ext4 dev: /dev/sdb3
ID-2: /boot/efi size: 1022 MiB used: 288 KiB (0.0%) fs: vfat
dev: /dev/sdb1
ID-3: /home size: 350.09 GiB used: 2.75 GiB (0.8%) fs: ext4 dev: /dev/sdb4
Swap:
ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) dev: /dev/sdb2
Sensors:
System Temperatures: cpu: 45.0 C mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 202 Uptime: 31m Memory: 3.71 GiB used: 1.84 GiB (49.5%)
Shell: Zsh inxi: 3.3.11
cuarif
28 December 2021 17:57
9
cat /etc/default/grub | head -n6 î˛ PIPE|1 â
GRUB_DEFAULT=saved
GRUB_TIMEOUT=5
GRUB_TIMEOUT_STYLE=hidden
GRUB_DISTRIBUTOR=âManjaroâ
GRUB_CMDLINE_LINUX_DEFAULT=âquiet apparmor=1 security=apparmor resume=UUID=dc0a34e2-fb83-47d4-8e82-0e1873b42fc0 udev.log_priority=3â
GRUB_CMDLINE_LINUX=""
ď î° ď ~ î°
If you start manjaro from an external HDD, then this is the reason why it is slow.
Things you can do to speed up your manjaro:
Install it intern on SSD (by far the best option)
Install it extern on SSD connected via USB3
Install it extern on a fast USB3-drive
Install it extern on a fast USB-drive
Even a slow USB3-drive will be faster than your external HDD, but best would be a SSD.