Author Topic: Can I reverse mkfs.ext4 on a drive?  (Read 1208 times)

I was trying to install Arch Linux today, and I did mkfs.ext4 on sda1 instead of sdb. The drive I forgeted up was my main Windows one, and booting it says "No operating system detected." Is there any way of fixing this without losing a few hundred gigabytes of work? The only computer I have left is my laptop which surprise I also forgeted up and it boots to busybox and stuff, so I can't like burn something onto a cd.

install gentoo

seriously though, as far as I can tell, the windows OS and your personal files and folders are stored on the same partition, so unless I'm wrong, you might be forgeted
« Last Edit: May 12, 2017, 11:23:01 AM by Blocky943 »

you need an alternate install of windows on a different drive and run partition wizard with the other drive mounted and read this:
https://www.partitionwizard.com/help/partition-recovery.html

Testdisk will save your ass. If you still have your arch ISO, boot into it and run testdisk on /dev/sdb