I’ve been getting into single board computers, and I’ve overwritten my external hard drive twice now trying to flash OS images to SD cards from my Linux PC using dd (good thing my important data is backed up). To be fair, it’s totally my fault, but I’m curious if anyone else has done this.
deleted by creator
Yeah, it’s very easy to mix up /dev/sdb and /dev/sdc. Did it once and have PTSD from it, I triple-check every time now and still feel uneasy every time.
Use “lsblk -o UUID,LABEL,NAME” and “/dev/disk/by-uuid/” next time.
there’s /Dev/disk-by/
look into that directory
deleted by creator
Not yet, but I live in fear.
I did make the mistake of mounting a drive while I was in the middle of formatting another one. It just halted the operation so it wasn’t too bad, but I try to be more careful now.
deleted by creator
deleted by creator
No but when configuring dual-boot, I’ve deleted the Windows root or boot partition several times. Took me a bit to learn how to boot Windows with systemd-boot. I don’t write any ISO’s from my PC anymore. I use an app on my Android called EtchDroid. It’ll write any Linux ISO I’ve put through it. You just have to format the SD card in device care first.
I started doing this because I’ve rendered my system unbootable in the past. I bought an external USB-C to SD card adapter and it’s saved me a few times. Now that I built my system and configured it, I don’t have this issue. I used to keep multiple ISO’s on my Android I could write within seconds and then boot on my PC. dd is great if you have a system you keep ISO’s on