Showing posts with label hard drive recovery. Show all posts
Showing posts with label hard drive recovery. Show all posts

Friday, January 11, 2008

Grouchy Mac? Don't panic!

This is for the Mac that boots up successfully but acts weird after that.

Every Mac gets weird once in while. But when it happens don't freak out. Applications not opening, the spinning beach ball, sudden loss of your otherwise stable internet connections, or an application just bounces away on the dock and never opens up are usually things that can be fixed easily.

First thing to do... restart. Doing nothing more than restarting will solve 80% of the "all of a sudden my Mac is acting weird" problems. Unlike a PC, restarting your Mac can work magic. I never shut down my desktop computer, and rarely shut down my laptops, preferring to have them sleep so I can wake them up and go to work... this is good, but allowing the computer to restart and reload the OS can sometimes fix little bugs that seem to creep in if your Mac has not been restarted for awhile.

If your Mac doesn't seem to be responding to the command to shut down or restart (which is located under the Apple in the menu bar at the top left of your screen) then you can hold down the power button for 2-3 seconds and it will force your Mac to shut down (this works for all Macs, desktops, laptops, cubes and mini's... both Intel and PPC.) Wait 10 or 15 seconds and then hit the power button and your Mac will start back up.

If you restart and things are still not behaving the way they should, get to your "Applications" folder and then open up your "Utilities" folder. Find the application called "Disk Utility" and double click it. You should select your main hard drive on the column on the left and then select the "First Aid" tab on the right. Then click on "Repair Disk Permissions" towards the bottom of the window.

