OPiZ2W will not boot with USB drive plugged in v9.8.0

I have searched the existing open and closed issues

Solved with 7168 - 7173 (Hopefully)

Device model : Orange Pi Zero 2W (aarch64)
G_DIETPI_VERSION_CORE=9
G_DIETPI_VERSION_SUB=8
G_DIETPI_VERSION_RC=0
G_GITBRANCH=‘master’
G_GITOWNER=‘MichaIng’

bookworm
Linux exp 6.6.44-current-sunxi64 #1 SMP Sat Aug 3 06:54:42 UTC 2024 aarch64 GNU/Linux
arm64

  • Power supply used | (RPi 5.1V 5A)
  • SD card used | (SanDisk ultra)

Steps to reproduce

Reboot and boot hang when USB SSD previously mounted with drive-manager is plugged in. Disconnect USB drive before or during boot process and boot and reboot work fine. Happens with USB drive plugged in to a powered USB hub as well. Not a power supply or SD card issue.

Issue fixed with report 7168 - 7173

dietpi-config > Advanced Options > Update MMC bootloader

Board now boots and reboots with USB drive plugged in.

Hopefully this also fixes the problem of the board going off-line during the night and having to be power cycled with the USB drive unplugged. It will take a few days to determine.

1 Like

One weird trick …

I continued to have boot issues, wifi dropping, failed or long ping times …

In frustration I burned an SD card with OrangePi OS (arch), unplugged the SSD (which works on other Debian linux computers), booted the OPi into xfce, did the basic set-up, plugged in the SSD and got an error, the SSD would not open from the File Manager.

I plugged the SSD into a Windows 10 computer and it threw an error “Disk is damaged”, scanned and fixed it. Moved the SSD back to the OPi OS (arch) and it read it - no problem. I then plugged it into an OPi running the OPi Debian bookworm OS downloaded from orangepi.org and the OPi booted fine. fstab written and the SSD mounted on boot.

I suspect that the SSD had a “dirty” bit set at some point. My experience in the past with linux has been that USB sticks suddenly become unreadable and linux cannot read or even reformat the USB stick. You have to insert the USB stick into a ‘genuine’ Windows OS computer and run the disk scan and fix utility to recover the USB stick. Same thing with an SSD I guess.

07:04 - watch it for a minute

Usb sticks on Linux vs windows

I’m sorry to hear this. I also started with some issues, but here I am. I’m happy to use Dietpi OS as a noob to Linux. Smaller user issues I fix with chatgpt and the bigger stuff to solve I ask here :grin: