• rowinxavier@lemmy.world
    link
    fedilink
    arrow-up
    23
    ·
    8 months ago

    Working for a VoIP company in the early 2010s I rm -rf’d the /bin/ directory. As root. On a production server. On site.

    I ended up booting from my phone (android app for iso booting) then manually coppied over the files from another machine. Chrooted and some stuff was broken but rebuilding from the package manager reinstalled everything that was missing. Got the system back up in around 40 mins after that colossal screw up. Good fun and a great learning experience. Honestly, my manager should not have had me doing anything on a root shell with no training.

    • dejected_warp_core@lemmy.world
      cake
      link
      fedilink
      arrow-up
      4
      ·
      8 months ago

      I ended up booting from my phone (android app for iso booting)

      Impressive. I had no idea that was a thing. That’s easily the most “Star Trek” sounding fix I’ve heard in a good while.

      back up in around 40 mins […] on a root shell with no training.

      … and you intuited that fix, or at least pulled it together from scratch/google with no training? Doubly impressive.