1.2 C
New York
Friday, December 6, 2024

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


A quick 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 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 assist 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 much like the supplied pattern strings for both an ordinary 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 sort and index quantity supplied for the traditional 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 comprehend that relying on the precise partition and MacOS model, that the index sorts and numbers fluctuate largely, and I assume that I might be capable of get the precise data I wanted from discussion board posts, nonetheless my very own makes an attempt to seek out this data from different sources have 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 have 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 sound web connection. I tried to obtain the software with out utilizing the script utilizing the checklist of instructions supplied in a while, to an analogous lack of success.
gdisk install fail

Is it nonetheless potential to get MacOS to a bootable state with out dropping any of the information I’ve saved? (assuming that re-starting mid-repartitioning did not wipe every little thing)

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles