Ok i have mac pro 4,1 flashed to 5,1. I tried to install windows using bootcamp with windows dvd. When the mac restarted it went to the black screen with flashing cursor. I realised i was suppost to hold option key at boot and select the media but i decided i didnt want to install windows after all so i went into the boot menu and booted into high sierra. All seemed fine except i now had a 100gb partition on my hdd reserved for the windows i wasnt gonna install so i attempted to delete it and turn it all into 1 partition again in disk utilty using the partition pie thing. Anyway i thought all went well but when i tried to restart my mac its giving the chime, then the white screen then going back to the black screen with the flashing dos prompt cursor. I can no longer even get into the boot menu or the recovery or even perform operations like resetting the pvram. I basically cant do anything with it at all. Has anyone any idea what i have done and if i have any options to get back into it? Any help would be greatly appreciated as ive been at this for hours and im lost now tbh
Disk utility sadly sometimes corrupts the partition table if you delete Windows BOOTCAMP partition. There is a way to recover it, but you probably have to boot in Recovery Mode or from external installer. You can try live Linux USB/DVD and gdisk to view the partition info:
Semi-Automated Recovery
When GPT fdisk starts, it attempts to read the various GPT data structures. In doing so, the program checks the CRC values stored in the main and backup headers, and it performs various other sanity checks. If GPT fdisk detects a problem, it will notify you, and if a fix is obvious, it will implement it automatically. For instance, consider what happens when GPT fdisk discovers that the main partition table's CRC doesn't match that stored in the main header:
Repairing partition using hexdump of the boot sector:
I have a MacBook Air 11 inch which I recently tried to install Linux on with a swap partition and a root partition. In my stupidity I used the “disks” program under “try ubuntu now” to delete the L...
apple.stackexchange.com
Repair GPT partition from Recovery:
I was unable to just delete the partitions left by an old Linux Mint installation by pressing the '-' button in disk utility. I looked online and read that I could reformat them to a journaled format
apple.stackexchange.com
I was trying to install Linux on my MacBook for class when I bricked my computer, which now in an unbootable state. I made my partition too small, so I was going to delete and create a larger one.
apple.stackexchange.com