Error restoring disk image

I am attempting to flash the ubuntu-24.04-preinstalled-server-arm64+raspi.img.xz onto my Miro SD card. Despite trying different software and attempting to flash another operating
system, I still encounter an error. Specifically, it displays the following message:
image1
I have also tried launching GNOME Disks as root, but it won’t launch.

Fix: Use a desktop environment and not a window manger

Try this way:

unxz -c *.xz | sudo dd of=/dev/disk_name bs=1M status=progress; sync
2 Likes