Friday, November 22, 2024

terminal – corrupted disk1s2, deleted partition solely, now unable to switch 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 submit

In making an attempt 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 support software 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. Nevertheless, 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 regular or a CoreStorage partition.

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

I got here to appreciate that relying on the precise partition and MacOS model, that the index sorts and numbers fluctuate 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 search 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 making an attempt the identical strategy.

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 submit 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 legitimate web connection. I tried to obtain the software with out utilizing the script utilizing the checklist of instructions supplied afterward, to the same lack of success.
gdisk install fail

Is it nonetheless potential 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 every thing)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles