My dom0 is working fine and I was able to fire a friend''s ubuntu image.
But my problem is that I can''t create a guest fedora os with
xen-guest-install.py
see: https://www.redhat.com/archives/fedora-xen/2006-June/msg00108.html
Yes, I still can''t make one :(
So I started making my own guest os by hand, which appears to be wrong:
This is my procedure:
mkdir -p /xen-images/mnt
dd if=/dev/zero of=/xen-images/guest_base.img bs=1024k count=5000
dd if=/dev/zero of=/xen-images/guest_base-swap.img bs=1024k count=500
chmod 640 /xen-images/guest_base*
mkfs.ext3 /xen-images/guest_base.img
mkswap /xen-images/guest_base-swap.img
mount -o loop /xen-images/guest_base.img /xen-images/mnt
anaconda --method=nfs://var/www/bordeaux/ --rootpath=/xen-images/mnt/
cp -dpR /lib/modules/2.6.17-1.2187_FC5xen0/ /xen-images/mnt/lib/modules/
I''ve added
/dev/hda1               /                       ext3
defaults,errors=remount-ro    0 1
/dev/hda2               swap                    swap    sw
to /xen-images/mnt/etc/fstab&
umount /xen-images/mnt
cd /boot
cp initrd-2.6.17-1.2187_FC5xen0.img initrd-guest.img
cp vmlinuz-2.6.17-1.2187_FC5 vmlinuz-guest.img
cd /etc/xen/
kwrite xm-fc6 &
name = "xm-fc6"
memory = "256"
kernel = "/boot/vmlinuz-guest.img"
ramdisk = "/boot/initrd-guest.img"
vif = [''bridge=xenbr0'']
disk =
[''file:/xen-images/guest_base.img,hda1,w'',''file:/xen-images/guest_base-swap.img,hda2,w'']
ip = "192.168.0.101"
netmask = "255.255.255.0"
gateway = "192.168.0.1"
hostname = "baseimage"
root = "/dev/hda1 ro"
extra = "4"
on_reboot   = ''restart''
on_crash    = ''restart''
xm create xm-fc6 -c
I fell on
Using config file "xm-fc6".
Error: (9, ''Bad file descriptor'')
cat /var/log/xend-debug.log
ERROR: PAE-kernel on non-PAE host.
ERROR: Error constructing guest OS
Traceback (most recent call last):
  File
"/usr/lib/python2.4/site-packages/xen/xend/server/SrvDomainDir.py",
line 77, in op_create
    dominfo = self.xd.domain_create(config)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomain.py", line
228, in domain_create
    dominfo = XendDomainInfo.create(config)
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 190, in create
    vm.initDomain()
  File "/usr/lib/python2.4/site-packages/xen/xend/XendDomainInfo.py",
line 1311, in initDomain
    raise VmError(str(exn))
VmError: (9, ''Bad file descriptor'')
Any one can point to me what Im doing wrong and a solution if possible
to remedy this ? :)
Chitlesh
-- 
http://clunixchit.blogspot.com