[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-users] imaging an existing system?
Thomas Halinka wrote: I'm not so sure - it works, and as the saying goes, if it ain't broke, don't fix it . But... :-)Hi Miles, Am Montag, den 16.02.2009, 16:47 -0500 schrieb Miles Fidelman:Hi,I have an old server, running Debian Sarge. I'm getting ready to migrate to a new machine - more horsepower, newer version of Debian, etc.Good plan ;-) Thanks for the suggestions! I think I still need to work through a few details (like getting the network addresses right, and such), but this looks like a good start. Miles First boot up your old-system into rescue-mode (use knoppix, grml, whatever) to get a consitent system.... Steps in dom0: ################# create an empty image file on dom0dd if=/dev/zero of=/path/to/images/sarge-disk bs=1M count=5000---> creates a 5GB-Disk Format itmkfs.ext3 /path/to/images/sarge-diskMount it mount -o loop /path/to/images/sarge-disk /mnt Copy your data into it rsync -avzH --numeric-ids -e ssh root@old-system:/* /mnt/ umount && create domu.cfg umount /mnt && cd /etc/xen && cp $extisting-domu.cfg sarge.cfg vim sarge.cfg -- In theory, there is no difference between theory and practice. In practice, there is. .... Yogi Berra _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |