Imported from the Apple Support Forums via the Wayback Machine 🔗
Hi there.
Stupid incident, but whilst cleaning out some old cruft, I managed to delete the entire /usr/bin directory on Mac OS X. Is there any way I can restore a copy of the entire /usr/bin directory from the Mac OS X Installation media, or will I have to do an Archive/Install of Mac OS X entirely?
Related: I've never reinstalled Mac OS X before and have only been paranoid about reinstalling Windows. Archive/Install doesn't touch profiles/existing documents and applications?
Imported from the Apple Support Forums via the Wayback Machine 🔗
Restoring Lost OS X Files
If you erase or otherwise "lose" an OS X system application or utility (such as Mail or Disk Utility, for example) you can restore them without having to reinstall OS X.
Download the shareware utility Pacifist. Read the documentation. Use Pacifist to extract a fresh copy of the missing application from the file archives on your OS X Installer disc. The file archives are usually found on the installer disc in the /System/Installations/ folder.
After restoring the application you need to reinstall the OS X Combo Updater for the version of OS X you currently have installed. This assures the new copy of the application is updated to the current version.
Lastly, it's a good idea to repair permissions.
0
GeorgeMitri·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks for the tip, however, Pacifist needs a couple of files to run, all of them in /usr/bin:
lsbom
mkbom
pax
mkdir
chmod
update_prebinding
If it can't find these files, it quits and I can't continue. If it's possible to just get a copy of these files to put in /usr/bin to kickstart the whole process, it would be a great help, unless there's a better idea 🙂
Thanks again,
-G
0
Kappy·
Imported from the Apple Support Forums via the Wayback Machine 🔗
If they aren't on your system then you have removed them or used software to remove them because they are present on any standard OS X installation.
You can track them down manually on your installation disc but you will need a utility to make invisible items visible. You will find several utilities at VersionTracker or MacUpdate that will do that.
0
GeorgeMitri·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Thanks for the advice, but I couldn't really do anything when usr/bin was cleared of things like defaults that modify the .plists that finder uses to show and hide files.
Solved the problem by getting the /usr/bin directory off a friend's 10.4.11 box, copying it to a temp location on my HDD, restarting off the restore disc to get myself admin priveledges, copying the files off the temp location back to /usr/bin proper, repairing permissions, then restarting off the HDD.
All back to normal now. Thanks for the suggestions though - much appreciated.
0
holritzphotography·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Oh man... I just did the same thing and deleted the USR folder not realizing what it was. I'm totally freaking out because it's my wife's computer and it has SOO much information on it.
George, you seemed to have found a good solution; is there any way I can email you to get more detailed information about the process? The USR folder on my computer is not visible, so I don't know how to find it to copy it over. And then I don't know how to copy it to her drive, or what you meant by restarting off of the restore disc.
HELP PLEASE SOMEONE!
0
holritzphotography·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Hey guys! Does anyone have any ideas? George? You around? Any help that any of you can give is much appreciated! Feel free to email me as well (shown in my profile). Thanks!
I'm desperate!
Message was edited by: holritzphotography
0
BDAqua·
Imported from the Apple Support Forums via the Wayback Machine 🔗
Not many are going to look in a solved topic for people needing help! Really should just start a new one. 🙂