Deleted a system file, now nothing works

Hi,
I downloaded and used a 3rd party file that changes the login window UI, but decided yesterday I wanted it back to normal, I had a backup of the original file already in the directory, so I deleted the file and double clicked the zip file (thinking stupidly this was it done).
But it appears I've deleted the file and the file didn't unzip and now my mac won't boot up at all, it's stuck in an endless blue screen loop at the login window.
The directory is - System/Library/CoreServices/SecurityAgentPlugins
and the file itself in that folder is - loginwindow.bundle
So I've completely screwed things up, here is the things I have tried and failed:
- Holding 'C' with Snow Leopard Installation CD (the CD is a bit scratched, don't know if that's relevant to it not working)
- Holding 'C' with Leopard Installation CD
- Booting into safe mode
- Booting into single user mode (successfully) and tried /sbin/fsck -fy (it repaired something but it still doesn't boot)
I was hoping I could archive and install from the OS DVD, but for some reason it doesn't seem responsive (blank white screen, or at one point just shutdown my macbook).
All because of one system file?
Is there anyway I can unzip the file back to where it should be? Is there anyway I can archive and install from single user mode? Is there anyway I can repair the system files to default from single user mode? Or do a OS DVD repair from single user mode? Better yet - is there anyway I can completely bypass the login GUI window?
I know the exact file, I have the default file in the correct directory, I know where the problem is - I just can't get to it.
I really don't want to loose everything on my HD.

If you're unable to boot from a Mac OS X install disk, there are a few possible reasons:
1) The disk is damaged
2) The disk is not appropriate for the computer
3) The optical drive is damaged
4) There's some other hardware problem
5) The hard drive is so badly corrupted that you can't boot from anything (rare, I've only seen a confirmed case like this once)
6) You have a peripheral connected that is interfering
If #1 is the case, there's not much you can do but replace the disk. In the case of #2, note that gray disks that shipped with a different machine won't work and that [you can't install an older system than what shipped on your machine|http://support.apple.com/kb/HT2186]. #3 is probably only diagnosable (is that a word?) if your system is working (so you can test other disks) or if Apple takes a look at it. #4 can be tested with [Apple Hardware Test|http://support.apple.com/kb/HT1509], if you can manage to boot into that. And #5 can be difficult to fix, usually involving the assistance of another machine (for example, you could boot in [FireWire target mode|http://support.apple.com/kb/HT1661] and try repairing with something like [DiskWarrior|http://www.alsoft.com/DiskWarrior/index.html] or just erase the drive). Finally, #6 is easy to test - just unplug everything but the keyboard and mouse and test again.
Since fsck reported errors on your drive that had to be repaired, #5 could be possible, but then I would think it wouldn't boot into single-user mode. Try going back to single-user mode and keep running fsck repeatedly until no problems are found (or until you're reasonably sure they won't be fixed).
Unfortunately, since we know your hard drive was damaged, you may have already lost everything on the drive if you didn't have backups.

Similar Messages

  • Won't boot from install discs after deleting some system files

    I've been looking through the forum and haven't found an answer to my problem - maybe someone can help me out.
    I have an aluminum Powerbook G4, 1.67, 1.5 RAM, 10.4.11. I was experiencing the problem with FCE capturing video for about 5 minutes and then freezing, and I read some threads here about how this can be fixed by returning to Quicktime 7.2 and installing it with Pacifist. I did this, but first tried to delete my previous Quicktime version files, and obviously I deleted some system files in the process. That's how my new problem started.
    Programs now that do not open - Preview, iTunes, iMovie, FCE, Yahoo, Mail, and Microsoft Messenger. I no longer have my date/time/battery level/airport/bluetooth indicators in my toolbar. The Spotlight icon flashes, but will not open. Also, when opening the System Preferences pane, it opens just for a second or two and then crashes and closes. Safari, airport, and Word all work, though, and I still can access internet.
    I tried to re-install OS 10.4 from my black install disc. The computer reads the disc, but after I click the installer icon and then "restart," the computer fails to completely reboot. The disc spins in the drive, I get the Apple, the indicator, and then the screen goes to blue and the disc soon stops spinning. Nothing happens after that. I've tried rebooting by holding down the C key but the same happens. When I hold down the option key, I get to the point where I can choose to boot from the install disc, and then the same thing happens - the blue screen and nothing more. Booting with the shift key held down doesn't work either.
    I did just have a repair by Apple - my adaptor plug sparked when inserting it into the outlet, and I had to have the logic board replaced. But the computer seemed to be working fine when I got it back, except for the FCE issue first mentioned. Looks like my good intentions have done me in.
    The install disc is about three years old, and is in good condition. It's been in the garage, so could heat or cold affect the readability of the disc?
    Does anyone have any suggestions on how I can boot from my install disc and get a fresh install of my OS?

    Hi bboross,
    Tough without a Tiger Disk, but try fsck...
    To use fsck, you must run it from the command line. Unlike using your mouse to open an application to do something, you'll need to type a text command at the prompt (#) to tell fsck what to do. The Terminal application (/Applications/Utilities) and single-user mode are two examples of command-line interfaces in which you can type such commands. To use fsck:
    1. Start up your computer in single-user mode to reach the command line. Hold CMD+s keys down at bootup.
Note: If necessary, perform a forced restart as described in the Emergency Troubleshooting Handbook that came with your computer. On desktop computers, you can do this by pressing the reset/interrupt button (if there is one) or holding down the power button for several seconds. On portable computers, simultaneously press the Command-Control-power keys. If your portable computer doesn't restart with this method, you may need to reset the Power Manager.
    2. At the command-line prompt, type /sbin/fsck -fy
    (space between fsck and -fy important)
    3. Press Return. fsck will go through five "phases" and then return information about your disk's use and fragmentation. Once it finishes, it'll display this message if no issue is found:
** The volume (nameofvolume) appears to be OK 
If fsck found issues and has altered, repaired, or fixed anything, it will display this message:
*** FILE SYSTEM WAS MODIFIED *** 

