Friday, August 29, 2008

Terminal.app disappears - Charlessoft to the rescue

I just noticed that the Terminal.app disappeared from my OS x Leopard installation! Oh No! And this just as I was switching backup solution! (Damn). I googled, and found reports that claim that doing "something funny" like accidentally dragging Terminal out of the dock can cause it not only to be removed from the dock, but from Utilities as well ! HORROR !!

Well, I don't want to restore my entire machine - some 100 GB of stuff, and wondered if there was a way to select just Terminal.app from the installation CDs. And it turns out there is a free/shareware called Pacifist from Charlessoft that can pick individual files from .pkg files. Decided to give it a try.

I downloaded and installed the Pacifist package without problems, and started it up. It asks for a 20$ donation/fee to get rid of the nag that otherwise appears each time it is started, which I will donate if it helps me fix my problems ;)

There is an option in Pacifist to open Apple install disks which I used. After inserting install disk 1 and 2 a couple of times, a browser appeared with all of the packages. Used search to locate Terminal, a right click over the package said "Install to Default Location..." which I did, and it restored Terminal.app. The app data was apparently intact, because all my previously used locations where remembered.

Thanks Charlessoft, a check for 20$ is in the mail :)

Blush - I found the missing Terminal - it was a tiny icon on the desktop hidden behind the dock! f this is not what Pacifist did when it installed the new copy then I must have managed to drag it out of the dock and dropped it there, causing it to disappear. Searching for it did not help though...

Wednesday, August 27, 2008

NTFS on Mac OSx using Mac Fuse and NTFS 3G

When I switched over to using a Mac it was because my PC had crashed. Two of the disks survived though, and now I wanted to mount them on my mac to salvage some documents, and use of of the disks as a backup disk for my mac book pro.

I got an IceBox to mount the drive, and hooked it up using USB. This worked like a charm, and I could access my documents. But hey - the NTFS driver on Leopard does not support write! My idea was to first clean out all the garbage from the disk and then copy it to my Mac (the disk is larger than the internal one). Crap!

Googled and found the cure - use Mac Fuse, an umbrella for plugging in support for various file system types, and NTFS-3g, a driver for Mac Fuse that support both reading and writing.

I found this blog-post how to do this.

First download and install Mac Fuse, then download a NTFS-3G as instructed in this blog-post.

Again everything worked fine - Except - it failed to mount one of the partitions on my disk because apparently I did not shut down the NTFS properly before installing NTFS-3G (merde).

This was a bit tricky to fix. An error message appears with instructions, but they are not accurate. Basically what is needed is a mount with "-o force" to make it clear the "unclean shutdown".

Googled, and found the answer in this forum. To get rid of the problem you need to do two things:

Create the directory where the drive is to be mounted by opening a Terminal window and typing:

mkdir -p /Volumes/C-DRIVE

Where C-DIRVE is the name of the volume, and then forcing it to be mounted by typing (all on one line):
sudo /usr/local/bin/ntfs-3g /dev/disk1s1 /Volumes/C-DRIVE
-olocale=en_US.UTF-8,force,auto_xattr,defer_auth,defer_permissions,volname="C-DRIVE"

Where C-DRIVE is the name of the volume. and "/dev/disk1s1" is the device name as shown in the error message displayed by NTFS-3G.

In my case this produced an error, as apparently /Volumes/C-DRIVE was already inside an ntfs-3g mounted partition (there are two partitions on my drive), but it did at least tell me that it cleared the Log File.

After this, it worked find to just eject the drives, and plug in the USB cable - no need to run the commands again. But I guess they will come in handy when there is an unclean shutdown sometime in the future....

Saturday, August 23, 2008

Got my iPhone 3G - Love it, but why the US number format?

Absolutely love the iPhone 3G - the design and user interface is amazing. Syncing it with contacts from p900 worked like a charm, downloaded my entire music library, it synced email, and did everything on its own! The entire process went very smooth.

But what did they do with phone number formatting?!! It has US style formatting even though the international setting is Swedish. It is almost impossible to decipher the numbers - did I enter the correct number or not?

08 123 45 67 becomes 081 345 567 (sigh).

Telia's iPhone 3G pages says nothing about support - but refers to apple's pages. Apple on the other hand, refers to Telia for repair. I guess the packaging for Sweden is done by Apple - so this must be their problem. I reported this as "a bug" on apple's feedback pages.... wonder what will happen next...

Love everything about the device except:

  • US phone number formatting of Swedish numbers
  • Why does it take so damned long to sync when I just synced 5 minutes ago and nothing has changed in contacts (syncing contacts takes for ever - or at least that is what iTunes says...)?
  • Would like to see the photos of my contacts in the Favourites list
  • Battery life is a bit short...

Thursday, August 21, 2008

Migrating from Sony Ericsson P900 to iPhone 3G

My iPhone 16G Black finally arrived after first having received two 8 GB iPhones (could it be because some idiot thought that two 8GB iPhones = one 16GB?).

Anyway, before jumping into all the fun with the iPhone, I needed to sync my old faithful Sony Ericsson P900. I did not really want to install the Sony Ericsson software for this, and I was very pleased when I found that Mac OS x Leopard ISync supports the device!

First hurdle - when scanning for devices in iSync having marked that I wanted to scan for "phones" produced no result, but scanning for "Any" worked, and the mac and p900 started talking ok.

iSync installs an iSync agent on the phone, and first attempt failed, because instructions where not 100% clear. You are supposed to "open" the message to install it - not just accept it with "ok". After a second install it worked ok.

Starting iSync - it quickly gets to 33% done receiving changes from P900, but then it is stuck there for a long time (several minutes), and I thought something was wrong, googled for possible solutions, and while reading some articles, iSync popped up a report with what it wanted to sync!

Worked just fine, and it even got the images for the contacts. Neat.

Heading out to pick up my iPhone... I hope I am going to be happy with it - I really liked the way the P900 was manageable with just one hand using the the wheel on the side.