oh god no tell me I did not delete the parition on this production server ! 

Reminder:
If like me you made a whoopsie by confounding two terminals and used parted/mklabel and deleted your partitions, you're in luck !
You can use the RESCUE feature of parted https://www.gnu.org/software/parted/manual/html_node/rescue.html
And reconstruct your partitions, and after doing that just update grub.
Follow

oh god no tell me I did not delete the parition on this production server ! 

@mangeurdenuage i got saved one time by having the partition layout still in terminal history and recreating the partitions.. i always copy the layout to a local textfile now before fiddling with live partitions :)

re: oh god no tell me I did not delete the parition on this production server ! 

@bonifartius
>i always copy the layout to a local textfile now before fiddling with live partitions :)
I already did that before so I'm lucky.
I always trie keep a manifest/procedure of what I do on a system.
Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.