[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-users] Convert HVM to PV


  • To: xen-users@xxxxxxxxxxxxxxxxxxx
  • From: Nicolas Vilz <niv@xxxxxxxxxx>
  • Date: Tue, 08 Jun 2010 13:36:07 +0200
  • Delivery-date: Tue, 08 Jun 2010 04:37:11 -0700
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.