Accidentally Erased Partitions, Now have black screen with White Folder with ?

Hey everyone. I'm in quite the pickle here. I feel I may have accidentally done something really bad and need some help.


I have an older 2014 MacBook Air 13" with Big Sur. I wanted to try out Linux on it, since Apple is no longer releasing security updates for it, so I could continue using this laptop for years to come.


Long story short (because this part doesn't matter as much), I had to create some partitions in the drive, so that I could install Linux PoP OS. It had me create a Root, Swap, Home and Recovery partition. Most were smaller, in the 8-15GB range, with only 2 of them being larger. I also went into my Mac Disc Utilities and dragged the drive to create a 350GB partition (out of a total of 500GB), so that there was room for the Linux partition. Then I went through all the Linux instructions on how to create these partitions and it went perfectly. I did this about 2-3 weeks ago and have had ZERO problems using the Mac side or the Linux side by booting up and holding down Option to get to the Mac startup boot menu. I would select the drive I wante and voila, I'm in Mac or Linux.


Ok, now onto the beginning of the bad. One day, I'm using the Linux side and my old battery just shuts off the computer. It happens ALL the time and nothing bad has EVER happened because of it. It's the original battery and gets maybe 1.5-2 hrs of use before it will shut off. I usually plug in the laptop when it gets down to 30-40%. Ok, so it shuts off, no big deal, it's happened a million times before. But this time, when I go try and use Linux after booting into it, I get the dreaded "Oh No! Something has gone wrong" screen. It's bad news. So I'm on the Linux forums asking for help, nobody can help, nobody real knows why. And in the meantime, I'm like, what if I just delete the partitions I made for Linux using Disc Utility? So I go into Disc Utility and erase those partitions. And then it got even worse!


I NEVER touched the partition that had to deal with the Mac side of things. And yet, my Mac boots up into the black ? mark folder screen!?


So I boot into Recovery mode, thinking I'll just be able to use my Timemachine backup (I have lots of them on my external HD. I just did a Timemachine backup before I installed Linux and did all this partitioning stuff, JUST in case something like a worst case scenario happened. Like is happening right now)! And yet, it only has TWO choices for me?!?!? One backup is from 2016?!?! And the other is from March, 2024?!?! NEITHER choices are the backup I JUST made a few weeks ago!?! Ok, I'm freaking out at this point.


I read up more, I try to verify and repair the drives. There are at least 6 if not more drives showing. Here is a photo of what comes up when I open Disc Utility:


Then I did verify discs and repair discs to all of them, and it says they're "ALL GOOD". Restarted, and now, when booting into Recovery mode, I don't get anything!? I get another black screen, but this time with a globe and a triangle with an ! in the middle telling me to go to support.apple.com/mac/startup-1007F?


I am in a BIG pickle and need some help here. Not sure if anyone here can help? Or if this a case of me having to take it back to the Apple Store and have a Mac Genius fix it? This is freaking me out! ALL my music and playlists are on this drive and I can not loose it. Thank you

MacBook Air 13″, macOS 11.7

Posted on Sep 28, 2024 8:10 AM

Reply
Question marked as Top-ranking reply

Posted on Sep 28, 2024 8:31 PM

Continued.....


If booting into Internet Recovery Mode using Command + Option + R does not give you access to the Big Sur installer (it tell you which OS will be installed on the utilities screen when you successfully boot into Internet Recovery Mode). Unfortunately some Macs regardless of the special startup keys used will just boot to the online installer for the older version of macOS which originally shipped with the Mac from the factory. If this happens, then you will have two options:


Create a bootable macOS 10.13 to macOS 11.x USB installer using another compatible Mac. Do you have access to another working Mac which is able to use macOS 10.13 to 11.x (generally from Late-2009 to 2020/mid-2021)?


Or you will need to take the very long route and start by installing macOS 10.9 Mavericks to an external USB drive (hard drive or SSD). Once Mavericks is installed, then you can upgrade the OS on the external drive to macOS 10.11 El Capitan so that you can then access the Apple App Store where you can access the Big Sur installer so you can perform one file OS upgrade on the external drive (I would create a bootable Big Sur USB installer as well so you have more options). Once you have Big Sur installed on the external boot drive, you can boot to Big Sur to access the data on the internal SSD. You can also test your TM backup on the external boot drive to see if the TM backup is working (Mavericks was too old to work with a Big Sur TM backup).


Here is an Apple article with instructions for downloading & extracting various macOS installers:

How to download and install macOS - Apple Support


FYI, Even when you install Mavericks to an external drive, Mavericks will be too old to access the Internet to download the El Capitan installer, so you will need to use any other computer which can access the Internet (macOS, Windows, or even Linux) to download the El Capitan installer DMG file which you can transfer to the external boot drive so you can then install El Capitan. You will need to read the instructions carefully since there are multiple steps involved before you get to actually run the real "Install macOS El Capitan" app in the Applications folder.


If you still have your original internal Apple SSD, then you may be able to reinstall that SSD to in order to download & create a bootable macOS Big Sur USB installer assuming that SSD works & has a bootable OS on it. Just don't get the two SSDs mixed up.

Similar questions

30 replies

Oct 4, 2024 2:18 PM in response to SuperWookie68

Looks very promising. I'm curious if you can see the macOS volume as a bootble option in the Startup Disk utility (may be on the Apple menu while booted into Recovery Mode). Otherwise just try to reboot the computer to see if it is able to boot into macOS now. If it has trouble, then try an Option Boot to see if the macOS volume appears as an option.


Sep 28, 2024 9:38 AM in response to BDAqua

Yep, I can get back to a super old version of MacOS now. But again, nothing is working to restore my computer back to it's original state 3 weeks ago. The Restore from TimeMachine option only gives me TWO choices?!?! Its not showing all my backups I've done over the years. And one of them is from 2016 and the other from March, 2024. I've done a LOT of stuff with my music since then and it will all be lost. Why is my Timemachine backup from 3 weeks ago and another one from this summer not showing up?! Is there anything I can do?

Oct 1, 2024 6:10 AM in response to HWTech

Ok, so that command does nothing. But I did put that into google and searched and find a few other posts with similar-ish problems and the commands they used. Not exactly sure what they are for, but I'm including a few different photos here for you to view, hoping any will help. The commands I used in order were:

diskutil info /dev/disk0
diskutil info /dev/disk2
gpt show /dev/disk2


Oct 4, 2024 9:06 AM in response to HWTech

Hey there, I just wanted to get back with you, so you know I didn't flake out and leave. I've been really busy after work the last few days and for some reason, all of a sudden, the laptop will NOT connect to my WiFi at work, so I can't work on this stuff in the day and report back at night. But I'm still here and still going to try all of this! I really appreciate you helping this much so far. At this point, it's almost like a fun journey to see if we (basically you) can fix this problem! And yes, I realize I could lose everything. I do have a backup showing from March, 2024, so that just in case, everything goes wrong, I can get back to at least that. Still not great at all, I'm going to lose a TON of ripped music I just did this summer, but at least I'll have most of my stuff back.


Also, not sure why the laptop is doing this now, but when I boot into Internet Recovery Mode, it's usually giving me a Startup Error and a number and not even letting me get into Disk Utility or anything! The one # it says is: -1007F and I think the other is something like 3000? Can't remember now. But I know for sure it's throwing -1007F a lot now. One time it did boot into the Recovery Mode but it was back to that super old version of MacOS, not Big Sur!!! I don't know why it all of a sudden started doing this stuff again?! I was ready to put all your commands into the terminal and see if it worked, and now I can't even get the computer to the Recovery Mode! This is so frustrating.


But just wanted to let you know I'm still here and will be working on this today and this weekend. Thanks

Oct 4, 2024 3:54 PM in response to HWTech

DUDE!!!!!!!!!!!!!!!!!!!!! Hahahahaha....



Hahahahahaha, this might have been the most fun I've ever had on a computer! It works! It's all back! You did it man! And you wanna know something EVEN MORE AMAZING??? I took this thing into the Apple store locally and they said: it can't be fixed. And yet you fixed it! UN REAL! Just absolutely amazing! You did it man! You did it!




I'm almost sad it's all over.


But one final question. All of the "discs": disk0s4, disk0s5, disk0s6, disk0s7 and NO NAME are all on my desktop now and I don't want to touch them until you tell me what to do with them, haha. I'm going to do a Time Machine backup right now, before I do anything else. And I'll await your response.


Can't thank you enough again man. Truly inspiring to know that there are people such as yourself, that are THIS knowledgeable AND willing to help others in their spare time. You must really enjoy problem solving as much as I do. This was quite the adventure my friend. Thank you


Oct 5, 2024 1:36 PM in response to HWTech

I'm really glad it worked. And I'm glad you enjoyed the process.


I'm just glad I decided to glance at your post since many times I will skip a thread where a high level contributor is already responding (I've been very busy so I haven't had much time recently to really hang out here, but needed a distraction).


Again, THANK YOU so much for taking your time to help another human being in need! Can't thank you enough. And if you have time and don't mind, I'd LOVE to hear the explanation about those command lines you had me type in. From the last set you sent me, that seemed to fix everything. I know I'll never truly understand it all, but would love to try and get the gist of it. What was each line of command doing? What was it affecting? That would be neat to learn HOW and WHY you had me type in all those commands. Just for my own curiosity. Again, I'll never understand it like you or other experts, but it would be fun to see your thought process and what exactly was going on with those commands.


Yeah, Apple doesn't train their front line agents for anything but basic support options. Erase & reinstall is their mantra. I cannot blame them sometimes, since that can be the easiest & fastest way forward since Apple is only concerned with macOS & the Apple hardware working properly...third party hardware & software is generally the responsibility of the user or the third party vendor.


This guy was their "expert". He's a nice guy and he's helped me out before. But it was either one of two things: 1. he just didn't want to take the time to do all this stuff you did because apple wants him to just move on to the next easy fix or 2. he didn't know and is told to just do exactly as you said: whip and reinstall. Because that is exactly what he told me. That he can't help and to just whip and install.


I'm not sure whether Disk Utility will allow you to rejoin those deleted partitions back into your macOS APFS Container automatically or not. If not, then our adventure can continue a bit longer since I have some command line instructions readily available to make sure the space used by those partitions is reintegrated in the macOS APFS Container (I have provided these instructions for people who had botched Windows Bootcamp installations & removals although I'm not sure anyone bothered to follow up with confirmation of success...they worked for me in a test environment involving multiple partitions within a DMG file).


