|  |  | 
  
    |  |  | 
 
  |   |  | 
  
    |  |  | 
  
    |  |  | 
  
    |   xen-users
RE: 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
 | 
 |  | 
  
    |  |  |