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: [Xen-users] centos 5.3 + jailtime.org

To: "Fajar A. Nugraha" <fajar@xxxxxxxxx>
Subject: Re: [Xen-users] centos 5.3 + jailtime.org
From: Fabien Murgues <fabien.murgues@xxxxxxxxxxxxxxxxxx>
Date: Mon, 29 Jun 2009 09:51:21 +0200
Cc: Xen User-List <xen-users@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Mon, 29 Jun 2009 00:52:09 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <7207d96f0906250607w7a8a5bffn96a9650b951d18a5@xxxxxxxxxxxxxx>
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/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <4A436E3C.1080108@xxxxxxxxxxxxxxxxxx> <7207d96f0906250607w7a8a5bffn96a9650b951d18a5@xxxxxxxxxxxxxx>
Reply-to: fabien.murgues@xxxxxxxxxxxxxxxxxx
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.22 (X11/20090608)
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

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