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

Re: RE: RE: RE: [Xen-users] Why creating DomU failed (seems it isduetoLVM)



Thanks.
Then it is likely that DomU loader have no idea which is the root device.
I suppose there may be something missing when DomU creator parse DomU config 
and create vbd.
DomU config file do give enough info about the root device.
But why I never encountered this problem before (I have smoothly installed 
Xen-2.0 with redhat-***, Xen-3.0 with redhat-***, fedora-***, centos-4.), 
except when I played it with CentOS-4.4-x86_64 and Fedora on new bought 
machines this time.  
Still don't understand.

My solution isn't a good idea. It will require different initrd for DomU with a 
different root device... 


======= 2006-12-13 21:36:27 you wrote:=======

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

= = = = = = = = = = = = = = = = = = = =
                        





_______________________________________________
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®.