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] HVM --> PV, success on 1st time, failed on 2nd time

To: Pandu Poluan <pandu@xxxxxxxxxxx>
Subject: Re: [Xen-users] HVM --> PV, success on 1st time, failed on 2nd time
From: Denis Cardon <denis.cardon@xxxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 09 Jun 2011 09:46:09 +0200
Cc: Xen-Users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 09 Jun 2011 00:47:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <BANLkTimK52KTTDzMXmk2dEdwLYLDUnYVgw@xxxxxxxxxxxxxx>
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: <BANLkTimK52KTTDzMXmk2dEdwLYLDUnYVgw@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9
Hi Pandu,

I'm having a perplexing problem.

I'm currently trying to install Gentoo Linux on XenServer 5.6 fp1.
When I've compiled the kernel, I shutdown, eject CD, activate PV mode,
and turn on.

It worked, except for the fact that I forgot to change the entries in
/etc/fstab to point to /dev/xvd?. So I shutdown, change back to HVM,
and reboot into Gentoo's installation CD. I edited /etc/fstab, then
repeat the above conversion (i.e., shutdown, eject CD, activate PV
mode, turn on).

But this time, pygrub complained that it can't find the kernel! Very
strange, since it managed to find one the last time I boot into PV...

Where could I've gone wrong?

could you check your /boot/grub/device.map and /boot/grub/menu.lst or /boot/grub/grub.cfg. There are probably references to /dev/sda that should be switched to /dev/xvda. If you have UUID, I'd switch it back to standard /dev/xvdx in the /etc/default/grub file.

Cheers,

Denis



Rgds,




--
Denis Cardon
Tranquil IT Systems
44 bvd des pas enchantés
44230 Saint Sébastien sur Loire
tel : +33 (0) 2.40.97.57.57
http://www.tranquil-it-systems.fr


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

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