Press Shift-Command-4, then move the crosshair pointer to where you want to start the screenshot. Press the mouse or trackpad button, drag over the area you want to capture, then release the mouse or trackpad button. Test Disk Setup: Initial Folder Structure and Files on the Drive For this test, we used an external SSD disk formatted as an APFS storage device with the. This week it decided to stop booting - was just hanging on the loading screen. system formats: Apple File System (APFS): The file system used by macOS 10. I have booted of an SD card and I could see the drive and browse it as read only. I regretfully deployed testDisk - intending to look, but ended up saving the partition table. There was 3 partitions on the drive and it seemed to pick up one and a grey'd out APFS Physical Store disk7s2. I didn't make any changes intentionally to the disk layout, but since then it is messed up. 'Storage system check exit code is 8.' 'Storage system verify or repair failed.-69716) Tried doing a FSCK, FSCKAPFS and so on with no luck. Tried other disk utilities, Dirk Warrior, Disk Drill. Turns out testDisk doesn't recognise APFS Containers and it has written it back incorrectly. UPDATE: here is the same data from the 500GB HD that was cloned onto the 1TB drive - if seeing how it used to be is any help. Download, install and launch APFS data recovery software: iBoysoft Data Recovery for Mac. dev/disk5 (synthesized):Ġ: APFS Container Scheme - +499.9 GB disk5Ģ: APFS Volume HD - Data 231.6 GB disk5s2īefore the partition data was damaged, it has a Container and two disks HD and HD - Data. If your Mac won't turn on, please run iBoysoft Data Recovery in macOS recovery mode. Select the APFS partition and click Next to scan lost data. Is there anything I can do to rebuild the partition table back to a healthy APFS Volume state? If it is an external drive, you need to connect it to your Mac before launching iBoysoft Data Recovery for Mac. You are a legend!įor anyone else who has this issue - this is what I did:įirst remove the 2 incorrect partitions sudo gpt remove -i 2 /dev/disk0Īnd then add back in the new APFS partition sudo gpt add -i 2 -b 409640 -s 1953115488 -t apfs /dev/disk0 Thanks to David Anderson for his previous detailed posts here and here I managed to work it out and restore the partitions. The KEY part here is working out the correct Size - in my case - 1953115488.ĭavid explains how to find the correct values in this post here. I assumed I wanted a 1TB partition, split over blocks of 512k - so 1000000000000 / 512 = 1953125000Īfter creating the partition at that size, it didn't work, so I ran a verifyVolume on the APFS Container diskutil verifyVolume disk0s2Īnd that failed with warning: nx_block_count is 244139436, while device block count is 234379555 I initially created the new partition with the incorrect size. Using Davids' calculations each APFS block is 8 Logical blocks, so I multipied the nx_block_count by 8 to get the correct size of 1953115488 for the APFS Container.
0 Comments
Leave a Reply. |