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

[Xen-users] which kernel images should be used to boot first time a DomU

To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-users] which kernel images should be used to boot first time a DomU CentOS on a Debian Dom0 for
From: Tapas Mishra <mightydreams@xxxxxxxxx>
Date: Tue, 18 May 2010 15:06:12 +0530
Delivery-date: Tue, 18 May 2010 02:37:55 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=+k5SRirwhPRqTWxvvyINSvhc4YM/MW1BPtTyW01Qmks=; b=Yv8+UVhpbK37dVaeNb0ikJwAYHACAJdtepEu/HG5ndaphPK9yX//3tps8ioMupCYYK 12lBQ22Eg1oumELHOOV0a6vdQCAH8ux/6nvhX3W1pV3QnNJM7h5wc0OuXuXbSad7WgKb jkZjQM0NWpDiKVHNuqE17NPEXUWJdvCRd1JCE=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=IUEcBTn8R68cv57opzdpBXcn06PcTGw1lO6Crp9zkoKuRrnNznc21t5CxNNT7Me7Ip eoZOqymgwinEvvLobS3eVFtapw2WKtd/YHzeJrpnZTPh0nU0b70rzaHz28+DkAW10lc1 /Cy0L34OCDzugeeifBWMQUGql5qanF1I4vu10=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
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>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
I downloaded vmlinuz and initrd from here renamed them to
vmlinuz-xen-install and initrd-xen-install
and placed both above in /boot
http://mirrors.kernel.org/centos/5.5/os/x86_64/images/xen/
and then in /etc/xen-tools/xen-tools.conf

install-method = rinse
dist   = centos-5
image  = sparse
kernel      = /boot/vmlinuz-xen-install
initrd      = /boot/initrd-xen-install
 serial_device = hvc0
 disk_device = xvda

copied a CentOS 5.5 ISO
dd if=/dev/cdrom of=/root/centos.iso

mount -t iso9660 -o loop /root/centos.iso /root/inscd

then gave following command
xen-create-image --hostname new_centOS --ip 172.21.100.196
--install-method rinse --force --arch=amd64
--install-source=/root/inscd/

I got a screen asking me password and then after some time I got a
new_centOS.cfg file in /etc/xen/
the contents of which are

kernel      = '/boot/vmlinuz-xen-install'
ramdisk     = '/boot/initrd-xen-install.img'
memory      = '1024'

#
#  Disk device(s).
#
root        = '/dev/xvda2 ro'
disk        = [
                  'phy:/dev/virtualization/centos5_domU-swap,xvda1,w',
                  'phy:/dev/virtualization/centos5_domU-disk,xvda2,w',
              ]


#
#  Hostname
#
name        = 'new_centOS.cfg'

#
#  Networking
#
vif         = [ 'ip=172.21.100.196,mac=00:16:3E:7D:09:6F' ]

#
#  Behaviour
#
on_poweroff = 'destroy'
on_reboot   = 'restart'
on_crash    = 'restart'



But when I do

xm create new_centOS -c
then I get a text  console which asks me for installation ISO.
The snapshots that I am getting are like the following.

http://www.flickr.com/photos/48996087@N07/4617619327/
and here
http://www.flickr.com/photos/48996087@N07/4617619329/

Now my guess is the kernel in .cfg file is the same as
http://mirrors.kernel.org/centos/5.5/os/x86_64/images/xen/
so this is an error.I am not sure about this one.
But how do I proceed now.
Some one suggested me to use vnc on centos but  I am not able to
understand how where I do it.
My dom0 is Debian Lenny xen-3.2.1
-- 
Tapas

_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users

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