Important: If this message appears, repeat the fsck command you typed in step 2 until fsck tells you that your volume appears to be OK (first-pass repairs may uncover additional issues, so this is a normal thing to do).
    4. When fsck reports that your volume is OK, type reboot at the prompt and then press Return.
    http://docs.info.apple.com/article.html?artnum=106214
    Then Safe Boot , (holding Shift key down at bootup), & use Disk Utility from there to Repair Permissions, reboot once more.

  • Reinstalled Windows 7, now nothing works... help

    My father-in-law was having some trouble with his pc, so he decided to reinstall his OS. Now nothing works; we have bare-bones OS with no connectivity to anything. I believe he may have completely reformatted his hard drive, possibly deleting some system files? We can't even connect to the internet, looks like the network adapter no longer has a driver installed.
    I know my way around a pc, but I confess to being a little out of my depth. Any advice would be appreciated

    Hi:
    No doubt the PC is missing several key drivers for the hardware.
    The devices needing drivers will be listed in the device manager under an Other Devices category and they will all have little ! marks next to them.
    One of them is probably the ethernet controller.
    You need this driver for that so you can connect to the internet by wire.
    http://h10025.www1.hp.com/ewfrf/wc/softwareDownloadIndex?softwareitem=cp-95742-1&cc=us&dlc=en&lc=en&...
    You will find the rest of the drivers you need at the link below.
    Most of them will be under the Original Drivers category.
    http://h10025.www1.hp.com/ewfrf/wc/softwareCategory?os=4063&lc=en&cc=us&dlc=en&sw_lang=&product=5115...

  • Upgraded and now nothing works. No desktop icons at all!! Totally ruined. What do I do now?

    just upgraded to Yosemite and now nothing works and no desktop icons or dock!! Help what has happened? I've an iMac early 2008 and 56 gig free and 2 gig ram. This was supposed to be enough. Now lost everything. Can anyone help?

    There may be a problem with UI files inside system directories, so your files are not 100% lost. You need to check it.
    Do you have a recovery flash drive for OS X, bootable OS X flash drive? If so, you can boot iMac from that drive and just fix the system on your computer.
    If you don't have, you should create it (at least for safety in similar situations) with another mac or pc.
    Off topic: It happened to me too when I tried to replace some textures in Yosemite with textures from Mountain Lion and the process went wrong. So don't be sure that the whole system is ruined, it may just be the graphical part that crashed, but your documents are ok.

  • I accidentally deleted hidden system files! Please help!

    Hi guys.
    Well after purchasing a mint MBP today running Mountain Lion, I wanted to "tidy up" the desktop and Finder. I saw many hidden files and thought it was very peculiar as my iMac hasn't got anything of the kind. I thought it could have been some files from a USB that were left there from previous usage. Anyway, I've ended up deleting key system files which now causes the MacBook to fail boot and keep restarting.
    I've attempted the highly recommended "Command R" function which gave me a choice of Time Machine Restore (system comes up with no backups), re-installation of Lion (which won't work because the system is running Mountain Lion) and a Disk Utility repair (which does its job but makes no difference on start up). I feel really upset and annoyed. The system had great installations of key apps I needed. I'd be sad to loose them but would be happy to just get the system rebooted and running from scratch.
    The system is a late 15" 2011 MACBOOK PRO with an i7 Quad 2.44 (or 2.66) processor, 4GB memory and a 750GB hard drive.
    What can I do? Is it just a case of take it to Apple so they can reboot it for you? And if that's the case will I be charged?
    Many thanks for the advice.
    Apologies if this is something you have heard before, it's a horrible feeling and I just want it fixed.
    Thanks.
    Hal.

    To install Lion that belongs to you will require you to repartition the drive first. You cannot do a simple reinstall of Lion over a Mountain Lion system. You will need to follow this guide instead:
    Install Lion/Mountain Lion on a New HDD/SDD
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    1. Select Disk Utility from the main menu and click on the Continue button.
    2. After DU loads select your external hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    3. Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion: Select Reinstall Lion/Mountain Lion and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    This is the procedure you must go through because your hard drive does not have a Lion version of the Recovery HD.

  • I accidentally deleted a system file and my macbook pro will not boot

    i accidentally deleted some files and i am guessing now that they were system files. now my macbook pro will not boot. i need help please

    What OS version are you on? You're not running iOS 6.1.2 on it.
    If you're on 10.7 or 10.8, try the recovery option:
    http://support.apple.com/kb/HT4718

  • I accidentally deleted the systems file on my macbook.

    In preparation for upgrading from Leopard 5.8 to Snow Leopard I backed up my entire macbook system to an external hard drive.  Then I deleted some files prior to installing Snow Leopard but I accidentally deleted the systems files.  I can't boot the system now.  How do I resolve the situation?

    Thanks for the reply.
    The backup was via Time Machine.
    No, I have not tried booting from the SL 6.0 disc using the c key or Option/alt key.  When do I push the option/alt key? 

  • My macbook screen doesn't work so I have connected it to the TV and now nothing works, I can't see the dock or the finder bar, no folders on desktop either. I don't know what to do!

    My macbook screen doesn't work so I have connected it to the TV and now nothing works, I can't see the dock or the finder bar, no folders on desktop either. I don't know what to do!

    Do you see anything on the TV?
    If you just see your desktop, then your MacBook is defaulting to extended display mode. Try pressing the Command + F1 keys to see if you get the menu bar and other icons.
    ~Lyssa

  • I UPGRADED TO 4.0 AND NOW NOTHING WORKS I CANT EVEN GET TO THE WEB

    I UPGRADED TO 4.0 AND NOW NOTHING WORKS NONE OF MY PLUGINS I CANT EVEN GET TO THE WEB WITHOUT GET A ERROR MESSAGE. WHATS WRONG

    And that error message is?

  • Help! i installed the update for the flash player, now nothing works!

    I have an imac computer and installed the new update, but now nothing works! Just keeps saying plugin failure. How do i fix this? Im running 10.7.5.

    ATTENTION MAC CUSTOMERS - Flash Player 13 "Plugin Failure" Workaround

  • Music I already have on my computer will not pull up in itunes. I dragged the files, copied the files,  and even tried adding the files but nothing works. The songs play on any other program except for itunes. What do I do??

    Music I already have on my computer will not pull up in itunes. I dragged the files, copied the files,  and even tried adding the files but nothing works. The songs play on any other program except for itunes. What do I do??

    OMG......THANK YOU THANK YOU......I been reading articles after articles and nothing was working......tryed the Crtl+S and there it was. I can not thank you enough......I appricate it    Can not believe it was that simple. I am one happy person again.....

  • Deleted Items from Hard Drive folder and now nothing works ...

    Hi All,
    Under the 'Search For' heading in the right hand column of the grey box that comes up when you open your hard drive, there are the heading All Images, All Movies, All Docs .... I've deleted about 2600 files from the 'All Images' folder and now my iPhoto won't open as there is nothing in it, and my Entourage crashes when I try to open it.
    I've obviously deleted files that were needed for these applications. The items are all still in my Trash, but I don't know how to return the files to their original homes. Can anyone help please?
    Thank you

    V.K. - thank you for your help. I've manually moved all my photos back to iPhoto and that's back up and running.
    The problem I'm left with is how to reinstate the correct files to Entourage. Even if I could identify which files are part of that application (can anyone help with that?), I'm still not sure how to put them back into Entourage. Is it simply a matter of dragging them over to my Entourage icon?

  • I may have deleted some system files from my computer due to my antivirus and now my imac won't start. Actually it does, and then there is a blank screeen with the apple logo and it shuts down right away. is tehre a possibility of recovering my files?

    Hello
    I was having some problems with my Imac, for a while it was slow and often disconneceted from my wifi, while this one worked perfectly (tested with other devices)
    I thoug i might have a virus, so i downloaded an antivirus (mac keeper) and started checking.
    I also did a scan of my computer using Console or something from the utilities, and then a folder popped witha  file I had canceled a while ago. I canceled the file and then my Imac continued to be slow.
    i then restarted my Imac, but when it started, the usual grey logo of Apple appeared, and then it shut down suddently.
    I tried to reboot it holding the command key and R but nothing, and then i tried holding the shift key and a bar appeared, and at half of the bar it sut itself down again.
    I think it is probably a preoblem because I may have cancelled some of the system files from a folder called "private" in the "documents" folder.
    Is there any way I can recover some of my files? maybe all of them? I hope so because I have some important files there
    Is this a thing I can do myself or do Ineed to go to a MacStore to repair it? Will I need to change HD or just to format it and reinstall? also if there is any way i can recover some of my files that would be great.
    Thanks
    Ludo
    P.S. problems appeared when i installed the Mavericks version.

    If MacKeeper corrupted the Recovery partition then even I underestimated its potential for damage. Garbage "cleaning" apps will cause misery but I have not found that the Recovery partition to have been affected by using MacKeeper or anything like it. I doubt that it did so, but I have learned not to underestimate the potential for such things to result in system corruption.
    Before concluding your Mac has a hardware failure, try booting OS X Internet Recovery by holding command option r on startup (three fingers). That will force your iMac to bypass the Recovery partition altogether, and convey the ability to create a new one.
    An Internet connection will be required (wired or wireless).
    At the Mac OS X Utilities screen, select Disk Utility. Select your startup volume (usually named "Macintosh HD") and click the Repair Disk button. Describe any errors it reports in red. If Disk Utility reports "The volume Macintosh HD appears to be OK" in green then you can be reasonably (though not completely) assured your hard disk is in good working order.
    Assuming the HD remains usable you can then use Disk Utility to erase it. Reinstall OS X, restore your essential software and other files, and don't reinstall the junk.

  • Error trying to update, now nothing works

    Hi, can anyone help me?
    I was syncing my ipod Touch 3rd generation to my pc (windows 7 OS) and then both itunes (from 10.5.3 to 10.6) and the device (from IOS 1.5.0.1 to 1.5.1) went on to their own automatic software update (itunes from 10.5.3 to 10.6 and the device from IOS 1.5.0.1 to 1.5.1).
    Before finishing the update a message appeared saying that my ipod could not be updated. And now it's not working anymore, all it does is show on the screen the iTunes logo and a cable pointing to the logo (obviously saying for me to try to sync).
    I've tried everything that I can think of to fix this... restarting pc, the "so called" reseting of the ipod, changing the usb plug and using another cable. I've even tryed to install the old version of itunes. But nothing happens the pc and itunes won't recognize the device.
    It was working fine before this, I use the device everyday.
    Can anyone please help?

    Firstly delete the .ipsw file on the computer
    usually @ C:\Documents and Settings\MY_USER\Application Data\Apple Computer\iTunes\iPhone Software Updates
    then do a forced restore
    Make sure iphone is turned off and disconnected from your computer, hold down on the home key for 5 seconds and then insert the USB cable while still holding the home key, let go of the home button when you see the apple sign. you will probably get a message saying itunes has detected an iphone in recovery mode. then restore to factory settings.
    Hopefully this will fix it for you, let me know if it dont

  • Updated Software and now nothing works

    I just recently done a software update to my Macbook Pro and when it had finished and I went to use the likes of Mozilla or Safari, they wouldnt work. Tried to use the system update again, it wouldn't work. So basically nothing will open at all. Anyone got any suggestions as to what I could do so it will work?

    Did you restart your Mac after the installs, and repair permissions?
    Some general advice on updating:
    It is worth noting that it is an extreme rarity for updates to cause upsets to your system, as they have all been extensively beta-tested, but they may well reveal pre-existing ones, particularly those of which you may have been unaware. If you are actually aware of any glitches, make sure they are fixed before proceeding further.
    So before you do anything else:
    If you can, make a full backup first to an external hard disk. Ideally you should always have a bootable clone of your system that enables you to revert to the previous pre-update state.
    Turn off sleep mode for both screen and hard disk.
    Disconnect all peripherals except your keyboard and mouse.
    1. Repair Permissions (in Disk Utility)
    2. Verify the state of your hard disk using Disk Utility. If any faults are reported, restart from your install disk (holding down the C key), go to Disk Utility, and repair your startup disk. Restart again to get back to your startup disk.
    At least you can now be reasonably certain that your system does not contain any obvious faults that might cause an update/upgrade to fail.
    3. Download the correct version of the COMBO update from the Apple download site.
    The Combo updater of Leopard 10.5.8 can be found here:
    http://support.apple.com/downloads/MacOS_X_10_5_8_ComboUpdate
    If you prefer to download updates via Software Update in the Apple menu (which would ensure that the correct version for your Mac was being downloaded), it is not recommended to allow SU to install major (or even minor) updates automatically. Set Software Update to just download the updater without immediately installing it. There is always the possibility that the combined download and install (which can be a lengthy process) might be interrupted by a power outage or your cat walking across the keyboard, and an interrupted install will almost certainly cause havoc. Once it is downloaded, you can install at a time that suits you. You should make a backup copy of the updater on a CD in case you ever need a reinstall.
    Full details about the 10.5.8 update here: http://support.apple.com/kb/HT3606
    More information on using Software Updater here:
    http://support.apple.com/kb/TA24901?viewlocale=en_US
    Using the Combo updater ensures that all system files changed since the original 10.5.0 are included, and any that may have been missed out or subsequently damaged will be repaired. The Delta updater, although a temptingly smaller download, only takes you from the previous version to the new one, i.e. for example from 10.5.7 to 10.5.8. Software Update will generally download the Delta updater only. The preferable Combo updater needs to be downloaded from Apple's download site.
    Now proceed as follows:
    4. Close all applications and turn off energy saving and screensaver.
    5. Unplug all peripherals except your keyboard and mouse.
    6. Install the update/upgrade. Do not under any circumstances interrupt this procedure. Do not do anything else on your computer while it is installing. Be patient.
    7. When it ask for a restart to complete the installation, click restart. This can take longer than normal, there are probably thousands of files to overwrite and place in the correct location. Do nothing while this is going on.
    8. Once your Mac is awake, repair permissions again, and you should be good to go!
    If your Mac seems slightly sluggish or ‘different’, perform a second restart. It can’t hurt and is sometimes efficacious! In fact a second restart can be recommended.
    9. Open a few of your most used applications and check that all is OK. In this connection please remember that not all manufacturers of third party applications and plug-ins, add-ons, haxies etc, will have had time to do any necessary rewrites to their software to make them compliant with the latest version of your operating system. Give them a week or two while you regularly check their websites for updates. This applies particularly to plug-ins for Safari 4.
    N.B. Do not attempt to install two different updates at the same time as each may have different routines and requirements. Follow the above recommendations for each update in turn.
    Lastly, Apple's own article on the subject of Software Update may also be useful reading:
    http://docs.info.apple.com/article.html?artnum=106695
    If you are updating Safari (or just have):
    Input Managers from third parties can do as much harm as good. They use a security loophole to reach right into your applications' code and change that code as the application starts up. If you have installed an OS update and Safari is crashing, the very first thing to do is clear out your InputManagers folders (both in your own Library and in the top-level /Library), log out and log back in, and try again.
    So, disable all third party add-ons before updating Safari, as they may not have been updated yet for the new version. Add them back one by one. If something goes awry, remove it again and check on the software manufacturer's website for news of an update to match your version of Safari.
    Most errors reported here after an update are due to an unrepaired or undetected inherent fault in the system, and/or a third party add-on.
    Additional tips on software installation here:
    http://docs.info.apple.com/article.html?artnum=106692
    To reiterate, Input Managers reach right into an application and alter its code. This puts the behavior of the affected application outside the control and responsibility of its developers: a recipe for problems. That's not to say that issues absolutely will ensue as a result of Input Managers, but you, as a user, must decide. If the functionality of a specific Input Manager or set thereof is really important to you, you may well choose to assume the associated risk.
    Again, the advice is to remove all Input Managers from the following directories:
    • /Library/InputManagers
    • ~/Library/InputManagers
    especially prior to system updates (they can always be added back one-by-one later).

