[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: RE: RE: [Xen-users] Why creating DomU failed (seems it is duetoLVM)


  • To: "Zhang Binbin" <binbinzh@xxxxxxx>
  • 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
  • List-id: Xen user discussion <xen-users.lists.xensource.com>
  • 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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.