view in plain text or web browser  
Tech Tails | Apple news straight from the Tech Room | SmallDog.com | 800-511-MACS
 
#659: eWaste Roundup Recap, When Migration Assistant Fails, ASLServer vs. My Workstation

 
     
 

Happy Tuesday,

Mark Engelhardt called me last night asking me to check out the Waitsfield offices after the fire alarm was tripped. I arrived a few minutes later to flashing lights, ambulances, fire trucks, and at least a dozen volunteer firefighters. Astonished and amazed that the volunteers beat me to the scene, I unlocked the front door and we went room by room to make sure nothing was on fire. About an hour after the ordeal began, we confirmed that nothing was on fire or smoldering, and I made the rounds with Tony to lock up.

I was reminded of a short story I wrote in high school detailing my family’s experience with the Verbank, NY volunteer fire department one very cold morning. The woodstove vents had been left open too long, causing a chimney fire, and the interaction between my father and the firefighters inspired the story. I searched my Gmail account and found the file immediately. Mind you, it was written in ClarisWorks 3 on a Mac clone in 1997. I was able to open the document in TextEdit without a hitch.

In a world with ever changing formats and media, archiving data for posterity is a tough thing to do. I’m thankful Apple is still supporting these old formats, but am beginning to realize that it’s time to convert those old documents to a modern, non-proprietary format like RTF, and copy them to a modern non-mechanical medium like DVD. Or paper.

As always, keep in touch.

Matt
matt@smalldog.com

 
   
     
  eWaste Roundup Recap  
   
 

Another year, another electronic waste roundup. With the help of about one hundred volunteers and financial support from local businesses and our vendors, we collected over 150 tons of electronic waste last Saturday. The previous two events were massively successful, if somewhat hampered by their location outside our Burlington store.

Marketing manager Kali Hilke and executive assistant Kerry Westhelle did a truly fantastic job organizing this year’s event at the South Burlington high school, just down the road from our flagship store. From traffic control on Dorset Street to maticulous sorting and expedient palletizing, the event was a marvel of efficiency. Most of Small Dog’s employees turned out (the few who couldn’t make it were assigned to work in our stores that day!), and it was great to meet the other volunteers and friendly staff of WeRecycle!, the company that conducts the actual recycling.

If you subscribe to Kibbles and Bytes, our Friday newsletter, you’ve read Don’s commentary on how we measure our success as a company. It’s not just about profit for us; it’s about people and our planet. This multiple bottom lines strategy is unique in the modern business world, and we take it very seriously. Our ewaste initiative has been successful to the point that we’ve now recycled more pounds of electronics than we’ve sold!

While ewaste recycling is available all over, many of the firms responsible for the actual recycling ship the waste overseas where it’s dismantled and left in piles indefinitely. WeRecycle! signed the eStewards pledge, promising that no e-waste will end up in landfills or incinerators, be exported to developing countries, be sent to prison labor operations, and no private data will be released from recycled, but working, hard drives.

Behind the Scenes of Our Record 2009 Ewaste Collection Event

Time Lapse Video: 150 Tons of eWaste Collected in 5 Hours!

2009 eWaste Recycling Event on Flickr

When you buy a new, used, or refurbished Mac from Small Dog Electroncis, we will happily recycle your last computer setup. It’s just one more reason we’re always by your side.

 
   
     
  When Migration Assistant Fails  
   
 

There are few things better than the joy of getting a new machine and walking through Apple’s convenient Migration Assistant that comes up the first time you boot your new Mac. In most cases the Migration Assistant does a wonderful job of taking all the data and applications from your old Mac and moving them on to the new one so that your transition to the new machine is seamless.

As a tech, one of the occasional situations I encounter is a call letting me know that a customer attempted a migration and it failed citing I/O errors. What does that mean? “I/O” stands for “input/output” and the error quite literally means that it was not able to access that particular piece of data. The most common reason behind that is that the hard drive on the old machine has bad blocks; it’s a failing hard drive. Considering many people like to upgrade their machines when their old machine starts getting “slow,” and one common cause of slowness is a failing hard drive, this isn’t that uncommon of a situation. The question is, where does one go from here?

There are several other applications out there that can help you from here, but if you’re not afraid to get your hands dirty and you’re looking for something quick and efficient then I’d like to share my personal method with you. I’ll give the caveat that in an ideal world you’d be able to pull the hard drive from your computer, put it in an enclosure and keep a fan running on it to keep it cool during this transfer process. However, you’re also welcome to just leave the old machine in target disk mode and give this a go. Before proceeding please note that this is novice level and above. Those who are are less tech-savvy might not be up for the challenge.

To make this easy, first create a test account on your computer (just go through the Setup Assistant and name the account “Test”). Next you need to enable the root user. In Leopard, open Directory Utility (/Applications/Utilities/Directory Utility), go to the “Edit” menu and select “Enable Root User”. Simply give the root user a password. In Tiger, open the Netinfo Manager (/Applications/Utilities/Netinfo Manager), go to the “Security” menu and select “Enable Root User”.

Once the root user is enabled log out of the user account you’re in (Apple Menu-> Log Out). This will bring you to the login window. Select “Other” and type “root” for the username and enter the password you created. Once in the root account open up a Finder window and navigate to the Users folder on the root of the drive. Now, open up a second Finder window and navigate to the Users folder on that drive. Create a new folder in that Users folder that is the exact same name as the user folder on the old drive; this step is important!

