31
MaxMayo
8y

It's march, I'm in my final year of university. The physics/robotics simulator I need for my major project keeps running into problems on my laptop running Ubuntu, and my supervisor suggests installing Mint as it works fine on that.
I backup what's important across a 4GB and a 16GB memory stick. All I have to do now is boot from the mint installation disk and install from there. But no, I felt dangerous. I was about to kill anything I had, so why not `sudo rm -rf /*` ? After a couple seconds it was done. I turned it off, then back on. I wanted to move my backups to windows which I was dual booting alongside Ubuntu.
No OS found. WHAT. Called my dad, asked if what I thought happened was true, and learnt that the root directory contains ALL files and folders, even those on other partitions. Gone was the past 2 1/2 years of uni work and notes not on the uni computers and the 100GB+ other stuff on there.
At least my current stuff was backed up.

TL;DR : sudo rm -rf /* because I'm installing another Linux distro. Destroys windows too and 2 1/2 years of uni work.

Comments
  • 1
    basically if windows partiton was nt mounted then u dont need to worry. it is just u delete the grub.
  • 4
    @rookiemaverick The next thing I did was bask in the freedom of having 250 GB free and install Mint over all the space my OSs used to take. Everything from before was stone cold dead.
  • 4
    Wow you have a good attitude. Lesson learned. You have to move forward.
  • 7
    this may be one of the greatest action/thriller stories i've ever read.
  • 2
    you could try to recover the data if it's important .
  • 2
    @skonteam It was mostly games, old schoolwork I was never going to look at, and code written so badly that it should never see the light of day again. Nothing was anything I needed, just stuff I'd look at and cringe. It was so long ago I doubt anything I had hasn't been overwritten.
  • 1
    you should try testdisk
  • 1
    Please tell me the notes were at least backed on on Google Drive or OneDrive or something.
  • 0
    @kshep92 Nah. I got pretty familiar with writing backup scripts afterwards though. I see it as trading my tired, hungover insights into the theory I was learning for a practical appreciation of bash and backups.
  • 2
    @MaxMayo well you're pretty calm. I guess nothing disturbs your Zen, huh?
  • 0
    That's rough.
  • 0
    It's possible that you never lost windows and any data on it, just that the rm -rf * got rid of grub hence preventing windows from showing as an available OS.
  • 0
    @ishankothari I do believe the drive mounts. I know my Ubuntu shows it.
Add Comment