Currently Being ModeratedJun 16, 2012 7:26 AM (in response to lychee-)
First of all, it's doubtful your Mac needs needs defragging. Unless you're using your system drive to do a lot of heavy duty video or music editing.
You may be able to unlock a folder a folder by launching Terminal and entering
then leave a space and drag the folder into the Terminal window to create the path.
Before messing with that I would boot up holding command-r keys into Lion Recovery Volume.
The screen should give you these choices...
Restore from TM backup
Reinstall Mac OS X
Get help online
Choose Reinstall OS X. This will be an install in place and won't affect any of your own data.
Hopefully this will clear up your largest issues, like the login.
Currently Being ModeratedJun 18, 2012 7:29 AM (in response to lychee-)
Back up all data if you haven’t already done so. There are ways to back up, even if you can’t log in. Before proceeding, you must be sure you can restore everything to the state it’s in now. If you’re not sure you can do that, STOP.
Briefly, you need to delete the following file:
If you already know how to do that, you can skip the rest of this message. Do it, and try again to log in.
Boot in single-user mode by holding down the key combination command-S at the startup chime. If you’re using an external USB keyboard, it must be plugged directly into a built-in port on the Mac, not into a hub. Release the keys when you see a black screen with scrolling white text. In this mode, there’s no graphical interface; just a command line. Initially, you can’t make any changes to files.
When the text stops scrolling, and you see a line ending in a pound sign (“#”), type the following command:
You must type the command exactly as given. If you don’t feel able to do that, STOP. At this stage, no harm will be done if you make a mistake, but later, it will be.
Press the return key. You’ll get an error message about a “read-only filesystem” below what you entered. There must be no other error message. If there is, try again until you get it right. You’ll continue to get the read-only error.
You might get the error “No such file or directory,” even if you entered the command correctly. If you’re sure that’s the case, stop and post again.
Once you’ve taken steps 2, and received the expected error messages, enter the following command:
mount -uw /
Again, you must get it exactly right. This time, there should be no output at all. If there is, you mistyped the command, or something else is wrong.
When you’ve taken step 3 with no error message, press the up-arrow key until the command from step 2 (rm …) reappears. If you got everything right on the first try, you’ll need to press the key twice. Make sure the command is correct, then press return again. There should be no output. If there is any, make a note of it and post a reply.
Enter the command:
Press return. The text will start scrolling again, and then the system will reboot. Try again to log in.
Credit for this solution is due to ASC user AnthonyTW.
Currently Being ModeratedJun 18, 2012 11:23 AM (in response to lychee-)
alright thank you for all replies, i managed to solve it via reinstalling osx. but my other problem still remains, i can't create a bootcamp partition because some files can not be moved, i tried defragging again but it gave me an error (something about a file or a bad block / file is inside apple loops for soundtrack pro) after 2 hours of defragging. but im done with this thread, thank you all for your replies