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

Re: [Xen-users] How to turn a machine running Centos from HV to PV?


  • To: Rainer Sokoll <rainer@xxxxxxxxxx>
  • From: Martinx - ジェームズ <thiagocmartinsc@xxxxxxxxx>
  • Date: Thu, 29 Apr 2010 18:41:06 -0300
  • Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Thu, 29 Apr 2010 14:42:44 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=MnCpAivQNIn3GuYKbgEFQjmrC9Zgw9EaiLhFEb3X9B36lcHapjT+fULhdtDnyTF9gE Gf4yGc5kVw0jyBdIez+USFZRNFzOH68EdbhYFjcmcKMRrw0uv9PVXZ9wyMcfQQhgjIUU 6LX3fwYimJ033Hy8UGWhWBsF8egb0JKKyHhhE=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

The Xen Live CD teachs how to do that easily!

http://wiki.xensource.com/xenwiki/LiveCD

  • Example of how to convert Linux virtual machines from HVM to PVM. With the new paravirt_ops, this can be done smoothly.

Cheers!

-
 Thiago

On 29 April 2010 10:01, Rainer Sokoll <rainer@xxxxxxxxxx> wrote:
Hello,

really new to CentOS, I need a VM running CentOS. Right now, it is
running in full virtualized mode, but I want to switch to
paravitualization.
What I did:
yum install kernel-xen
Changed menu.lst to boot xen kernel per default

My configuration in dom0 (OpenSuse):

name="centos5"
uuid="6e50b775-3b29-f38a-610d-9368dda96dd1"
memory=1536
maxmem=1536
vcpus=1
> > > localtime=0
keymap="de"
builder="linux"
bootloader="/usr/lib/xen/boot/domUloader.py"
bootargs="--entry=xvda1:/boot/vmlinuz-2.6.18-164.15.1.el5xen,/boot/initrd-2.6.18-164.15.1.el5xen.img"
extra=" "
disk=[ 'phy:/dev/xen/centos5,hda,w', ]
vif=[ 'bridge=br1,model=rtl8139', ]
vfb=['type=vnc,vncunused=1']

If I want to boot the VM, the lat 5 lines from the console output are
these:

SCSI subsystem initialized
device-mapper: uevent: version 1.0.3
device-mapper: ioctl: 4.11.5-ioctl (2007-12-12) initialised: dm-devel@xxxxxxxxxx
device-mapper: dm-raid45: initialized v0.2594l
Kernel panic - not syncing: Attempted to kill init!

Any hint is appreciated,

Rainer



_______________________________________________
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

 


Rackspace

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