terminal – corrupted disk1s2, deleted partition totally, now unable to interchange GUID


A short disclaimer: I’ve little or no expertise with computer systems at this degree, and that is my first time posting on boards, please forgive me for any imprecise, incorrect, or unclear terminology, in addition to for any breach of conduct within the construction of this publish

In attempting to arrange dual-booted linux on my c. 2014 period macbook, I corrupted my set up of macOs Monterey to an unbootable state. Booting to web restoration mode, I tried to make use of the primary help device to restore the disk, which recognized that the disk was not bootable, however didn’t restore it. After operating gpt -r present disk1 within the terminal, I noticed that disk1s2 had modified to FFFFFFFF-FFFF-FFFF-FFFF-FFFFFFFFFFFF.
photo of laptop screen containing output for gpt -r show disk1

Utilizing that identifier as a keyphrase, I discovered [this ask different forum post] and adopted the steps. Nonetheless, I didn’t obtain an output from dd if=/dev/disk0s2 rely=3 | vis -c that gave the impression to be something just like the supplied pattern strings for both a typical or a CoreStorage partition.

Regardless, I continued following the steps, unmounting my drive and eradicating the third, 4th and 2nd partitions. When trying to re-add the partitions, I first used the sort and index quantity supplied for the traditional OSX partition, which returned an error of not sufficient area. I proceeded to attempt the index numbers for the opposite two partition tpyes listed, each of which returned the identical error.

I got here to comprehend that relying on the particular partition and MacOS model, that the index varieties and numbers range largely, and I assume that I might have the ability to get the precise data I wanted from discussion board posts, nevertheless my very own makes an attempt to seek out this data from different sources had been unsuccessful.

It was at this level I allowed an acquaintance who had expertise in laptop computer restore to take over. They proceeded to restart the macbook and tried web restoration, to the identical success that I had discovered when trying the identical method.

This detour not solely cleared the terminal and all of the logs I had not had the presence to correctly doc, however upon re-running gpt -r present disk1 partitions 2 and 4 had been each gone.
output of gpt -r show disk1 after reboot

Utilizing this discussion board publish I tried to get the gdisk command to repair the GUID Partition Desk. The script supplied initialized, however no information was transferred, regardless of a sound web connection. I tried to obtain the device with out utilizing the script utilizing the listing of instructions supplied in a while, to the same lack of success.
gdisk install fail

Is it nonetheless doable to get MacOS to a bootable state with out dropping any of the recordsdata I’ve saved? (assuming that re-starting mid-repartitioning did not wipe all the things)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles