Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

cryingg

macrumors newbie
Original poster
Feb 9, 2017
1
0
Hi,

I'm not very knowledgeable in this area, so please forgive me if I am slow, confused or using the wrong words to describe things :c

A few days ago, I accidentally deleted the mac partition as I was downloading Windows 10 through Bootcamp.

After doing some research, I found some websites (from 2013 - 2015) that used TestDisk to recover the deleted partition, so I downloaded TestDisk, and got the following information:

Disk /dev/sda - 500GB / 465 GiB - CHS 60801 225 63

Partition - Start - End - Size in sectors

P HFS - 409640 - 779706535 - 779296896
P HFS - 779706536 - 780976071 - 1269536
P DOS_FAT_32 - 780976128 - 976773119 - 195796992 [BOOTCAMP]

However, when I use pdisk /dev/rdisk0 (as stated from the websites), I am constantly met with:

"No partition map exists"
"-bash: sudo: command not found"

So is it not possible to recover the partition? Or am I doing something horrendously wrong?
I would appreciate it if I could get any help on this please - Thank you!
 
I'll reckon that your best bet is to "wipe the drive" on the Mac (erase it) and start all over again.

Do a fresh install of the Mac OS, and restore from your backup (if you have one).

Personally, I wouldn't mess with BootCamp on a Mac.
I don't do Windows, but if I did, I'd run it in a virtual machine (Parallels or VMWare Fusion)...
 
I'll reckon that your best bet is to "wipe the drive" on the Mac (erase it) and start all over again.

Do a fresh install of the Mac OS, and restore from your backup (if you have one).

Personally, I wouldn't mess with BootCamp on a Mac.
I don't do Windows, but if I did, I'd run it in a virtual machine (Parallels or VMWare Fusion)...

Pretty good advise here I'd say.
Personally, even if I was offered a king's ransom, I wouldn't install Win 10 on a Mac. Win 7 perhaps just for a fun excercise followed by deleting it from the partition.
 
Possibly, but your best bet is going to be to use something like DataRescue or UFSExplorer.

Test Disk can work, but since you erased the partition in Windows you likely need something that can do file carving to find the missing data.

Also if you are serious about this you need to be working with the drive, you want to recover as an external volume, and be booted to a different volume. How successful you are going to be depends on if Windows did a quick format or something more. If your partition header is gone and that is it, then the tools I mentioned may get your data back.

I would try a demo of Data Rescue and see what it finds.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.