I searched already a bit, though there are plenty of similar threads, it seems none is really “fitting” so i have to start a new one.
I’m new to Raspi, Dietpi etc. I installed Dietpi a few weeks ago on my new Pi4b (directly on USB SSD) but Boot times are really slow (5mins+) which is obviously not ok.
My first try was install on SD, than copy SD to SSD. When i expected this slow boot, i thought ok maybe is that not the best way and reinstalled directly to ssd. But boot times did not improve. So i now tried the ARM64 build - but still the same.
So i changed the SSD (now a 256GB MX100, which “retired” from my PC), i changed the USB Cord as well as the USB Port on the Pi. But always the same slow boot times. Only thing i installed is Samba, MinIO and PiHole.
When i benchmark the ssd i got ~300mb read speed, so that shouldn’t be the problem.
Following systemd-analyze blame
1min 30.019s php7.3-fpm.service
1min 3.620s lighttpd.service
1min 998ms rpi-eeprom-update.service
1min 836ms dietpi-preboot.service
34.175s dev-sda2.device
32.446s keyboard-setup.service
32.354s systemd-fsck-root.service
32.044s systemd-sysctl.service
5.451s dietpi-boot.service
4.760s unbound.service
570ms pihole-FTL.service
461ms systemd-udev-trigger.service
259ms systemd-journald.service
230ms smbd.service
228ms systemd-fsck@dev-disk-by\x2dpartuuid-ad09722e\x2d01.service
163ms nmbd.service
105ms systemd-remount-fs.service
96ms networking.service
86ms systemd-tmpfiles-setup.service
81ms dietpi-ramlog.service
69ms systemd-udevd.service
67ms systemd-journal-flush.service
63ms systemd-modules-load.service
62ms fake-hwclock.service
55ms dev-mqueue.mount
53ms kmod-static-nodes.service
52ms systemd-tmpfiles-setup-dev.service
47ms systemd-sysusers.service
46ms systemd-update-utmp.service
42ms systemd-random-seed.service
38ms sys-kernel-config.mount
37ms sys-kernel-debug.mount
36ms dropbear.service
23ms boot.mount
22ms tmp.mount
21ms console-setup.service
21ms systemd-update-utmp-runlevel.service
21ms rng-tools.service
20ms ifupdown-pre.service
19ms systemd-user-sessions.service
19ms var-log.mount
8ms minio.service
I can see now for what it need that much time - but the question remains: why?
Hope someone can help me - though my Pi isn’t expected to be rebooted that often it’s definitely annoying if it takes that long!
Thanks in advance to all aand especially to the DietPi-Team for their work!
OK, when i’m later back home i’ll check this.
And i ordered another SATA->USB adapter. Maybe there’s something wrong. Though i know i used it unter Windows before and did not experience any odd behavior?!