Stupid things you've done that broke your Linux installation - eviltoast

Follow-up from “Dumbest Thing you have done distro-hopping?”.

Here’s mine - the laptop from which I’m typing right now has a broken touchpad that keeps jumping and clicking randomly, and does not work. Well, I can’t afford to fix it, but at the moment, I was so pissed off I punched the touchpad really hard, and the machine panicked with all the lights blinking. A few more revival abuses, and the machine was back to life, but since I was running a nixos-rebuild switch --upgrade in the background, I blew off my boot partition. I think I just broke the unbreakable distro.

  • Ladas552@lemmy.ml
    link
    fedilink
    arrow-up
    14
    ·
    edit-2
    1 year ago

    I was installing Linux normally, but messed up the partitioning, so instead of root, boot/efi and /home. I mounted root to Efi, so every change to Root doubled to EFI and so one. I wasn’t aware of this until some months ago my /dev/sda1 with / was over the space limit. So I went to check, noticed that /boot/efi is like 30 GiB in size, casually wrote “rm -rf boot/efi/” and because my root and efi were mostly linked and copied each other, the command run as if I ran “rm -rf /” and borked my install.

    Be careful with partitioning, or better yet, don’t partition manually ar 2am