I'm using a 2020 Macbook Air (M1 version). I've been trying to work out how to install linux to use some programs I need for data analysis, and today tried to follow this guide: https://corellium.com/blog/linux-m1. It didn't work at all, I probably got something wrong, and now my external 1tb hard disk, which I copied a bootable linux image to using the dd command, is formatted weird so that it only allows me to write 268mb to it. I've tried erasing and reformatting using Disk Utility, but no luck. Any guesses?
Note: it was an empty drive, I didn't lose any files.