Caramel wrote: ↑Wed Mar 27, 2024 8:12 pmTo be sure execute (when EasyOS works)
Code: Select all
cat /mnt/wkg/.zramtl.flg
It must be 0.
We will have to look into the init script to understand.
Edit : lines 741 to 754 of init (EasyOS 5.7)
Code: Select all
CNT=0; Pb=0; Pw=0 [ "$WKG_LABEL" == "EASYOSZRAM" ] && WKG_DEV="zram0" #190706 200822 [ -e /dev/scd0 ] && rm -f /dev/scd* #190706 static dev nodes, these duplicate sr* nodes. while [ $CNT -lt 20 ];do #drives may take couple seconds to become available. 180415 increase 8 to 20. sleep 1 echo -n '.' CNT=$(($CNT+1)) #190718 iso written to usb-stick has (ex:) /dev/sdd and dev/sdd1 both LABEL="EASYOSOPTICAL", filter-out former... BLKIDS="$(blkid | grep -v '[a-z]: ')" #ex line: /dev/sda2: LABEL="intern1p2" UUID="cd5ef69b-883d-4744-bc1d-551154131db2" TYPE="ext4" [ ! "$WKG_DEV" ] && WKG_DEV="$(echo "${BLKIDS}" | grep -E "\"${WKG_UUID}\"|\"${WKG_LABEL}\"" | cut -f 1 -d ':' | cut -f 3 -d '/')" [ "$WKG_DEV" ] && break done [ ! "$WKG_DEV" ] && WKG_DEV="zram0" #190714
Line 744
Code: Select all
while [ $CNT -lt 20 ];do #drives may take couple seconds to become available. 180415 increase 8 to 20.
Maybe 20 is too small for your old desktop
I tried that with this result: