I’m 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.

  • Christian@lemmy.ml
    link
    fedilink
    arrow-up
    6
    ·
    4 years ago

    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.

  • xe8@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    4 years ago

    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.

  • Jojonintendo@lemmy.ml
    link
    fedilink
    arrow-up
    2
    ·
    4 years ago

    It never happened to me thankfully, I always check with lsblk first. Otherwise if you usually write distros to USB or SD cards, you should probably use safer tools, some have nice GUI.

  • wick3dr0se@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    4 years ago

    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