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

Re: [Xen-users] Convert HVM to PV

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Convert HVM to PV
From: Nicolas Vilz <niv@xxxxxxxxxx>
Date: Tue, 08 Jun 2010 13:36:07 +0200
Delivery-date: Tue, 08 Jun 2010 04:37:11 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <46C13AA90DB8844DAB79680243857F0F062030@xxxxxxxxxxxxxxxxxxx>
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: <46C13AA90DB8844DAB79680243857F0F062030@xxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
On 06/08/10 11:48, Jonathan Tripathy wrote:
Hi Everyone,
To convert an HVM install to PV, is it just as simple as creating a new config file, and use the "kernel" and "initrd" parameters to boot from a XEN kernel stored in the Dom0, and use the (ex) HVM's disk image in the "disk" parameter?
You will have to handle your disk-layout. Normally you would give pv domU your partition instead of your disk. hda or sda becomes xvda in the pv world, so you will add directly the data-partition (xvda1 e.g.). And you will have to get a paravirtualized kernel and initrd for your domU to boot. oh, and your getty has to listen to xvc0 (on xenified kernels) or hvc0 (on pvops-kernels) and not on tty1-6 anymore in order to have a console login prompt after booting.

you could also try to migrate your grub to pvgrub. then you don't have mess around and convert your hvm-disk (with partitiontable and everything). But I don't know how stable pvgrub is. in ##xen, i observed many problems with pvgrub and hvm-pv migration.

Good luck.
Sincerly
Nicolas


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

<Prev in Thread] Current Thread [Next in Thread>