[Help] Have I killed my windows?
I was formatting a usb to make a live usb drive, but accidentally mistook /dev/md126 (windows raid0) for my usb (/dev/sde)
The command I ran was
sudo mkdosfs -n 'Label' -I /dev/sdd
I only realized that the usb shouldn't be a md device seconds after I ran it Cx
Windows no longer boots...
I don't know the specifics for what a new partition table can do to a drive, but if there is a way to at least make it seem like there's a partition on the drive would be amazing.
After all, I use arch most of the time anyway so missing windows isn't that big of a deal. A simple yes/no would suffice.
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- 2hdyrf
8 comments
You wrote a FAT16 filesystem to /dev/sdd...
Yeah, your Windows install on that disk is pretty well screwed. You can probably get some of the data of with recovery though.
If only there were some way to check the drive.
...
I don't understand what you mean.
Use testdisk to get the data off and then reinstall windows. Although I find windows install more painful than the arch one nowadays.
+1 for testdisk, it's saved me more than once.
Yes
If you're looking into recovery of files: PhotoRec, Ddrescue and UFS (paid) are good options. Restoring is a bit more tricky.
You only rewrote the partition layout and information. You didn't actually fill the drive with zeroes. You should be able to recover your data, if not even completely restore your partition.
testdisk and gparted should be able to help you out.
The filesystem keeps track of every file on the disk, so without it, or with a blank one, the disk looks completely empty.
You can recover some data but you've destroyed any possibility of getting the drive into a bootable state without a reinstall.