Computer upgrades

I finally upgraded the hard drives on my MacBook, Mac Mini (Server), and my main desktop Mac Mini.

Macbook (Leopard)
For some strange reason, I wasn’t able to clone my existing Leopard system to the new 500 GB as the clone process failed about 10% – 15% completion. So I just backed up all my files and installed Snow Leopard from scratch.

Mac Mini (Leopard)
Unlike with my MacBook, cloning the existing Leopard system to the new hard drive worked flawlessly on my desktop Mac Mini.
After that, upgrading to Snow Leopard worked like a charm.

Mac Mini (CentOS)
Upgrading the RAM on the Mini to 2 GB was simple, the hard drive upgrade was a completely different story. First, I wasn’t able to find any open source program that would allow me to clone to an attach mass storage USB drive. Unless I didn’t read the documentation properly, both CloneZilla and FOG only allow the clone output image to be saved on a network system and not locally, even if its a different hard drive.

Little that I knew. dd was everything I needed to clone the hard drive.
commands I used:

dd if=/dev/sda of=/dev/sdb

After the dd copy was finished, I rebotted to the new hard drive only to find out that /dev/sda5 , /dev/sda6 and /dev/sda7 were not copied properly to the new hard drive. So I had to reboot into rescue mode using the original CentOS install DVD and ran the following commands:
dd if=/dev/sda5 of=/dev/sdb5
dd if=/dev/sda6 of=/dev/sdb6
dd if=/dev/sda7 of=/dev/sdb7

On my second reboot to the new 500 GB hard drive, Linux was able to boot perfectly fine with all my original settings!!! Until… I opened up fdisk only to find out that I wasn’t able to add partition (I had over 400 GB of free space in the drive) because I wasnt able to modify my existing partition table that consisted of 3 primary partions and 1 extended partition that consisted of three logic partitions within it. So I just download the live GParted program and I was able to created the additional 400 GB logical drive from there.

On the third attempt to boot into the new 500 GB hard drive, Linux had to do filesystem check to /dev/sda7 which happened to be my /home partition. The fsck completely wiped out all of the contents that was in my home directory. Which wasn’t a big of a deal since I already had a full backup of all my files.

Conclusion
Overall upgrading the hard drive on a Mac Mini running CentOS was really painful, but I had the feeling that it could have been worse.

CentOS
GParted Live CD

-Alpha01

Leave a Reply

Your email address will not be published. Required fields are marked *