Skip to main content
15 events
when toggle format what by license comment
Mar 17, 2020 at 8:53 comment added scugn1zz0 SOLVED EVERYTHING WORKED - Ohhh Sir, thank you so much! From now on I will start an habit of backing up (already set periodical alarm). Thanks again
Mar 17, 2020 at 8:51 vote accept scugn1zz0
Mar 17, 2020 at 8:49 comment added David Anderson You can restart and hold down the alt key if you wish. However, you probably will not need to.
Mar 17, 2020 at 8:44 comment added scugn1zz0 Ok I executed the commands. As the output of the first one I got /dev/disk1s2 removed and the second gave me /dev/disk1s2 added. Now, if I run diskutil list, it shows up the ~200 GB partition to have the long code you pointed out to me. What should I do next, I should now restart the mac and try to keep press alt button and see if I see the macOS disk?
Mar 17, 2020 at 8:25 comment added David Anderson You can run the command diskutil umountDisk disk1 if you want, but there is nothing to unmount. In other words, there is nothing mounted from disk1. This is why I omitted the command. You might want to run diskutil list to make sure disk1 is the correct drive. Sometimes the drive identifiers can change after reboots.
Mar 17, 2020 at 8:23 comment added scugn1zz0 Just to double check before executing your commands (sorry, as you can see really panicking here). Should I run, prior to the commands you pointed, diskutil umountDisk /dev/disk1 ? or your commands do it automatically? Thanks
Mar 17, 2020 at 8:04 comment added David Anderson The commands are compatible with any version of internet recovery your Mac is capable of booting. @At0mic was pointing out that with older versions of internet recovery, the macOS volumes will not be accessible until you boot back to macOS.
Mar 17, 2020 at 7:50 comment added scugn1zz0 So, I just wanted to confirm that I am booting from internet Recovery. And that the version of Disk Utility is "Version 13 (606) Copyright 2002-2014 Apple Inc." So indeed it looks pretty old. If my chances to recover the data are increased by booting the mac from a USB stick with Mojave (and hence the latest Disk Utility) I will do that. Not immediately though, since I do not have another mac at handy, but I hope I can find a solution. Thank you very much to both of you again.
Mar 17, 2020 at 4:55 comment added David Anderson The gpt command does not change the data stored in the partition. The command only changes the values stored in the GUID partition table (GPT). In this case, the GUID type will change from FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF to 7C3457EF-0000-11AA-AA11-00306543ECAC. Usually, macOS recovery will only mount volume(s), if the partition is a valid APFS container. I suppose there is always a chance something could go wrong. The easiest way, to determine if the commands fixed your Mac, would be to try to boot to macOS.
Mar 17, 2020 at 4:53 comment added David Anderson @At0mic: Good point. I will change my comment.
Mar 17, 2020 at 4:28 comment added At0micMutex @DavidAnderson I'd like to note that the version of Disk Utility that OP is currently using (internet recovery?) is fairly old and may not even recognize APFS, and I'm sure diskutil won't recognize it either.
Mar 17, 2020 at 1:54 history edited David Anderson CC BY-SA 4.0
added 8 characters in body
Mar 17, 2020 at 1:35 comment added scugn1zz0 thanks so much for taking the time to answer. Just wanted to ask, this command does not risk to change something permanently or to permanently corrupt the data? Also if you need me to provide some more information like diskutil list I will immediately provide. Thanks again.
Mar 17, 2020 at 1:23 history edited IconDaemon CC BY-SA 4.0
deleted 4 characters in body
Mar 17, 2020 at 1:17 history answered David Anderson CC BY-SA 4.0