User Tools

Site Tools


unix:apple_osx:reinstall

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
unix:apple_osx:reinstall [2020/10/12 04:13] rodolicounix:apple_osx:reinstall [2020/10/29 01:35] (current) rodolico
Line 1: Line 1:
 ====== Reinstall OS X ====== ====== Reinstall OS X ======
 +
 +===== The Problem =====
  
 Recently (Fall 2020) I was able to purchase an old MacBook Air for my daughter to use. It is an older device, but working just fine for what she wanted. The original owner had not removed his account, and I had no admin password, so I decided to just do a reinstall. Very bad move on my part. Recently (Fall 2020) I was able to purchase an old MacBook Air for my daughter to use. It is an older device, but working just fine for what she wanted. The original owner had not removed his account, and I had no admin password, so I decided to just do a reinstall. Very bad move on my part.
Line 7: Line 9:
 Rebooted the system, pressed Apple-R to go into recovery mode, and told the system to reinstall itself. After formatting the drive and starting the install, I get a timer stating it is going to take -2,393,938,938 and 8 minutes. A couple of minutes later, a message appears stating it can not download additional components needed to install OS X. Basically, the same issue described at [[https://www.ifixit.com/Answers/View/601830/re+installing+OSX+problems]]. Rebooted the system, pressed Apple-R to go into recovery mode, and told the system to reinstall itself. After formatting the drive and starting the install, I get a timer stating it is going to take -2,393,938,938 and 8 minutes. A couple of minutes later, a message appears stating it can not download additional components needed to install OS X. Basically, the same issue described at [[https://www.ifixit.com/Answers/View/601830/re+installing+OSX+problems]].
  
-Finally got it installed. I had a friend who had a full system backup who was able to take that image and copy it to the MacBook, and it worked just fine. Then, my daughter tried to install some software which corrupted the machine, so she brought it back to me to repair.+===== The First Solution ===== 
 + 
 +Finally got it installed. I had a friend who had a full system backup who was able to take that image and copy it to the MacBook, and it worked just fine. 
 + 
 +===== Second Problem ===== 
 + 
 +Then, my daughter tried to install some software which corrupted the machine, so she brought it back to me to repair.
  
 Not being an total idiot, I had made a full TimeMachine backup before I gave the machine to my daughter, so I thought "no problem, I'll just recover from TimeMachine". Didn't work. I made the backup to an SMB network share, and the old Mac just couldn't seem to want to use it. Various failures. So, I copied the DMG to a HPFS formatted external drive that I had purchased for her (and, forgot the ._ file the first couple of times), but it still wouldn't recover. Not being an total idiot, I had made a full TimeMachine backup before I gave the machine to my daughter, so I thought "no problem, I'll just recover from TimeMachine". Didn't work. I made the backup to an SMB network share, and the old Mac just couldn't seem to want to use it. Various failures. So, I copied the DMG to a HPFS formatted external drive that I had purchased for her (and, forgot the ._ file the first couple of times), but it still wouldn't recover.
Line 28: Line 36:
 5 days after the attempt to reinstall, that is where I stand. More later. 5 days after the attempt to reinstall, that is where I stand. More later.
  
 +===== The Final Solution =====
 +
 +**WARNING**: The following procedure completely erases the boot drive of your Mac.
 +
 +==== Need a Mac to install on a Mac ====
 +
 +The target OS for this machine was Mojave, v10.14. Nothing newer will work on it since it is so old. I found the installer at [[https://itunes.apple.com/us/app/macos-mojave/id1398502828?ls=1&mt=12]], but it will only download to an OS X machine, and I didn't have one that wasn't broken. Finally, I "fixed" the machine by coping the TimeMachine image (don't forget the '.' file) onto an external USB. Booted into system recovery mode and followed the instruction in the first solution long enough to get a working OS X machine. Now, I have a working (broken) Mac.
 +
 +==== Get the installation image ====
 +
 +[[https://www.macworld.com/article/3284378/how-to-create-a-bootable-macos-mojave-installer-drive.html]]
 +
 +This is not as simple as it sounds. You have to A) be on a mac and B) watch closely when it starts the install. It will try to immediately begin installing, and when it is done, will erase the 6G installer you just downloaded. When it starts the install, you have to immediately stop it (CMD-Q). That will leave the installer in the Applications folder.
 +
 +==== Get Disk Creator ====
 +
 +Now, we want to create a bootable thumbdrive from this. Go to [[https://www.macworld.com/article/3284378/how-to-create-a-bootable-macos-mojave-installer-drive.html]]. I used Disk Creator from [[https://macdaddy.io/install-disk-creator/]] and used it to create a bootable installer onto an 8G USB thumbdrive.
 +
 +==== Start the install ====
 +
 +  - Make sure you have a copy of TimeMachine backup on something OS X will work with. I put it on the original USB external drive. Since it was 180G, and I was copying it off my NAS, it took 5 hours, so I started that before doing the following (I had to reformat the drive to something OS X could read also)
 +  - Reboot system and boot off of the newly created USB installer drive. Hold the Option button down during boot which allows you to choose the boot volume. Select the installer as the boot volume. Once the installer is booted, you will be be presented with a small menu. You are interested in two options; Disk Manager and Install OS
 +  - Go into disk utilities first and completely erase the entire hard disk. You have to change the view to show all devices. When done, exit Disk Utilities and return to the options screen.
 +  - Select Install OS. Select the (now blank) drive you just cleaned up.
 +  - Use Migration Assistant (part of the initial setup) to recover your information from your Time Machine backup. This is the TimeMachine image you copied in the first step, if you don't have it someplace else.
  
 +Your machine should now be back to normal. Save that installer image someplace you won't lose it, since if you only have one Mac, you can not easily redo this. I have an image on my NAS, and the bootable USB installer I created is now sacrosanct.
  
 ===== Links ===== ===== Links =====
Line 41: Line 75:
   * Mojave Installer Image [[https://itunes.apple.com/us/app/macos-mojave/id1398502828?ls=1&mt=12]]   * Mojave Installer Image [[https://itunes.apple.com/us/app/macos-mojave/id1398502828?ls=1&mt=12]]
   * Creating a bootable USB [[https://www.macworld.com/article/3284378/how-to-create-a-bootable-macos-mojave-installer-drive.html]]   * Creating a bootable USB [[https://www.macworld.com/article/3284378/how-to-create-a-bootable-macos-mojave-installer-drive.html]]
 +  * Disk Creator [[https://macdaddy.io/install-disk-creator/]]
  
unix/apple_osx/reinstall.1602494022.txt.gz · Last modified: 2020/10/12 04:13 by rodolico