Monday, March 8, 2010

Migrating Ubuntu ... no sweat

Here's how I moved a Jaunty installation from one computer to another. The old one is Core 2 Quad Q6600 on LANParty DK X38-T2R. The new one has Core 2 Quad Q9550 running on Gigabyte GA-EP45-UD3P. Different memory and drive configuration. The only thing shared was a pair of HD4670. I just moved the drive containing the root partition to the new computer, booted Live CD, and did the following under grub:
root (hd2,1)
setup (hd2)

Done. Reboot, select the drive to boot from, and I was back in my old Jaunty desktop. Could it BE any easier? It actually could, if I hadn't install grub on another boot drive in the old computer. I wouldn't have even needed the grub reinstall. True plug-n-play.

Could anyone imagine the pain if I were to try moving a Win 7 installation?

By the way, the only thing that caused a bit trouble was the RAID volume (Intel Matrix Storage based) on the new computer. After the grub reinstall, one of the RAID drive got dropped so the volume became degraded. GRUB shouln't touch the drive or anything related to the volume, so what the heck? Luckily the Win7 installation on the volume did survive so I was able to rebuild it, but not without complications.
I'll have another post on my frustration on this Intel fake RAID junk.