Re: [Xen-users] Booting Linux OS as a guest domain on RHEL5 on full virt
As per uyour suggestion i modified my config file for guest domain
[root@ca-ostest209 home]# cat /etc/xen/dom.vti
import os, re
arch = os.uname()
if re.search('64', arch):
arch_libdir = 'lib64'
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
disk = [ 'file:/home/hd.img,ioemu:sda,w' ]
vif = [ 'mac=00:50:56:39:85:78 , bridge=xenbr0' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
memory = 1000
name = "domU"
Create the guest domain : on console i got this one*
[root@ca-ostest209 /]# xm create -c /etc/xen/dom.vti
Using config file "/etc/xen/dom.vti".
Started domain domU
[root@ca-ostest209 home]# xm list
ID Mem VCPUs
0 3004 8
5 1008 1 r-----
This looks like domU is running on the machine.
I am not getting any error in xend.log
logs in qemu-dm.21952.log
qemu: the number of cpus is 1
qemu_map_cache_init nr_buckets = 3e8
shared page at pfn:3e7ff
buffered io page at pfn:3e7fd
char device redirected to /dev/pts/1
I/O request not ready: 0, ptr: 0, port: 0, data: 0, count: 0, size: 0
when i open #vncclient on my machine and try to connect the domU.
Then on VNC client screen i found
Boot from hard disk 0 failed
FATAL: Could not read the boot disk
Can i know what wrong in the creation of image file or in config file ?
On 1/30/07, Henning Sprang <henning_sprang@xxxxxx> wrote:
On 1/30/07, trilok nuwal <tc.nuwal@xxxxxxxxx> wrote:
> Firstly i am creating a guest os image by the below method
First: you didn't answer the question if you read all available docs,
and it seems like you did not. That's sad, because it's required that
everybody invests some time of it's own before using other's time to
Come back after you read the docs, and please don't paste web contents
here - if you want to tell us which howto you used, a link is enough.
And dont use html mail.
As for yout problem:
Try vnc=1 (it should be obvious even without knowing xen that vnc is
surely not enabled by setting vnc=0 as you do).
Then try connectin to the vnc server with vncviewer.
-c doesn't work with hvm domains which you want to access via vnc.
and, add usb=1 and usbdevice="tablet" to your config - otherwise you
mouse pointer is messed up in vnc.
Xen-users mailing list