ich bitte um Hilfe beim Beschleunigen des Bootvorgangs:
er dauert bei mir 50 Sekunden, davon 10 Sekunden für die Grub-Abfrage, ob ich manjaro oder Windows booten will.
~ systemd-analyze critical-chain ✔
The time when unit became active or started is printed after the "@" character.
The time the unit took to start is printed after the "+" character.
graphical.target @31.306s
└─multi-user.target @31.305s
└─plymouth-quit-wait.service @6.870s +24.434s
└─systemd-user-sessions.service @6.756s +71ms
└─nss-user-lookup.target @9.999s
~
In einem alten Posting habe ich gefunden, dass dort graphical.target und multi-user.target nur je 12 s dauern.
Was kann ich da machen?
Ergänze bitte auch:
systemd-analyze
systemd-analyze blame --no-pager
hallo,
poste bitte die ausgabe von
cat /etc/default/grub | grep TIMEOUT
cat /etc/fstab
~ systemd-analyze ✔
Startup finished in 3.247s (kernel) + 31.808s (userspace) = 35.055s
graphical.target reached after 31.808s in userspace.
~ systemd-analyze blame --no-pager ✔
25.121s plymouth-quit-wait.service
3.009s NetworkManager-wait-online.service
2.807s snapd.socket
1.285s dev-sda1.device
1.144s apparmor.service
790ms dev-loop10.device
786ms dev-loop11.device
785ms dev-loop9.device
782ms dev-loop8.device
782ms dev-loop7.device
778ms dev-loop5.device
778ms dev-loop6.device
774ms dev-loop4.device
770ms dev-loop3.device
767ms dev-loop2.device
766ms dev-loop0.device
763ms dev-loop1.device
605ms lvm2-monitor.service
586ms user@1000.service
499ms ufw.service
469ms udisks2.service
447ms NetworkManager.service
397ms systemd-tmpfiles-setup.service
391ms cups.service
287ms systemd-udev-trigger.service
286ms home.mount
244ms systemd-journal-flush.service
224ms systemd-remount-fs.service
203ms systemd-modules-load.service
188ms systemd-tmpfiles-setup-dev-early.service
186ms systemd-vconsole-setup.service
179ms ModemManager.service
157ms systemd-journald.service
143ms systemd-udevd.service
142ms systemd-fsck@dev-disk-by\x2duuid-76507855\x2dcab9\x2d4315\x2db74c\x2d99…
130ms upower.service
129ms systemd-random-seed.service
126ms modprobe@fuse.service
119ms tmp.mount
116ms var-lib-snapd-snap-bare-5.mount
115ms polkit.service
113ms var-lib-snapd-snap-core18-2823.mount
110ms snapd.apparmor.service
106ms var-lib-snapd-snap-core20-2105.mount
103ms var-lib-snapd-snap-core20-2182.mount
97ms modprobe@drm.service
97ms teamviewerd.service
96ms power-profiles-daemon.service
90ms systemd-binfmt.service
90ms var-lib-snapd-snap-fbreader-29.mount
86ms colord.service
82ms accounts-daemon.service
80ms var-lib-snapd-snap-gnome\x2d3\x2d38\x2d2004-143.mount
73ms var-lib-snapd-snap-gtk\x2dcommon\x2dthemes-1535.mount
71ms plymouth-read-write.service
70ms var-lib-snapd-snap-pyqt5\x2druntime\x2dcore20-9.mount
70ms systemd-tmpfiles-setup-dev.service
70ms dbus-broker.service
70ms plymouth-start.service
69ms systemd-logind.service
65ms user-runtime-dir@1000.service
63ms systemd-timesyncd.service
61ms systemd-update-utmp.service
60ms kmod-static-nodes.service
60ms systemd-sysctl.service
56ms modprobe@configfs.service
56ms systemd-user-sessions.service
54ms var-lib-snapd-snap-snapd-20290.mount
50ms var-lib-snapd-snap-snapd-21184.mount
42ms dev-hugepages.mount
42ms dev-mqueue.mount
41ms sys-kernel-debug.mount
40ms sys-kernel-tracing.mount
40ms wpa_supplicant.service
39ms var-lib-snapd-snap-youtube\x2ddl\x2dpro-136.mount
37ms var-lib-snapd-snap-youtube\x2ddl\x2dpro-138.mount
35ms alsa-restore.service
33ms modprobe@loop.service
30ms gdm.service
18ms sys-fs-fuse-connections.mount
17ms sys-kernel-config.mount
15ms rtkit-daemon.service
11ms proc-sys-fs-binfmt_misc.mount
3ms modprobe@dm_mod.service
~ cat /etc/default/grub | grep TIMEOUT ✔
GRUB_TIMEOUT=0
GRUB_TIMEOUT_STYLE=hidden
~ 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>
UUID=a2e7f8e2-2254-4527-bd3b-827b7ab28b1d / ext4 defaults,noatime 0 1
tmpfs /tmp tmpfs defaults,noatime,mode=1777 0 0
# neues home Verzeichnis sdd1 auf Festplatte "Y" (2 TB)
UUID=76507855-cab9-4315-b74c-99c6ee1bf27a /home ext4 defaults 0 2
# Siko1 komplett einbinden
# UUID=7E0023EE0023AC59 home/rolf/SIKO1 ntfs defaults 0 2
# UUID=7E0023EE0023AC59 run/media/rolf/SIKO1 ntfs-3g defaults,uid=1000,gid=1000 0 0
# Siko2 komplett einbinden
# UUID=7E0023EE0023AC59 /mnt/SIKO2 ntfs defaults 0 2
# LABEL=SIKO2 /run/media/rolf/SIKO2 ntfs-3g defaults,uid=1000,gid=1000 0 0
# USB komplett einbinden
# LABEL=ICH /mnt/rolf/ICH extfat defaults,uid=1000,gid=1000 0 0
DIe 2 Festplatten sind nicht mehr eingebunden.
Anscheinend ist es Plymouth, dass es im Userspace lange wartet und so das Booten verzögert. Plymouth ist die nette grafische Animation, die man sieht beim Booten, statt Text oder einen schwarzen Bildschirm.
Wenn du das eliminieren willst, dann müsstest du Plymouth entfernen und alle Konfigurationen dazu.
Oder einfach deaktivieren mit den Kernel Parameter:
plymouth.enable=0 disablehooks=plymouth
Wüsste nicht wie man das beschleunigen kann.
Mehr Infos her: Plymouth - ArchWiki
Vielleicht betrachtet man den gesamten Bootprozess:
systemd-analyze plot > ~/SystemdAnalyzePlot.svg
SystemdAnalyzePlot.svg kann man sich dann mit einem Bildbetrachter ansehen.
1 Like
wenn die platten nicht mehr eingebunden sind und du sie auskommentiert hast solltest du auf alle fälle noch
sudo update-grub
benutzen um die änderungen zu aktiviere.
Ich habe es etwas umständlicher gelöst durch reboot. Das dauert nur etwas länger.
Bitte lösch das. Da muss man sich ja fremd schämen.
Olli:
änderungen an der fstab
Nein Änderungen an der fstab brauchen das nicht.