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

Re: [Xen-users] conversion between Full-virtualization and Para-virtualization


  • To: Nick Couchman <Nick.Couchman@xxxxxxxxx>
  • From: Nico Kadel-Garcia <nkadel@xxxxxxxxx>
  • Date: Wed, 19 Mar 2008 08:36:18 +0000
  • Cc: HA <jiecho@xxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Wed, 19 Mar 2008 01:36:30 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=message-id:date:from:user-agent:mime-version:to:cc:subject:references:in-reply-to:content-type:content-transfer-encoding; b=WdDlOQdfwhAx+KOsPf0QQpTrcAOya9Aq6lptSPPHCWLFb3XY8EF3d0yqC9YW2f7Y3PsIBjFFDvMv5ERt72+YCg6FPuFPAQ+FrV/xskFbW3ppZbIBRTcB3L/sn/W607skPuG6Xn8a5Db83eP3XzVUsPqPg8fHzyCQ8nV/vWxMtlI=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

Nick Couchman wrote:
There are several things you need to check. First, I'm going to assume you're running Linux as your guest O/S. If this is not the case, please respond with the O/S and version you're using. If you are using Linux, check the following: 1) In your guest config file on dom0, you need to switch your disk devices from IDE to xvd*. So, if you have a line that specifies a local volume as hda in your config file, change this to xvda. hdb -> xvdb, etc. 2) You need to specify the correct root device in your config file for the domU. This is done with root= in the file. If your previous root device was hda1, your root line would say root="/dev/xvda1 ro" or something similar.
In theory, you can also use the pygrub boot loader. In practice, I've had a bit of trouble with RHEL and Fedora installers getting grub to operate in the virtualized environment from the installation CD's rescue mode. I've no idea how they did it with anaconda: but you can use the approach described above with the para-virtualized kernel installed in Dom0 to get it up and running, and run grub inside the operating domain to get it to work.

Note that building an initrd in Dom0 for this stunt, or getting grub fully configured with an initrd inside the DomU, may take a bit of work as well.



_______________________________________________
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®.