Maybe you are looking for

  • Upgrading to Firefox 17 on ubuntu linux 10.04 caused my xmodmap remapped keys to not work in Firefox

    After upgrading from Firefox 16 (16.0.2+build1-0ubuntu0.10.04.1) to Firefox 17 (17.0+build2-0ubuntu0.10.04.1) on 22-November-2012 I no longer can use an xmodmap remapped F key in Firefox. It still works in other gnome programs but pressing the new F

  • Can't create tree with tag mm:treenode of DWCS4 on Mac OS

    Hi all, I try to migrate my extension from Windows to Mac. I create a tree in the floater. In Windows, it display well. But in Mac, it display nothing. Please give me some help. Thanks Window Mac [Moved to Dreamweaver extensions forum by moderator]

  • [HELP] Conky: one or more $endif's are missing

    Hello Today, I tried to custom a conkyrc file found in the web. I've at least one syntax problem when I try to start conky: [evasivefr@desktop ~]$ conky Conky: one or more $endif's are missing Conky: desktop window (120002e) is subwindow of root wind

  • Generic decision Task and ABAP OO

    I have implemented a workflow using ABAP OO, which has a couple of user decision steps. Now I have made a copy of the generic decision task (8247) into my own custom task. I then copied over the code from the process method of the DECISION BO into my

  • Non iCloud emails on 3 devices question

    I'm using BTYahoo and have this setup in the laptop, iphone and ipad.  It's not using iCloud  - I'm having problems and I dont know if there is a solution - I read the email on the iPad, for example, but it doesnt update the server/laptop.  Sometimes