View Full Version : [ubuntu] Migrating from one machine to another - any convenient way?

August 7th, 2008, 08:04 AM

I'm running an Ubuntu Hardy server.
LAMP + samba + proftpd + mailserver + some other stuff

Is there any convenient way to migrate from one server to another more powerfull machine?

Can I simply put a HDD into another box?

I will appreciate any bit of information.

August 7th, 2008, 08:15 AM
Of course you can but make sure of the hardware compatibility of both(old and new) boxes are same...Because you may experience problems with installed software/drivers...And also hardware plaforms like i386 and amd must be same...

August 7th, 2008, 08:18 AM
You can use the dd command to transfer the image. here is a link on how to do the command:

August 7th, 2008, 08:33 AM
Thanks a lot. This is VERy helpful and exactly what I need.

But what I'm worried about is shouldn't I recompile kernel or do something additional hardware configuration for image to work on a new machine?

Do you think this will work "out of the box"?

August 7th, 2008, 08:43 AM
The only thing you will need to change are your block id's on the new system. I would remove the block id's used in your fstab file and use the standard /dev/sd? configuration until you can boot off of the new system and then update them. You can find the block id using "blkid" on the new system.