a lesson learned to hide drive during Linux installation especially cli installation
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.
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.
Now that you’ve learned your lesson, you have created a regular backup procedure, right? Right???
nice ass setup ya got there
most arch thing I’ve heard all day. Godspeed soldier
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
No backup, no mercy! 🥲
Achieved unlocked: Nuke it from orbit.
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.
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. 😔
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.
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.
I once nuked my root drive because I typo’d the command. It happens OP.