Now, open Terminal (/Applications/Utilities/Terminal). Set up your screen so you can easily see the Terminal window and both Finder windows with the Users folders open. Type the following:

sudo ditto -V

Then drag the user folder from the old hard drive (the one with the shortname of the old user account) to the Terminal window. That should auto-populate its pathname. Now drag the user folder from the new hard drive (the one you just created with that same user shortname) to the Terminal window; its address should populate in the Terminal window. You should be left with a command that looks like this:

sudo ditto -V OldHD/Users/shortname /Users/shortname

Press “return,” enter your password when prompted, press “return” again and watch the magic. You’d suddenly see that all of the files from your older user account will begin transferring to the new folder that you created. Basically, the “ditto” command is what copies all of the files and the “-V” sets it to do that verbosely, which means it displays it’s work. This also means that it will specifically show you what files it receives I/O errors on. There are several other ways to use ditto but this is the way that I use it the most. It should also be mentioned that adding the “sudo” in front of the command is redundant in this situation. Sudo basically means “root”, and since you’re already the root user it’s unnecessary to add that in. I like to show it in the example so if you decide to try this from another user account you know to type in “sudo” first so that you don’t run into any permissions errors.

Go get a cup of coffee or take a nap and let ditto do it’s thing. If you haven’t seen it do anything in a while, but it hasn’t brought you a new prompt yet (which is the signal that it’s done) just let it go! If your hard drive really is failing then it might stall during the ditto but I promise that if you stay patient (sometimes for hours) it will continue. If it can’t get anything else it will bring you a new command prompt.

You’re not done yet! Once the folder has finished copying, you need to create the user account on your new machine. Open System Preferences and hit Accounts. Now hit the “+” sign on the bottom left of the Accounts pane. Enter the same exact shortname that is used for the folder in “Users”. Do not change that shortname. Ever. All of the permissions on the account are based on that shortname so even if you misspelled your name you’re stuck with it for now. When you press “ok” the system will automatically notice that there is already a folder in your user account and it will ask if you’d like to use that folder for this account, simply say “yes” and it will hook you up.

If you’re running Leopard, you’re done! Just log out of the root account and log into your migrated account. If you’re running Tiger, I’d recommend doing one last step. In Terminal, type in:

sudo chown -R shortname /Users/shortname

Replace “shortname” with the actual shortname of the account. Then hit “enter.” It will prompt you for the password of the account your logged in as (in this case “root”), enter that and hit “enter” again. This will give that user permission to access all of the files in its own account. Purists do tend to scoff at that last step since not every file in the account should have the same permissions, but most techs that I know agree it’s a better choice then ending up being locked out of your own files. It’s always recommended to run a permissions repair (/Applications/Utilities/Disk Utility) after this is all said and done.

Congratulations! You now know how to use the “ditto” command!

 
   
     
  ASLServer vs. My Workstation  
   
 

I wrote several weeks ago about an eMac with mysteriously disappearing disk space. The machine’s hard drive kept filling up to the point that the “Your startup disk is almost full” message would pop up persistently, even though no new files had been added to the drive in several days. The solution was to delete the logs and restart a process called ASLServer.

This week, after backing up a machine for repair to our backup workstation, the workstation slowed down dramatically–keystrokes took seconds to register, and the beach ball was omnipresent. Several restarts had no effect on the machine’s performance. Adding complexity to concern, the workstation I was using for the backup was my own workstation! I had to solve this problem immediately.

First stop was Activity Monitor (located in your Utilities folder) to see exactly which processes were causing the issue. The two stalled processes were aslmanager and HFSMount; I had an unrecognizable, mechanically-failed hard drive connected, and my iMac was not happy about that. Unplugging that external drive only marginally improved performance, as the HFSMount process went away. HFSMount is a process that mounts the disk on your desktop.

Looking at Activity Monitor, I noticed that aslmanager was still using over 90% of the CPU (keep in mind that each processor core accounts for 100% capacity; my dual-core iMac has 200% capacity). I hoped for the best and tried the simplest thing I could think of: I restarted the computer. No luck.

Time for Google. I entered aslmanager and hit I’m Feeling Lucky. I got lucky and landed here: http://www.macfixit.com/article.php?story=20090122213555897

I followed the steps outlined in the article, and the machine returned to normal. The problem hasn’t surfaced again.

 
   
     
  SPECIALS | 04/21/09 - 4/28/09  
   
   
   MacBook Pro 15in 2.53GHz 4GB RAM, 320GB HD, AppleCare, Free All-In-One Printer with rebate!
2,619.99
View  
   Final Cut Studio with Glyph Technologies 500GB Hard drive
1,298.99
View  
   iMac 20in 2.66GHz 4GB, 320GB HD, SD, 2600Pro, Apple Bluetooth Keyboard & Mouse, Free Shippi
1,299.99
View  
   Flip Ultra Digital Camcorder (black) + Underwater Case
149.99
View  
   Mac mini 2.0GHz 4GB, 120GB, 19in Monitor, AppleCare, Keyboard + Mouse, Free Printer with rebate!
1,059.99
View  
   iPod nano w/video 8GB Black (4G), RapCap iPod microphone (black)
149.99
View  
   Save $35! Voltaic Systems Solar Converter, Charges iPods and Cell Phones - Earth Day Special!
134.99
View