Previous 1 2 Next 19 Replies Latest reply: Nov 10, 2009 9:20 AM by BDAqua
Stewart 999 Level 1 Level 1 (0 points)
Hello, please help me!
I'll try to be concise.
After plugging in a USB microphone [that i normally use woithout problem] my mac froze up. I waited 5 minutes then held the power button [mac mini] in to force a restart. Afterwards when i try to log in I get the following message;—
you are unable to log in to the user account "username" at this time
after a few tries i sed the master password to change the account password—which worked. I know this because the new password gives the response;--
you are unable to log in to the user account "username" at this time
...whereas the old password or wrong password gets the shaky window. So the password is being changed.
I have a 2nd admin account that i never use. I logged into it and repaired the permissions, but it didn't help.
All my stuff is in the 1st user account!
***I have searched the web and read about how it might be that a type of cookie exists when I am logged in. And that OS X thinks I am still logged in ....thus the error message. There was talk of using terminal and command line stuff —which I've never tried before—to delete/change this cookie, and therefore solve the problem.
By the way, both my accounts are admin acounts and both use filevault.
The photos from my young daughter's birthday are on there, besides a million other things.
If someone knows this situation already and can help me, I will be over the moon and back up daily from now on...I promise!!

Stewart

Mac Mini 1.66GHz Intel Core Duo, Mac OS X (10.4.11)
  • BDAqua Level 10 Level 10 (119,775 points)
    Hi Stewart, and a warm welcome to the forums!

    Do you have a link to this Cookie thing?

    I logged into it and repaired the permissions, but it didn't help.


    With that kind of trouble you don't want to write to the Disk like repairing Permissions until you fix any possible corruption...

    "Try Disk Utility

    1. Insert the Mac OS X Tiger Install disc that came with your computer, then restart the computer while holding the C key.
    2. When your computer finishes starting up from the disc, choose Disk Utility from the Installer menu. (In Mac OS X 10.4 or later, you must select your language first.)
    *Important: Do not click Continue in the first screen of the Installer. If you do, you must restart from the disc again to access Disk Utility.*
    3. Click the First Aid tab.
    4. Select your Mac OS X volume.
    5. Click Repair. Disk Utility checks and repairs the disk."

    http://docs.info.apple.com/article.html?artnum=106214

    Then try a Safe Boot, (holding Shift key down at bootup), run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, reboot when it completes.

    (Safe boot may stay on the gray radian for a long time, let it go, it's trying to repair the Hard Drive.)

    Anyway, I think this is the best way to handle it...

    Mac OS X 10.3, 10.4: FileVault - How to verify or repair a home directory image ...

    http://support.apple.com/kb/HT2631?viewlocale=en_US
  • Stewart 999 Level 1 Level 1 (0 points)
    Hi BDAqua, thanks so much for your quick response! Here is the link you asked for to the "cookie thing" ...:-
    http://forums.macrumors.com/archive/index.php/t-265007.html

    i didn't mention that whilst in my 2nd admin account, the folder for the first problem account shows as a folder with the red no-entry sign. So i can't see a sparse-image file for it.

    I think it's best to let you look at the link i just gave you and see what you think before i try anything daring.
    Once again, many thanks.

    Stewart.
  • BDAqua Level 10 Level 10 (119,775 points)
    Thanks for the link, appears somebody was confused by it though & did a no-no...

    Hello, I have delete the sparseimage file in /Users/.<username>. and reboot, it still said 'You are unable to log in to the user account "username" at this time'.


    Now from my 2nd link, but once you get it open you can copy stuff to this account...

    1. Log out of your current (FileVault-protected) account.
    2. Log in with an account other than the one whose home directory image you want to verify or repair. You can create a new administrator account in Accounts preferences if there isn't already another one you can use.
    3. From the Finder's Go menu, choose Go To Folder.
    4. Type "/Users/" and click Go.

    5. You'll see folder icons for each user account. Select the one that is FileVault-protected (you won't be able to open the folder yet), then choose Get Info from the Finder's File menu.
    6. Expand the "Ownership & Permissions" area at the bottom of the Get Info window by clicking the disclosure triangle. You should see "Owner:" set to the shortname of the protected account.
    7. Click the small lock icon that's right of the "Owner" field.
    8. Enter your administrator name and password.
    9. Change the Owner pop-up menu to your current account's short name. The Access menu (under Owner) should change to "Read & Write"; if not, change that menu manually.
    10. Close the Get Info menu.
    11. Back in the Users window, you should be able to open the folder named after the FileVault-protected account and see the ".sparseimage" file inside.
    12. Select the ".sparseimage" file (you won't be able to open it), then choose Get Info from the Finder's File menu.
    13. Expand the "Ownership & Permissions" area at the bottom of the Get Info window by clicking the disclosure triangle. You should see "Owner:" set to the shortname of the protected account.
    14. Click the small lock icon that's right of the "Owner" field.
    15. Enter your administrator name and password.
    16. Change the Owner pop-up menu to your current account's short name. The Access menu (under Owner) should change to "Read & Write"; if not, change that menu manually.
    17. Close the Get Info menu.
    18. Double-click the ".sparseimage" image file. Enter the account's password when prompted. Note: If you do not know the password and mount the image, you may not be able to verify and repair in Disk Utility.
    19. In Disk Utility, the ".sparseimage" disk image file should appear on the left side.
    20. Select the disk image in Disk Utility.
    21. Click the First Aid tab.
    22. Click the Verify or Repair disk button, as desired. Note: If the image has issues than cannot be repaired, you may need to transfer files to a different location as discussed in this article.
    23. When finished, quit Disk Utility.
    24. Unmount (eject) the mounted disk image volume.
    25. Get Info on the .sparseimage disk image file again, and change the owner back to the original account name. Note: If this is not done, your Home may not be available when logging in as the protected account.
    26. Get Info in the enclosing folder in /Users again, and change the owner back to the original account name. Verify that this is successful by closing and trying to open the account name folder (you shouldn't be able to).
    27. Log out and log back in as the original, FileVault-protected account.
  • rccharles Level 5 Level 5 (6,140 points)
    Verify that you have enough space on your harddrive. I think you need to have enough space to contain a second copy your filevault. I think this is the problem.

    I suggest you create an admin id that doesn't use filevault.

    I do not think that you can change the logon password of a filevault id without turning off filevault on the id.

    Instead of using filevault, I suggest you create a virtual disk with encryption enabled.

    Robert
  • Stewart 999 Level 1 Level 1 (0 points)
    BDAqua,

    Thanks for your continuing help, but I'm still stuck. The solution where I go into the "Get Info" panel seems easy enough, but even when I change the permissions I can't access the user folder with the no-entry sign on it.
    There is also settings for group permissions do they play a role?
    I also saw sometimes a big button at the bottom asking whether to apply those settings to all the enclosed files. I didn't want to press it, just in case.

    I also did the safe boot. That didn't help.

    Lastly I tried to boot from my original installation disc, but there's a problem with my optical drive. It whines for a minute then spits out the disc. I've noticed it happening before now with other DVDs so I'm sure that's a separate problem. But it does stop me from booting from the installation disc.

    Very nerve wracking!

    Stewart
  • BDAqua Level 10 Level 10 (119,775 points)
    There is also settings for group permissions do they play a role?


    Sometimes, but Admin should work for Group.

    If nothing else works, you might try BatchMod, it's much better/easier than the Finder for Permission changes...

    http://www.macupdate.com/info.php/id/6440

    One running just drag & Drop that folder on it's window.

    I also saw sometimes a big button at the bottom asking whether to apply those settings to all the enclosed files. I didn't want to press it, just in case


    Yeah, I wouldn't try that one just yet.
  • Stewart 999 Level 1 Level 1 (0 points)
    Hi BDAqua — We are making progress!

    Batchmod worked. There was a little delay, but then I could get in the user folder; then I did the same with the sparseimage.

    But.... when I try to open the sparseimage i get the warning message _"The disk image you are opening may be damaged and could damage your system. Are you sure you want to open this disk image?"_

    Of course I choose not to open it.

    Then I tried to repair it in Disk Utility and in the Disk Utility window I get the following messages after a few seconds ...

    Verify and Repair disk “<username>”
    Checking HFS Plus volume.
    Invalid key length
    Invalid record count
    Catalog file entry not found for extent
    Volume check failed.

    Error: The underlying task reported failure on exit


    1 HFS volume checked
    1 volume could not be repaired because of an error



    So it feels like there may be a chance! Is there another way to repair it?
    Should I just open it even though there is a warning?
    I would be happy enough at this point if I could somehow get my files out of there and set up a new account. Maybe all is not lost!
    The saga continues!

    Thanks again,

    Stewart
  • BDAqua Level 10 Level 10 (119,775 points)
    Whew, if Disk Utility or fsck should fail to repair it, your best bet is DiskWarrior from Alsoft, you'll need the CD to boot from if you don't have another boot drive...

    http://www.alsoft.com/DiskWarrior/

    Your best bet is DiskWarrior, you need the CD though.

    http://www.alsoft.com/DiskWarrior/

    But others that may work…

    Drive Genius 2…

    http://www.prosofteng.com/products/drive_genius.php

    TechTool Pro 4…

    http://www.micromat.com/index.php?option=com_content&task=view&id=31&Itemid=83

    Data Rescue II...

    http://www.prosofteng.com/products/data_rescue.php
  • Stewart 999 Level 1 Level 1 (0 points)
    Disk Warrior isn't so cheap so I'm going to have to save up to buy it if it's my only solution. My optical drive isn't working anyway as i said earlier, but I do have an external USB2 HD. How about if i get Diskwarrior then copy it via someone elses laptop to my external HD [not bootable]; then from the external HD to my user account that works on my mac. Could I in theory just run Diskwarrior as an app in my apps folder to fix the User sparse image? I mean, it isn't repairing the system the mac boots from...just a sparse image...right?

    I never got into the FSCK thing. Is it worth a go? Or do the Disk utility error messages imply i definately need Diskwarrior kind of repair power?

    I'm learning a lot here, just a shame it's under these circumstances!

    Stewart
  • BDAqua Level 10 Level 10 (119,775 points)
    Could I in theory just run Diskwarrior as an app in my apps folder to fix the User sparse image? I mean, it isn't repairing the system the mac boots from...just a sparse image...right?


    Correct on both Account, it should work on a DMG once it's mounted, but not as a file while unmounted.

    my external HD not bootable...


    Why not, you're really missing the Boat by not having a complete & bootable Cloned Image on that Disk, I mean USB2 is a lot slower than Firewire/400, but your Intel Mini could Boot & Run from it in pinches.
  • Stewart 999 Level 1 Level 1 (0 points)
    Hi BDAqua,

    Almost done it! ...90% of the way there now!
    The story so far — As my optical drive is busted, I had to copy the contents of the Diskwarrior disk to my usb stick onto my mac. DiskWarrior managed to rebuild my broken filevault account in about a minute!!!!! Amazing program. I then used it to check my external USB2 drive and repair the very minor damage it found, and also to repair permissions.
    So you could say my work is done...but .... The one thing that hasn't been scanned and repaired is my actual boot disk. This could be where the problem originated and even if not, it's probably got something waiting to get repaired on it and could cause problems in the future. Also this links to what you said about me not having my external drive as bootable. Not sure why i never tried that. Maybe in the beginning I thought i couldn't because it's USB2. But I've since learned it's possible with the intel macs.

    So the question is...how do I make it bootable when my optical drive is broken? The external drive already has 3 partitions. Each of which has journaling ON. It also uses the GUID format — which i read is necessary.

    There is enough space on one of the volumes...but it's not empty. Can I just put all the files from the DiskWarrior disk on there too? Or does it need to be installed in some way?

    I'm really happy I got this thing sorted — thanks to you! I really appreciate your time and help. Now I'm just trying to take your advice and get my external drive bootable so I can repair things on my own next time!

    Stewart
  • BDAqua Level 10 Level 10 (119,775 points)
    DiskWarrior managed to rebuild my broken filevault account in about a minute!!!!!




    So the question is...how do I make it bootable when my optical drive is broken? The external drive already has 3 partitions. Each of which has journaling ON. It also uses the GUID format — which i read is necessary.


    What size are these Partitions & what size is the internal Drive? And How much does it use?

    Actually, GUID is only needed to Install OSX, you can clone your internal drive to an APM Disk & have it bootable, but we'll wait on the details of how to do it until we get that info on Partition sizes.
  • Stewart 999 Level 1 Level 1 (0 points)
    My internal HD is 74 GB. The info panel says it has used 61 GB and has 12 GB free.
    ---i'm supposing this is a total of my 2 user accounts. Note:- the 2nd user account, which i've been using to do the repairs, is almost empty. Just incase that info helps. Because after looking around on these forums, I also downloaded the Carbon Copy Cloner which looked as if it might come in very handy. Perhaps to help make the bootable drive?? A clone of the smaller user account perhaps? (wild guess! )

    My external USB2 drive has 465 GB in total. (i'm just rounding off the decimal places)
    There are 3 partitions, each of 154 GB.
    2 are full and one partition has some stuff on it but still has 27 GB free.



    Greetings,

    Stewart
  • BDAqua Level 10 Level 10 (119,775 points)
    Not much we can do with only 27 GB free.

    A clone of the smaller user account perhaps?


    Wouldn't help without an OS Install on that Partition, which we can't do unless it's GUID, and we can't clone because of lack of space.
Previous 1 2 Next