Dead iMac – New MacBook Air and Linux

iMac,Mac

My 2013 iMac hard drive is dead. I replaced it with a new drive, but the display was damaged when I was removing it. so the iMac is dead. Now I have a new MacBook Air M2, and I have installed Linux on it.