Edit: I was able to recover my partitions by creating new partition starting and ending with same exact sectors.

I was copying files from my previous installation to my new Gentoo installation. After I was done. I ran wipefs on /dev/nvme0n1 thinking it is my old nvme drive which is connected through usb. I am in disbelief. Lost all of my configuration files. My perfect installation of gentoo. Just gone. How do I never make such mistake again? Thankfully I had backup of passwords file. Rest is gone. I am sad.

  • LoreSoong@startrek.website
    link
    fedilink
    English
    arrow-up
    9
    ·
    11 hours ago

    Personally, I configure my entire os before signing in to websites or any software (or putting any privacy critical info on my system) then I backup my os to my NAS using rescuezilla, using linux its usually max 30Gb. I also have a private github repo that i backup my dotfiles to just in case my NAS kicks the bucket. Going back to a “clean” install after doing something stupid kinda sucks but at least all your hard work making it look and feel the way you want will persist. I also highly reccomend doing some sort of offline & off network backup for privacy sensative information. Best of luck, I feel your pain I nuked my system once after days of work and i said, never again.