WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-users

Fwd: [Xen-users] existing linux install and xen

To: XEN Mailing List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: Fwd: [Xen-users] existing linux install and xen
From: Thiago Camargo Martins Cordeiro <thiagocmartinsc@xxxxxxxxx>
Date: Fri, 19 Dec 2008 17:45:47 -0200
Delivery-date: Fri, 19 Dec 2008 11:46:43 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :x-goomoji-body:date:message-id:subject:from:to:content-type; bh=L6pP636m97q0mTrsNkymvRv9ouYuqZ1pL/WEiB8Skyg=; b=x0/+9lXAcyIgCG9n8ku7tYzTPVIXBigrLpyihn/DWRrmGiU5uYwAZqyt/thD3iPuKG U2JtjDIcAG2T0dD5Uh7zYInBt0dIVRLjJ+7yXRsmNGLV686IF30bqI+aL00+t/TLfJHq H+3Pkk3Fpr2RyEdtlIUjmdIIyDiYEdZNWCjMY=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:x-goomoji-body:date:message-id :subject:from:to:content-type; b=wk+jH18nTsrkY5fXI3MsIkd2E1upGaABmMl/nu2z8YztRtb8ImtIc++3De8ozaH2LY NlGvZissHWd0BiS0MhzFM3QIwLCR+2W5IqCKZHbV3R0KCsq3kTiN+dSpXFRW2Opw+4KL OSYqPa3zAID2BBiVVcJehryewh9eVfaufkaf8=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <6b7f6eb0812181708j57f6f6d9sf51026e5c91142d9@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <377A312C-D98C-435F-82BF-137356B075B1@xxxxxxxxxx> <6b7f6eb0812181708j57f6f6d9sf51026e5c91142d9@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
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,

What's the best way to take an already running linux install and either paravirtualize or fully virtualize it?

I've got a linux box that has too many custom installs, etc... that would take forever to redo.

My goal would be to move it to the hypervisor machine thats running a few guests.

- Brian




_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>