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

Re: [Xen-users] centos 5.3 + jailtime.org



Fajar A. Nugraha wrote:
> On Thu, Jun 25, 2009 at 7:31 PM, Fabien
> Murgues<fabien.murgues@xxxxxxxxxxxxxxxxxx> wrote:
> 
>> VFS: Cannot open root device "sda1" or unknown-block(0,0)
>> Please append a correct "root=" boot option
>> Kernel panic - not syncing: VFS: Unable to mount root fs on
>> unknown-block(0,0)
>>
>>
>> config file for the centos 5.2 vm
>> kernel = "/boot/vmlinuz-2.6.18-128.1.14.el5xen"
>> initrd = "/boot/initrd-2.6.18-128.1.14.el5xen.img"
> 
> Are you using dom0's kernel and initrd for domU? 
I use the same kernel and initrd for domU and dom0 (located in the
config file), maybe i have to cp -pR /lib/modules and /boot/kernel on
the dom U ?...
If yes, then my guess
> is it's missing xenblk module. It's not needed on dom0 (which is why
> it's not normally included), but critical for domU. One way to make
> jailtime.org images is by adjusting its kernel and initrd like this:
> http://lists.xensource.com/archives/html/xen-users/2009-03/msg00372.html
> 
I try your link but I have problems at the beginning, the vi command is
not installed and for the yum I have this :

bash-3.2# yum -y install kernel-xen vim-enhanced grub
Traceback (most recent call last):
  File "/usr/bin/yum", line 4, in ?
    import yum
  File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 37, in ?
    import rpmsack
  File "/usr/lib/python2.4/site-packages/yum/rpmsack.py", line 24, in ?
    from packages import YumInstalledPackage
  File "/usr/lib/python2.4/site-packages/yum/packages.py", line 31, in ?
    import rpmUtils.arch
  File "/usr/lib/python2.4/site-packages/rpmUtils/arch.py", line 273, in ?
    canonArch = getCanonArch()
  File "/usr/lib/python2.4/site-packages/rpmUtils/arch.py", line 262, in
getCanonArch
    return getCanonX86Arch(arch)
  File "/usr/lib/python2.4/site-packages/rpmUtils/arch.py", line 170, in
getCanonX86Arch
    f = open("/proc/cpuinfo", "r")
IOError: [Errno 2] No such file or directory: '/proc/cpuinfo'



-- 

Cordialement,
Fabien Murgues

Service Commun Documentation Saint Etienne
Informatique
23 rue Docteur Paul Michelon
42023 Saint Etienne Cedex 2

tél : 04 77 48 15 92
fax : 04 77 48 15 91

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