I am an idiot (and a dangerous one)

Discussion in 'macOS' started by Palad1, Jul 15, 2006.

  1. Palad1 macrumors 6502a

    Palad1

    Joined:
    Feb 24, 2004
    Location:
    London, UK
    #1
    Hello Ladies and gentlemen.

    Here's what happened to me this morning.
    I tried uninstalling all simbl plugins from /Library/Application Support/Simbl/Plugins using the Finder's column view.

    So I click on my selection, check out the content of another window, get back to the finder (click to focus), then, shift-backspace confident that simbl plugins will go to the trash. I am asked for the admin password, which seems reasonable since the files are located in /Library and not ~/Library.

    While the process takes its sweet time deleting two miserable files, I start wondering why quicksilver cannot find the audio preferences...

    Yup, that's it, I deleted my whole /Library folder like a complete and utter noob.

    Luckilly I was able to recover some parts of it, but some vital parts (preferences) are gone forever. Is there some kind of 'repair install' Tiger can do?

    I think I'm in for a nice system reinstall, then I'll have the pleasure of reading this thread yet again ;)

    So the things we have learned today:
    1/ Do double-check twice why you are entering the admin pass
    2/ Finder sucks
    3/ If you ever hear some advice on OSX from Palad1, just ignore him :)
     
  2. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #3
    What does shift-delete do? On my US Mac, Apple-Delete trashes files. I don't understand exactly what you did, or why the files did not go to trash.

    Tiger's "repair install" is the Archive & Install feature. You boot off the DVD, and when you get to a screen that has an options button, you click it. You will be given a list of alternative install options, including the option to make an archive of your old system, re-install, and then transfer your user back over. This should solve your issues, since it's /Library that you trashed. You'll be left with a folder in the root of the hard drive containing the previous system install; you can delete it when you are comfortable you don't need anything held in it.
     
  3. ironic23 macrumors 6502

    Joined:
    Feb 8, 2006
    #4
    oh man, sorry to hear that. always try to back your HD up as an image or something. good luck!
     
  4. dmw007 macrumors G4

    dmw007

    Joined:
    May 26, 2005
    Location:
    Working for MI-6
  5. kwood macrumors 6502a

    kwood

    Joined:
    Jun 26, 2006
    Location:
    In the Great White North.
    #6
    For this issue the Archive and Install (both Preserving User/Network settings, and not preserving settings) will not allow you to regain full functionality of the OS. If you can turn the computer on and boot to the desktop you need to immediately back-up your information, then perform an erase and install.

    This article directly from Apple tells you exactly which files are preserved for both types of instillations: http://docs.info.apple.com/article.html?artnum=107120

    You may be able to use your OS with relative functionality and even with restoring some of the files that you found in the trash. However your OS is no longer stable and you have to erase and install to regain stability.
     
  6. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #7
    I either think you didn't understand this knowledge base note, or I am missing what you mean completely. I think this is completely wrong.

    There are two archive / install options.

    The one preserve version moves the user files back. The other one doesn't. But both of them completely recreate the rest of the operating system installation. The only time they would ever fail to correctly install the operating system is if the hard disk partition / format integrity is compromised.

    One might have to re-install some existing applications that put their things in /library. But doing it over an archive/install will not be any worse than doing it over an erase/install....

    I'm sorry, I don't mean to be acerbic. If I'm misunderstanding the point you're making, and I'm wrong, I'd really like to understand why. But I don't think I am / do.
     
  7. kwood macrumors 6502a

    kwood

    Joined:
    Jun 26, 2006
    Location:
    In the Great White North.
    #8
    There are technically 3 types of instillations. Two are an Archive and install, and the other is an Erase and install. The erase and install does exactly what it says erases everything, rewrites the file structure then installs the OS. If you boot to the install disc, select your hard drive and click on the options button (OS X 10.2+) there are the 3 install types. If you select the Archive and install by default Preserving User and Network settings is also selected.

    The difference between the 2 is outlined in that article I originally quoted. The large list outlines and Archive and install where preserving user and network settings is not selected. Later on in the article it outlines the additional files that are archived when preserving user and network settings is selected.

    In both Archive and install options the “/Library” is preserved.
    As a result the links to other drivers and extensions are not reinstalled. The stability of your applications and possibly the OS as a result is compromised.
     
  8. kwood macrumors 6502a

    kwood

    Joined:
    Jun 26, 2006
    Location:
    In the Great White North.
    #9
    Actually, now that I read and reread that a few times, I realize I am incorrect. The “/Library” actually is moved to that previous system folder,and reinstalled as outlined in the article. My apologies for the incorrect information, I added the word “not” when I read it the first few times.
     
  9. mkrishnan Moderator emeritus

    mkrishnan

    Joined:
    Jan 9, 2004
    Location:
    Grand Rapids, MI, USA
    #10
    I figured that's where you got mixed up. It *is* slightly confusing. :eek:
     
  10. Palad1 thread starter macrumors 6502a

    Palad1

    Joined:
    Feb 24, 2004
    Location:
    London, UK
    #11
    Thanks for the information!

    I had lots of stuff in my /Library, so I opted for a full reinstall and a manual backup to a firewire drive...

    I'm still amazed it only took one hour to get a whole system back + all the apps that I use.

    The OSX (and NeXT) Application Bundle may waste some space on disk (no shared deps) but it's a real lifesaver when restoring apps from a backup.

    Cheers,
    Palad1
    System Trasher
     
  11. bankshot macrumors 65816

    bankshot

    Joined:
    Jan 23, 2003
    Location:
    Southern California
    #12
    Out of curiosity, did you try Cmd-Z after doing the delete? As long as the trash hadn't been emptied yet, that should have restored all of the "deleted" files. At least it does for me in Finder.
     
  12. Palad1 thread starter macrumors 6502a

    Palad1

    Joined:
    Feb 24, 2004
    Location:
    London, UK
    #13
    Yeah, I tried that, but it restored only parts of my library.

    I lost parts of the Applications folder as well, which seems real weird since I'm pretty sure I deleted the library itself... Maybe a symlink gone horribly wrong? :confused:

    So now, I have setup an 'everyday' account witout admin privileges, as well as an admin account named "Destroyer Of Worlds". I'm not using the latter, although the username sure is tempting ;)

    I know I tinkered without RTFMing because I assumed lots of things worked the same as BSD but I think I still have to learn the 'Mac' personality of the OS.

    Cheers,
    Palad1
     

Share This Page