Hi.
I am using Odroid HC4 device with 1 SSD and 1 HDD.
Problem: device does not power on after reboot. If i unplug power and plug - boot OK.
Before reboot problem:
I have installed dietpi from dietpi.com on my microSD, data is on my HDD and everything was OK. Reboot was fast.
This week i install SATA SSD on my first slot and move my root filesystem to SSD, bootloader i left on microSD as described in this discussion:
[Tutorial] Odroid C4 rootfs on USB drive - Community Tutorials - DietPi Community Forum
As a result. My system boots from microSD and then load / from SSD drive.
But when i want to reboot, it is not work fine. System power off in about 5-10 minutes and does not ON while i unplug-plug power cable. After plugged in - system power on fine.
How to fix it?
I see another topic [SOLVED] Dietpi not reboot and disable RAMog.
Then i found in my logs problem with unmount my HDD (Toshiba) when rebooting.
There are another error, maybe the make sense.
There is system.journal:
download-2023.4.20_14.17.40-root-(DietPi).tar.gz - Google Drive
Reboot started from 13:47 and power unplug and plug(manual power OFF/ON) was at 13:58
/etc/fstab
# You can use "dietpi-drive_manager" to setup mounts.
# NB: It overwrites and re-creates physical drive mount entries on use.
#----------------------------------------------------------------
# NETWORK
#----------------------------------------------------------------
#----------------------------------------------------------------
# TMPFS
#----------------------------------------------------------------
tmpfs /tmp tmpfs size=2892M,noatime,lazytime,nodev,nosuid,mode=1777
#----------------------------------------------------------------
# MISC: ecryptfs, vboxsf, glusterfs, mergerfs, bind, Btrfs subvolume
#----------------------------------------------------------------
#----------------------------------------------------------------
# SWAP SPACE
#----------------------------------------------------------------
/var/swap none swap sw
#----------------------------------------------------------------
# PHYSICAL DRIVES
#----------------------------------------------------------------
UUID=aaf9712e-180a-4c3c-bc87-38d08bc5fdcf / ext4 noatime,lazytime,rw 0 1
UUID=9c1c0293-0c9a-4d0c-b344-e44b98a34a8a /mnt/sdcard ext4 noatime,lazytime,rw,nofail,noauto,x-systemd.automount
UUID=38aee034-2b80-477f-984e-99b8bf8daff1 /mnt/Toshiba12 ext4 noatime,lazytime,rw,nofail,noauto,x-systemd.automount
lsblk -f
NAME FSTYPE FSVER LABEL UUID FSAVAIL FSUSE% MOUNTPOINT
sda
└─sda1 ext4 1.0 aaf9712e-180a-4c3c-bc87-38d08bc5fdcf 102.8G 5% /
sdb
└─sdb1 ext4 1.0 38aee034-2b80-477f-984e-99b8bf8daff1 8.5T 22% /mnt/Toshiba12
mtdblock0
mmcblk0
└─mmcblk0p1 ext4 1.0 9c1c0293-0c9a-4d0c-b344-e44b98a34a8a 22.3G 20% /mnt/sdcard
/boot/dietpiEnv.txt → /mnt/sdcard/boot/dietpiEnv.txt
rootdev=UUID=aaf9712e-180a-4c3c-bc87-38d08bc5fdcf
rootfstype=ext4
# The init system logs to the console defined last.
consoleargs=console=tty1
verbosity=4
usbstoragequirks=0x2537:0x1066:u,0x2537:0x1068:u
extraargs=net.ifnames=0 rootdelay=10
docker_optimizations=on
overlay_path=amlogic
overlay_prefix=meson
overlays=
user_overlays=