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

xen-users

[Top] [All Lists]

Re: [Xen-users] how to use prebuilt images from jailtime.org?

To: Sadique Puthen <sputhenp@xxxxxxxxxx>
Subject: Re: [Xen-users] how to use prebuilt images from jailtime.org?
From: Rudi Ahlers <Rudi@xxxxxxxxxxx>
Date: 2008年4月07日 17:58:09 +0200
Cc: xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2008年4月07日 08:58:58 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <47CBD370.7020200@xxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
Organization: SoftDux
References: <47CBC20B.2000702@xxxxxxxxxxx> <47CBD370.7020200@xxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.9 (Windows/20071031)
Sadique Puthen wrote:
Rudi Ahlers wrote:
Hi
Does anyone know how to use the images from http://www.jailtime.org/? I've downloaded the CentOS 5.1 (http://www.jailtime.org/download:centos:v5.1) to my CentOS 5.1 x64 Xen 3.1 server, and unpacked it to my /home folder. Then I took the included config file, centos.5-1.xen3.cfg and copied it to /xen - and modified to my needs:
[root@gimbli home]# more /etc/xen/centos5-1
kernel = "/boot/vmlinuz-2.6.18-53.1.13.el5xen"
memory = 256
name = "centos5-1"
vif = [ '' ]
dhcp = "dhcp"
#disk = ['file:/home/vm/centos.5-1.img,sda1,w', 'file:/home/centos.swap,sda2,w']
#root = "/dev/xvda1 ro"
disk = [ "tap:aio:/home/vm/centos.5-1.img,xvda,w" ]
root = "/dev/xvda ro"
Probably you need a initrd image built using --with=xennet --preload=xenblk and specify that as ramdisk= in the guest configuration file and change the /etc/fstab references in your image to xvda after loopback mounting that in dom0.
--Sadique
Hi Sadique
I'm going to attempt this again. I've installed Xen 3.2 on my CentOS 5.1 machine, and want to try use this jailtime image again. I've mounted /home/centos.5-1.img on /mnt/vm, edited /mnt/vm/etc/fstab & changed it to use /dev/xvda1
# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/xvda1 / ext3 defaults 1 1
From this, I realize there's no /dev/xvda on the image:
[root@temp01 ~]# ll /mnt/vm/dev/x*
crw-rw---- 1 root root 10, 179 Mar 25 2001 /mnt/vm/dev/xsvc
crw-r--r-- 1 root root 204, 191 Mar 21 2007 /mnt/vm/dev/xvc0
So, how do I get it?
I'm trying to understand what you mean with the --with-xennet --preload=xenblk stuff, but I don't understand how / where to put it. Please elaborate?
Yet, when I try and use it, I get the following error:
VFS: Cannot open root device "xvda" 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)
Any ideas on how to get these images to work?
--
Kind Regards
Rudi Ahlers
CEO, SoftDux
Web: http://www.SoftDux.com
Check out my technical blog, http://blog.softdux.com for Linux or other 
technical stuff, or visit http://www.WebHostingTalk.co.za for Web Hosting stuff
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-users] How to stop yum update on CentOS 5.1 to modify grub , Bas Mevissen
Next by Date: Re: [Xen-users] how to use prebuilt images from jailtime.org? , Gordon McLellan
Previous by Thread: [Xen-users] img file to physical disk , Stuart Poulton
Next by Thread: Re: [Xen-users] how to use prebuilt images from jailtime.org? , Gordon McLellan
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /