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: Felix Kuperjans <felix@xxxxxxxxxxxxxxxxxx>, Xen-users@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-users] Convert from image to LVM
From: Jonathan Tripathy <jonnyt@xxxxxxxxxxx>
Date: Sat, 26 Jun 2010 20:12:17 +0100
Cc:
Delivery-date: Sat, 26 Jun 2010 12:15:04 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C264B2F.8000803@xxxxxxxxxxxxxxxxxx>
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: <4C2649C3.4070008@xxxxxxxxxxx> <4C264B2F.8000803@xxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4
Also, what is very strange is that if I do cat /proc/cmsline from the busybox promt, the output i get is:

console=hvc0 root=/dev/xvda1 ro root=/dev/sda1 fastboot

Very strange why 2 roots are appearing...
On 26/06/10 19:47, Felix Kuperjans wrote:
Where and when exactly does this message appear? From what you've told I guess it is during init, so it would be interesting which messages precede that alert.

Am 26.06.2010 20:41, schrieb Jonathan Tripathy:
Still doing the same thing. I've change root=/dev/xvda1 in menu.lst, and I've changed it to /dev/xvda1 in /etc/fstab and /etc/mtab, however it still can't mount root. it says "ALERT! /dev/sda1 doesn't exist".

Maybe there another file I need to change somewhere in Ubuntu?

On 26/06/10 19:29, Felix Kuperjans wrote:
Should be the /dev/xvdaX devices, too.

Am 26.06.2010 20:27, schrieb Jonathan Tripathy:
Thanks Felix,

What should fstab and mtab point to?

On 26/06/10 19:23, Felix Kuperjans wrote:
The root= parameter in pygrub should rather point to /dev/xvda1 than to /dev/hda1 if you use PV domains.

Am 26.06.2010 20:16, schrieb Jonathan Tripathy:
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
_______________________________________________ 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
<Prev in Thread] Current Thread [Next in Thread>