Tuesday, March 11, 2008

Repartitioning to Upgrade

Recently I have had to do several Mac OS X system upgrades (to Leopard) where the hard drive had to be repartitioned first. The previous system administrator had partitioned the drives into three parts: one for system and apps, one for data, and one for archive. He must not have realized that the Users home folder would be on the System Partition, and would slowly grow, or he would have given this partition the largest share. The upshot was that these systems had only about 3Gb of available space on the system partition.

The big problem was that these drives had more data than would fit on my 100Gb portable drive -- the one I use for this kind of thing. The client had a server, though, so I decided to use this to backup the hard drives. My plan was to create a disk image of each of the three partitions, then restore the primary image back to a single partition on the drive, verify that it was bootable, then perform the upgrade on the newly expanded drive. As an aside, you might think that backing up over the network would be slower than using an external drive. Nope. This network was gigabit ethernet, and it was actually faster.

I ran into trouble right away. While the Leopard Installer DVD allows you to browse the network, it will not allow you to authenticate to a resource. So, I had to setup a public folder on the server that was accessible to guests. Then I used Disk Utility to make a Disk Image of each partition, and saved it into the public folder.

The next problem I ran into came when I went to restore the system disk image to the newly partitioned hard drive. Disk Utility gave me the error "Restore Failure: Could not find any scan information. The source image needs to be imagescanned/scanned for restore." My heart sunk because I though the disk image was somehow corrupt. The fix, however, was simple. I poked around the menus in Disk Utility, and under Images was "Scan Image for Restore..." Thinking that it couldn't be that easy, I gave it a shot, chose the disk image, and bingo, it appeared in the left column, ready to be restored.

After that, the install went flawlessly -- well, almost. See my next post.

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.