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] Problems converting FC8 HVM guest to PV

To: xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Problems converting FC8 HVM guest to PV
From: jim burns <jim_burn@xxxxxxxxxxxxx>
Date: Thu, 27 Dec 2007 19:57:42 -0500
Delivery-date: Thu, 27 Dec 2007 16:58:42 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <477436DA.9090809@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <477436DA.9090809@xxxxxxxxxxx> (sfid-20071227_190555_616116_68B97E11)
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.9.6 (enterprise 20070904.708012)
On Thursday 27 December 2007 06:35:54 pm Evan Lavelle wrote:
> title Fedora (2.6.21-2952.fc8xen.xenblk)
>   root (hd0,0)
>   kernel /xen.gz-2.6.21-2952.fc8
>   module /vmlinuz-2.6.21-2952.fc8xen ro root=LABEL=/ rhgb quiet
>   module /initrd-2.6.21-2952.fc8xen.xenblk.img

Since it's likely to be slow on the list now, I'll give this a stab, tho' I'll 
warn you I haven't actually done this myself. However, some things stand out:

The reason Plan A didn't work is you can't load the xen hypervisor (xen.gz) 
inside a domu. Try deleting the 'kernel /xen.gz...' line and 
change 'module /vmlinuz...' to 'kernel /vmlinuz...'. I personally would use 
the original fc8 /initrd-2.6.21-2952.fc8xen.img. At a minimum, a custom 
initrd also has to have '--preload=xennet'.

The basic problem with your other plans is it looks like the hvm install 
created a whole disk (hda) with an fc8 partition on it in, presumably hda1.
I don't know if specifying hda in the disk= parm and root='hda1 ro' will work 
in Plan B, but it's closer to what you mean.

If you get something to work, presumably with the help of someone wiser than 
me ;-), you will also want to eventually replace hda* with xvda*. Good luck, 
and keep us posted.

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