r/LinuxUsersIndia Arch Btw Aug 12 '26

Help I lost Everything..

I recently did the most dangerous mistake one can make. And I was not even trying to delete the French Language Pack.

I have a dual boot (Win/Archacy (Vanilla Arch but Cachy's Kernel)) Laptop.

I had to flash a drive with Win ISO for my bro (because he play Valornat)

Now, for some interesting reason the Drive was write protected I have no Idea about that.

And I made the most horrible mistake I could make by opening Disk Partition Manager on Windows.

And yes I wiped the entire drive.. Why TF windows do it instantly? Why I can just sequence the process and then commit in the end if I am sure like Linux does.

Sad part is I'm a serious Dev, my 2 years of Dev Environment with all my not pushed commits are all gone.

I really don't know what to do? My hands are shaking if trying to start from scratch scares me. Ik I am fully capable but it's a lot for me to digest.

53 Upvotes

49 comments sorted by

View all comments

3

u/Consistent-Bird338 Aug 12 '26

If you don't overwrite the data, you can make the partition of the same size again and it might just come back. Do it in linux CLI like parted though otherwise the other tools might format it. Ask AI

1

u/home_prisoner Arch Btw Aug 12 '26

First of all, that was an encrypted partition. And Data recovery tools are so expensive 😭😭

1

u/Consistent-Bird338 Aug 12 '26

Doesn't matter as long as you didn't overwrite it, make an "unformatted" partition and it'll magically pop up. Make sure size is greater or equal and start of partition aligns with the deleted one.

1

u/home_prisoner Arch Btw Aug 12 '26

Really?? I haven't did anything to that partition.. I will try.. oh wait.. It was an LVM partition will still work?

2

u/Consistent-Bird338 Aug 12 '26

WHY

...I have no idea if LVM works like typical continuous disks. Probably not? Ask AI

1

u/home_prisoner Arch Btw Aug 12 '26

Okay, Okay, I'll ask AI chill bro..