I partitioned /dev/sda to /dev/sda1 and /dev/sda2. I want to install Ubuntu Core 20 in /dev/sda1 and Ubuntu Core 22 in /dev/sda2. I use dd command
xzcat /media/ubuntu/ubuntu-core-20-amd64+intel-iot.img.xz |
sudo dd of=/dev/sda1 bs=32M status=progress; sync
It always failed. Who can give some hints?