What's something you just learned, that you should have known for a while?

https://lemmy.world/post/5566950

What's something you just learned, that you should have known for a while? - Lemmy.world

Don’t mess around with partitions on your disk when it’s past midnight, you’re extremely stressed, and you don’t have (easily accessible) backups.
Yes, that does sound like good advice even from a morning, first coffee is brewing kind of viewpoint.
Yeah, all I did do right was have Windows on a USB. That’s important because I don’t have another Windows machine. Manjaro can be downloaded as a .iso and burned onto a flash drive from any OS, but not so with Windows.
On Linux I use github.com/WoeUSB/WoeUSB to create windows flash drives… works uhh most of the time? :D In case you hadn’t heard of it :)
GitHub - WoeUSB/WoeUSB: A Microsoft Windows® USB installation media preparer for GNU+Linux

A Microsoft Windows® USB installation media preparer for GNU+Linux - WoeUSB/WoeUSB

GitHub
!!! Thank you for this!
Glad I took the time to comment ☺️
I am in this comment and I don’t like it.
Are you me, I have experienced this 2 days ago
I am so sorry… is it okay now?
It went okay but I had trouble sleeping
Classic, “what the fuck did I do here and why did I think this was a good idea,” material.
Ha, I don’t fuck around with anything that make break my PC or phone until a weekend with no commitments comes up.
That’s smart.
Additionally don’t do maintenance on your computers when tired, learned from experience
Okay, almost done. rm -rf ./*. Wait… pwd. Shit.

Let’s just say I was doing inside maintenance on a old laptop of mine where I fried a cable because I plugged the battery in and forgot to plug that cable in but I forgot to unplug the battery before plugging that cable in and ended up frying a cable when plugging it back in

Luckily it was only the cable that got fried

But that’s in the past now

I once tried partitioning the disk i was running on because i was new and didnt know that wouldn’t work, cfdisk now has a warning if you try to do that
😭😭😭 imagine you’re the reason why
Maybe, at least i submitted a github issue about that and it got fixed

I had to extend the boot drive on a VM that also happened to run the application our entire company used to make products. This was back in the day when extending VM drives took forever because of the way the hypervisor worked. I only had a small window to do this between our Europe plants going offline and the US plants starting up.

So I used a community tool that would extend the drive in seconds. Turn the VM back on and queue “NTLDR is missing”. I also discovered that the backups for that server hadn’t completed successfully in so long there was nothing to restore from. In my effort to save 30-45 minutes, cost me 8 hours completely rebuilding the server and a day of lost production in the US plants.

I am so sorry for this ordeal. It’s so funny though.
Or df in Diskpart.