[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Fwd: [Xen-users] existing linux install and xen
forwarding to the list again! ---------- Forwarded message ---------- From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx> Date: 2008/12/18 Subject: Re: [Xen-users] existing linux install and xen To: Brian Krusic <brian@xxxxxxxxxx> Hi! I use a Ubuntu Desktop LiveCD every time I need to do this task... 1) Boot the LiveCD on your server to convert it; 2) mount the root file system of your server on /mnt; 3) run "cat /mnt/etc/fstab" to see others partitions; 4) mount /usr, /var, /home, etc, of your server under /mnt; 5) Use nfs-kernel-server package to export ALL mounted filesystens to your Hypervisor; 6) On your Hypervisor, create your new virtual hard disc of your domU (I use LVM2); 7) mount your new empty partitions under, for example, new root on /target, /target/usr, /target/home (on dom0); 8) still on dom0, do "mkdir /source"; 9) mount your exported dirs by the LiveCD under /source, /source/usr, /source/bleh...; 10) now, copy all files from /source to /target with: "cd /source; cp -a * /target". Before boot your new virtualized server, you must copy the kernel modules, do: cp /lib/modules/`uname -r` /target/lib/modules Configure xen console... Configure your /etc/xen/domU.cfg, etc... and boot it! I hope help! Thiago 2008/12/18 Brian Krusic <brian@xxxxxxxxxx> Hi all, _______________________________________________ Xen-users mailing list Xen-users@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-users
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |