Terminal Installation of Corrupted El Capitan

Alright briefly, cleaning up an 2009 MBP - I ran a El Capitan installer file from Apple from Snow Leopard. After it began installing, I received an "An error occurred while preparing the installation, etc."


However, now when it restarts, it just goes through the same process again - if possible, I'd prefer not to reinstall Snow Leopard.


I have a USB drive with the El Capitan installer .app file on it. The Drive is entitled "untitled" and the file is "install"


Would anyone happen to know the terminal code for this?


When I open the Terminal, I get this command prompt: -bash-3.2#


Thanks!

Posted on Jan 14, 2021 2:12 PM

Reply

Similar questions

7 replies

Jan 14, 2021 7:59 PM in response to TaoofPu

Apple did release a newly certificated version of El Capitan after October 2019

which does install, it downloads as InstallMacOSX.dmg and needs to go two

other stages before you get the Install OS X El Capitan.app necessary to

install El Capitan.


Were you trying to install El Capitan on a mac that has Snow Leopard installed,

what version of Snow Leopard is installed, it needs to be 10.6.8.


What happens when you boot to the bootable USB installer,

have you ran Disk Utility from the USB to check the disk for errors.

Jan 14, 2021 8:42 PM in response to TaoofPu

Yeah I think you will have to reinstall Snow Leopard.

Once you have installed it then update it to version 10.6.8.

Check the internal drives health using this app https://binaryfruit.com/drivedx

there is a free trial period.


El Capitan may not be installing because of a failing drive,

Disk Utility only checks the disk directory so is not really checking the disk.


After you have installed Snow Leopard and got it up to 10.6.8

you can think about installing El Capitan.


This time download El Capitan from here,

How to get old versions of macOS – Apple Support

Go to Download OS and click on OS X El Capitan

this downloads InstallMacOSX.dmg to your Downloads folder.


When downloaded open to InstallMacOSX.pkg, double-click on

that and an installation window will open, this does not install El Capitan

but converts the InstallMacOSX.pkg to the Install OS X El Capitan.app which 

you will find in your Applications folder, it should be 6.2GBs in size.


(If the installation window asks which disk you want to install to, you must pick 

the disk that you are booted to at the time. Not any internal or external disk that 

you want to eventually install El Capitan on, that is for later.)


To start the installation of El Capitan double click on the Install OS X El Capitan.app.


The copy of the install app self deletes after installing El Capitan, so make sure you keep a copy of the 

InstallMacOSX.dmg if you need it in future, or you could just make a copy of the Install OS X El Capitan.app 

prior to installing and moving it to an external drive for safe keeping. 


It is also possible to create a bootable USB installer disk using the Install OS X El Capitan.app

in the Applications folder and the createinstallmedia command in the Terminal app. 


Read the instructions here,

How to create a bootable installer for macOS – Apple Support



Jan 14, 2021 7:47 PM in response to Eau Rouge

Thanks Eau! The first installer that glitched out, I downloaded directly from Apple's site, but who knows? The second one was the direct .app file that someone had in their Google drive - that's on the thumb drive.


I changed up the date, restarted it normally, reinstalled, and am still getting the "cannot install" and the -bash-3.2# in the terminal prompt.


Any other thoughts? I appreciate it.


Danny

Jan 14, 2021 8:12 PM in response to Eau Rouge

I did run the first-aid function on the USB (as well as the HD) and it all looked good. I "think?" I ran the boot recovery "restart-option," but I did not do it through the terminal. Is there a specific code for that? There is no applications folder, as far as I can tell, as there does not seem to be a desktop I can get to.


Thanks again,

Danny

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.

Terminal Installation of Corrupted El Capitan

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