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

[Xen-users] which kernel images should be used to boot first time a DomU CentOS on a Debian Dom0 for


  • To: Xen List <xen-users@xxxxxxxxxxxxxxxxxxx>
  • From: Tapas Mishra <mightydreams@xxxxxxxxx>
  • Date: Tue, 18 May 2010 15:06:12 +0530
  • Delivery-date: Tue, 18 May 2010 02:37:55 -0700
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.