|
|
|
|
|
|
|
|
|
|
xen-users
[Xen-users] which kernel images should be used to boot first time a DomU
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>
|
- [Xen-users] which kernel images should be used to boot first time a DomU CentOS on a Debian Dom0 for,
Tapas Mishra <=
|
|
|
|
|