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: RE: RE: [Xen-users] Why creating DomU failed (seems it is duetoLVM)

To: "Zhang Binbin" <binbinzh@xxxxxxx>
Subject: RE: RE: RE: [Xen-users] Why creating DomU failed (seems it is duetoLVM)
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 13 Dec 2006 14:35:44 +0100
Cc: xen-users <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Wed, 13 Dec 2006 05:36:00 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <200612132105561091499@xxxxxxx>
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Accet4eSNtenj+CRS6m85cuh41GeGQAA7BGg
Thread-topic: RE: RE: [Xen-users] Why creating DomU failed (seems it is duetoLVM)
> -----Original Message-----
> From: Zhang Binbin [mailto:binbinzh@xxxxxxx] 
> Sent: 13 December 2006 13:06
> To: Petersson, Mats
> Cc: xen-users
> Subject: Re: RE: RE: [Xen-users] Why creating DomU failed 
> (seems it is duetoLVM)
> 
> Hi, Mats,
> 
> And more info:
> After I modified init script in DomU's initrd, it can boot 
> successfully.
> it is that i modified:
>       mount -o defaults --ro -t ext3 /dev/root /sysroot
> to 
>       mount -o defaults --ro -t ext3 /dev/sda1 /sysroot
> it seems DomU loader just can't find out which is the root device.
> 
> I don't know why it works, so I checked the mails before, and 
> still can't know why...

Ah, ok, sorry, missed the connection there. 

That makes sense. /dev/root is a "symbolic link", which probably doesn't
exist in your /dev on the DomU "disk"... You may be able to achieve the
same thing by "ln -s /dev/sda1 /dev/root" before the mount command. (I
never get the arguments for ln right, so they are probably supposed to
go the other way around!)

--
Mats
 



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

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