FYI, if you find that you still get an option to boot Linux, then that is another very easy fix since the Linux bootloader resides within a folder on the hidden EFI (aka ESP) partition. There is no automated Linux uninstaller or removal tool.


So how DO I rejoin those partitions back into my macOS APFS container? It's still showing that my entire SSD is 350GB for Mac. And the other drives, while no longer on the desktop, are still in the Disk Utility app, but grayed out now.


No option to boot into Linux.


I hope you don't give up on your Linux experimentation either. A lot of my knowledge comes from using Linux for the last 20+ years. The best way to go with Linux is to either install to an external drive, or use just about any older computer (64bit CPU 2007+), or install into a Virtual Machine running on macOS if your computer has enough system resources. Partitioning & dual booting to a single drive is always risky, but mostly because people usually discover one or more partitions are too small. I dual booted early on when I was learning Linux by dual booting with Windows (actually triple booted one time) since booting to external drives at the time was not a good option with USB1 or even USB2. Windows was worse since it didn't know how to play nice with others.


Definitely not giving up on Linux. I still have Kubuntu on my main desktop PC on it's own SSD (windows on another, so there is not dual booting). And I think I'll try out the external drive way of running Linux on this laptop. That way there is no partitioning or dual booting. It's definitely too old and not fast enough though to allow running Linux in a VM. My super fast really nice desktop I built can barely run a few different distress of Linux in a VM without problems. Others don't work well at all. I'm going to use Linux Mint on an external ssd.









Oct 14, 2024 5:44 PM in response to SuperWookie68

Sorry about not getting back to you sooner. I thought I had already replied here, but I don't see my post.


Use the "Partition" tab within Disk Utility and delete those partitions. I believe you need to highlight a partition and click the " - " icon to delete a partition. Do that for each one of those former Linux partitions. Start with "disk0s3" and go in order to "disk0s7". I don't know if deleting them in this manner & order will allow them to automatically merge back into the APFS Container, but it is worth trying.


If not, then run the following command again so I can see the current drive layout after deleting those former Linux partitions (or attempted deletion) since I do have instructions for the command line to merge them (or the free space) back into the main macOS APFS Container:

diskutil  list  internal



This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Accidentally Erased Partitions, Now have black screen with White Folder with ?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.