"Your FileVault-protected home folder did not open and needs to be repaired. Click OK to repair the folder and continue logging in. Click Cancel Login to log in as a different user"oh fuck. I'd like this part of the story to be the part where I say, it's all ok because I had backups, but it's not. I had my daughter in my arms and was flying one handed, she'd just dozed off for a short nap and I didn't want to wake her up so I didn't reach down, unplug the external drive from my desktop machine, I didn't plug it into my laptop and I didn't back up my files. oh fuck. I clicked OK, waited a few seconds and hoped for the best...
"Logging into the account failed because an error occurred"oh fuck. Now it sinks in, what was meant to be a nice little morning project, upgrade my OS has turned into a total nightmare. Here are the steps to sort it out, they worked for me and hopefully will help someone else.
Reset the root password, so you can loginRestart you machine with the install disk in the drive and hold the c key to boot from the disk. Select your instalation language, accept the agreements and click continue. When it's loaded choose reset password from the utilities list. Choose your system drive and select System Administrator (root) from the list of users. Set a password and click save.
Login as rootClose all the windows and quit the Mac OS X Installer, when your prompted to select a startup disk choose your hard disk. Now you login screen should have an option to log in as another user, pick this and use the username root and the password you set above. You should now get a new desktop from here you'll be able to recover your files.
Get your filesOpen finder and browse to the Users folder. Find your user and in there you should find a file called username.sparseimage. I tried to back the whole file up to my external drive, but couldn't get it to copy in either Finder or terminal. So just double click it to mount it as a disk. You'll be asked to type a password, it's your user password for the account. Type it and click ok. Finder will start to mount the disk then stop with the following message: [[posterous-content:rmwCBzHoHbAzHynFntja]] You've got nothing to lose here, it's mount it or lose everything so just go ahead and click Open. [[posterous-content:bseEujfzkIrcoDisDuIk]] So it can't read it properly, just click ok. You should now have a drive mounted and it has all your files in there. Time to back them all up, except they probably won't all back up. I tried that and got some permission issues, rather then worry too much about them I ignored them and just made sure I got all my documents, pictures, music, movies and the application settings I wanted, I ignored everything else. I have a lot of files and this took a very long time, the lesson I've learned - back up more often. Ironically that's part of the reason I wanted to upgrade, so timemachine would do this for me... but I digress.
RecoverAt this point you have a choice. You can create a new users, move files into it and move on with your upgraded system. Since I was tempted to wipe the system and start again when I considered installing the OS I chose to go that route. I rebooted, used disk utility to clean the drive and started again from fresh. Either way from you backups and your new user you should be able to either do a recovery and get more or less back to where you wanted to be.
RantFilevault is promoted as a great security feature of the OS. I like it, I deal with the fact that my machine is somewhat slower for using it, but I feel the benefits if for any reason my laptop is lost or stolen far outweigh the inconviniences. I haven't really had any problems with my mac before now and I don't see any reason that my system should be anything but standard. Since I'm not the only one that has been experiencing these issues, one can only assume it's fairly widespread. If only I'd know, I could have saved myself hours by simply turning file vault off. I mean I took the trouble to reboot once and clean up my home directory so the OS could fully recover it's space. To anyone reading this contemplating an upgrade, TURN FILEVAULT OFF FIRST!
The good newsThe only good to come from the whole experience is that I ended up with the clean install I kinda wanted anyway. Though not really through choice. Also next time I'll be running a simple google search for "snow lepoard upgrade problems" first and hopefully timemachine means I'll have consistent backups, before I start.
Subscribe via RSS