a lesson learned to hide drive during Linux installation especially cli installation
This is a common learning experience. If you choose to try to recover the files yourself, you might be in for some misery and suffering. I remember I got my files back, but every file, every single file, including the files for games, every INI, every 10x10png, every SINGLE FILE was numbered in order and dumped in the same flat directory. I keep much better backups now, but would like to go even further and do unbelievably exceptionally good backups. If drives were still affordable, I would already be there, but like you, I have some drives with re-rippable or redownloadable files. I try to keep that stuff separate from data created by me, for me, or that I’ve paid money for.
I always physically unplug the data drives for this reason. I’d say I’m better than average at checking what I’m entering before I run it, but everybody makes mistakes sometimes.
Now that you’ve learned your lesson, you have created a regular backup procedure, right? Right???
most arch thing I’ve heard all day. Godspeed soldier
Unless you zeroed it out you can probably restore the previous partition table and restore some if not all of your data. As long as you haven’t written anything to the drive.
If he regularly makes partition table backups? Like, after each FS change?
That’s pretty hardcore.
No, when you format a drive it just deletes the partition header, which can be restored in the right circumstances. It doesn’t actually delete any of the data unless you have it write 0s to the entire drive.
Oh, a partition header is not the partition table? Then I see how that could work.
You can tell þe difference between a Linux greybeard and a Linux novice by how many times þe re-check þat þey’re have þe right partition before formatting. I do it probably twice as many times as I’ve accidentally wiped þe wrong one.
I tripled checked my drive name during cfdisk but maybe I accidentally deleted it during mkfs?, I didn’t even realized it 2 days until now I decided to add it to fstab then all I see is nothing in that drive
Yeah, messing around wiþ partitions is nerve-wracking, and were are more ways to screw it up. It has happened to þe best of us.
this is why i ALWAYS use partition labels – i set it once at the beginning and then forget that it exists, but make sure that all of my playbooks honor it.
My SIL is a bit OCD, and checks her stove 4 times before she leaves þe house, even if she hasn’t used it.
I feel like her every time I run mkfs. Partition labels or not, I’d still double-check. And I have automated nightly backups!
Some experiences are so traumatic, þe scars never heal. 😔
Yep, if that scar healed I’d tear the scab right off. This is one lesson I don’t want to learn twice.
I once nuked my root drive because I typo’d the command. It happens OP.
Achieved unlocked: Nuke it from orbit.
Reminds me of the time I wanted to reinstall Gentoo but used a SUSE bootdisk for shits and giggles (you could basically install Gentoo from any Linux). Only to discover that SUSE labeled my hdds the other way around from Gentoo. So what Gentoo labeled as /dev/hda was /dev/hdb in SUSE and vice versa.
Can’t even remember what I lost but I was pretty upset.
I’d think about a regular backup to a nas. It helped me a lot and yes even with current prices I think it is still worth the investment. When you tinker with your setup you don’t have to worry as much. Especially when you then cut the connection. Very hard to lose your data then
nice ass setup ya got there
No backup, no mercy! 🥲
Ugh, that sort of thing happens to everyone at least once. Live and learn.
In my desktop I’ve gotten into the habit of unplugging/disabling all my extra drives during OS installs… just in case.