After the computer completes this (and it might take awhile so don't worry if it seems to be going very slowly) click the "Verify Disk Permissions" button and you should not see repeats of any of the errors that the computer found and hopefully fixed when you told it to "repair."

If there are still errors (usually in red) that Disk Utility couldn't fix, copy the name of the error and do a Google search on the name of the error and put "os x" after it and if it is common, you should be able to find the fix for whatever the problem is.

Something else to consider when problems start appearing... have you added any software, hardware, memory or anything else to the computer right before the problem started? If so, try uninstalling or unplugging that latest addition to see if the problem goes away.

If repairing permissions doesn't solve the problem consider Onyx made by Titanium Software, a tool no wise Mac user will be without. It is free but one of the best all around utility programs to fix your ailing Mac. If your problems aren't solved by the fixes above, you should definitely try Onyx. When you open Onyx it will want to verify S.M.A.R.T. status of your hard drive and verify the startup volume (which will quit all other applications running on your machine) You do not want to skip this steps. It can alert you to problems and let you know if your problem could be hard drive related instead of software related.

If Onyx tells you that there are issues with the disk and it needs to be repaired, you should restart your computer and boot from your install DVD for whichever OS you are using (10.4 or 10.5) and run the disk utility when booted from the DVD to repair the drive.

Disk Utility can't repair a drive when it is the drive you are running your Mac from, so you have to start from another drive (or DVD) to fix your main hard drive. Here are the instructions on how to do it.

Once your disk is repaired, you can restart like normal and there is a good chance your problem is fixed. Disk errors can cause all sorts of glitches.

If not, reopen Onyx and go to the "Automation" tab, click all the check boxes...yes, everything and then click "Execute."

Doing this is sort of the computer version of the broad spectrum antibiotic. It will clean and zap all sorts of stuff in your system (non-destructive to your data) that can become corrupt and hopefully you will have a happy Mac after that.

If you are still having problems with specific applications (not with the system as a whole) check to see if there are any updates for the program. Many apps now have the ability to check for updates automatically when you start them up, but either way, go to the software maker's site and look for any updates or look in their support area to see if there are fixes for your specific problem.

You can also do a Google search for the name of the application and a description of the problem and add "OS X" to the end for good measure. Something like "Photoshop CS3 crop tool broken OS X" (the problem I am having that I posted about previously.) The other good reason to do this is because it is rare that you are the only person experiencing whatever problem that is occurring. By doing a search, you will find out that you aren't alone and hopefully stumble upon a fix along the way.

If your problem is with a specific application, the next thing to try would be deleting and reinstalling that piece of software to see if that makes things better. The way I like to do this is with AppZapper. It cleanly gets rid of the application and the support files and preferences. It also makes a cool Captain Kirk "Zap" phaser noise as it sends your no-longer-needed app to the trash. As cool as AppZapper is, however, you still have to reinstall the software the old fashioned way... it's only good at getting rid of apps, not reinstalling them.

If problems continue and repairing permissions, cleaning things out using Onyx, searching for the problem you are having yielded no results, and reinstalling the offending software didn't help, I would try doing a clean install of your system and reinstall everything. (Or just restore your computer from your backups... you backup, right??)

While reinstalling everything can be time consuming, in the long run it will usually save you some time. I can have all my critical software reinstalled on a computer in about three hours when I reinstall from the disks... yet troubleshooting obscure problems can consume the best Mac sleuths for days. After doing the steps above, you are usually better off just starting over then remaining in a semi-crippled mode with your computer and hoping and firing blindly for a fix.

If you are absolutely opposed to doing a clean reinstall, the other thing to try would be taking your offending Mac to the Apple Store or give Apple support a call place to see what they can do. If you take it to the Apple Store and they decide there is a problem and that they want to take in your computer for repair, make sure you have all your data backed up... they are fond of wiping hard drives and doing clean OS installs... and for good reason.

The only other thing to consider... there are times where bad RAM or other hardware issues can cause what seem like random corruption, and if this is the case with your Mac, it's probably best left to Apple to help you ferret out where that problem lies.

Wednesday, January 2, 2008

Backing up Your Mac - Short Term Backups


Backing up your Mac is important. Hard drives fail, software can mess stuff up, or a rogue four-year-old can go from playing Reader Rabbit to putting desktop files in the trash and emptying it because the unnamed child liked the satisfying sound the computer made as they trashed each file.

No matter how it happens, data loss can range from being a simple annoyance to a very expensive business-altering-disaster depending upon how well your data is backed up.

And there are a lot of people that don't back up. Some are lucky and haven't had a problem...yet. But it is not a question of will you suffer a data loss at some point, it is just a question of when.

One thing that proves that point is the number of companies that exist to recover failed hard drives. Here is a Google search on "Hard Drive Recovery." The reason there are that many companies in business is because there are a lot of people who suddenly discover their data is hosed and don't have any backups so they have no choice but to shell out to try to save their data.

Most of these companies are reputable and do good work, but you can expect to pay thousands of dollars to recover your hard drive and depending upon why it failed you could get all of your data back as one giant folder with all the files contained on the drive. You then get to spend days figuring out what they are and where they go. Or you could end up with little or nothing off the bad drive like this poor guy's experience. Needless to say, it could be a really bad and expensive situation.

Now if you really like to live dangerously, you can try what this guy did and rebuild the drive hardware, but it's not something I would suggest.

So if you aren't actively backing up, the first thing that you need to figure what data should be backed up. Things that usually fall into this category should include your photos (duh), invoicing, documents, estimates, contacts, calendars, bookkeeping, software installers and serial number, music, movies, passwords, and anything else that you would be lost without. Many of these items reside in your User folder, but double check that things aren't parked in other parts of your hard drive(s) that should be backed up.

There are two types of backup you need to think about; short-term and long-term.

Your short-term backups are for day to day backup of files that you use all the time and things that are important. If they stop working or disappear, you can go back to the version from yesterday, or the days prior and get back to a working copy of the file. Programs like Backup (for 10.4 or 10.5 users) and Time Machine (for 10.5 users) are best for this type of backup.

If you are on a desktop Mac, you can designate on of your other internal drives* as a backup. I prefer using an external drive so that if that machine dies, you can unplug the external drive and plug it into another Mac, and immediately recover the data you need until your main Mac is fixed.

One thing you never want to do is use your main (boot) drive or any partitions on it for backups. If you do that and the drive fails, there go your files and your backups. The same goes for any other drive that has critical info on it. You want the backup on a separate drive from where your originals are stored.

With Apple's Backup, you have to do a little work to decide what you want backed up and how often you want it backed up, but once you've done that it pretty much will run automatically in the background at the scheduled times. I like to have Backup run early in the morning (like 2am) when I am most likely not sitting at my computer, but I also set my computer to never go to sleep. If you have your computer sleep when you aren't using it and this happens during a scheduled backup time, it will run the scheduled backup next time your Mac is awake.

When the drive is full it will stop backing up and let you know that you need to replace the drive or erase it and start over. External hard drives are inexpensive enough that I would strongly suggest buying another drive, unplug the old one, label the dates archived on it, plug in the new one and safely store the old one just in case you ever need any of the data on it.

With Time Machine, you just tell the computer which drives you want backed up and it will do hourly backups to make sure everything is where it is supposed to be. After a few days it condenses things to one backup per day, and if you go back a month or two, it condenses them weekly. The idea being that most likely if you lose something, you will know it pretty quickly and be able to recover the most recent version of the missing file(s) but if you are going back weeks, it is probably a file that is not being updated frequently anyways.

One thing that Time Machine will eventually do if you are not careful is start delete your oldest backups when the backup hard drive gets full. Before it gets full, I suggest replacing it with a new drive and store the old one after labeling it with the dates archived on it... just in case.

Another type of backup that can be a good idea is a network backup. The easiest way is through Backup and your .Mac account. Due to space and network limitations, I only back up things like invoices and other must-have files that I would be really sunk without, but if my office burned down, I would have the data available to start rebuilding things.

But please, please, please back up your Mac. Stop reading and do it now! Well, you can finish this post, first, I suppose. There is only one paragraph left.

A good external hard drive can be bought for around $100 and Backup is free if you have a .Mac account. Time Machine is free if you have 10.5 installed on your computer. There is really no good reason to not back up, but there are plenty of reasons for regret if you don't.