22 January 2006

Cloning a Speex/Flumotion box

Insert hard drive, pull jumper to make existing hard drive into slave, then boot and...

cd /migrate
dd if=/dev/hda of=/dev/hdb count=1
sfdisk /dev/hdb < diskdump.txt
dd if=/dev/hda2 of=/dev/hdb2
mkswap /dev/hdb5
mke2fs -j /dev/hdb3
mount /dev/hdb3 /mnt
( cd /home; tar c . ) | ( cd /mnt; tar xv )
shutdown -h now

...disk out, jumper back in, and next machine, please.

The conf organisers are gearing up for registrations at 15:00, I’m babysitting a disk copying process to free up our scarce Ryan Verner resources. It’s kinda hard to swap back out of “holiday mode” again, but probably valuable to blow the cobwebs out of my skull before I have to actually use its contents in anger.

No comments: