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] Convert from image to LVM

To: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Subject: Re: [Xen-users] Convert from image to LVM
From: Bruce Edge <bruce.edge@xxxxxxxxx>
Date: Sat, 26 Jun 2010 12:06:25 -0700
Cc: Xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 26 Jun 2010 12:07:47 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=FVPs8ZLFjAiVPstsg4dCXGEv2mmJ45/ADw8sFlwRZxw=; b=ii8aV+EhqF+XkM/sN/Y/K8MgDn0tPJv83RynvFkNQPtIdIRFGtVNOtEGshq8zzhGej H3eFZuBZghUuI4iPiNh3K8tGr/BeoGm6hYyMRKRNIivAi+N/22764b1ufd8/gSHEdApX bzAvWbNC7qHMLz2kRucmMXaYOrTko6QxVrXWQ=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Ve80g/R8efyzOM/qTqXO8MYcJDkPe0aWLp1p5/ZbnokM2Uw3UkcLDk+8lIr2SGUibl OkR3nnkEvUDJkZ+b+WDpl7mK8MadWYe0e7WOZE+aj3b1I1J5TYRwxD7Xvd3lUlrhu4Uh uG0hCTU5iB9S2/NU/17J5Xu7uaJAchtl7GtDg=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C26440A.7050705@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/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: <4C264259.6070500@xxxxxxxxxxx> <4C26440A.7050705@xxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Have you tried using root=UUID=... instead?

Use partprobe to discover the embedded lvm partitions so you can get their UUIDs.

-Bruce


On Sat, Jun 26, 2010 at 11:16 AM, Jonathan Tripathy <jonnyt@xxxxxxxxxxx> wrote:
By changing the config from xvda to sda, it work normal. However I wish to use xvda as I think it's te "standard" for the future..

So clearly there is some setting in my Ubuntu that is still making it look for sda1 instead of hda1. It's as if it's ignoring the "root=" argument in pygrub...

On 26/06/10 19:09, Jonathan Tripathy wrote:
Hi Everyone,

I'm trying to convert my Ubuntu PV Guest from image based disk to LVM. It uses pygrub.

What I did, was I created a new LV and used dd to copy the contents of the image over to the LV. I then changed the domU config file to use phy:/

Now, when I start the DomU, the kernel boots, however it can't seem to mount root properly. It says that /dev/sda1 doesn't exist. What is strange is that in the Dom0, I mounted the LV and changed the root= parameter of the kernel line to point to /dev/hda1, however the previous error still shows

Any ideas?

Thanks
_______________________________________________ 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

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