So your dom0 is set to keep 256M (262144) of memory.
For a RHEL/FC6 guest 256MB is really the base for the install to run in anaconda - you'll get mixed results with less, although after install you can safely drop it down.
Are you saying that you have 512MB total available or 512 free after dom0 takes it's share?
It looks like you're asking for 262144 kb (256MB) of memory for your guest is that right ?

What does xm list show for dom0's memory - have you tried running xm mem-set in dom0 to reduce it's memory?




On Sun, 2007-03-04 at 20:15 +0530, Deependra Shekhawat wrote:
Hello,
I am trying to install RHEL5 beta2 as a virtual machine in RHEL5 beta2. But all the time I get this error:
Starting install...
libvir: Xen Daemon error : GET operation failed: No such domain rhel5b2-pv1
libvir: Xen Daemon error : POST operation failed: (xend.err 'Error creating domain: I need 262144 KiB, but dom0_min_mem is 262144 and shrinking to 262144 KiB would leave only 235124 KiB free.')
Failed to create domain rhel5b2-pv1
Traceback (most recent call last):
  File "/usr/sbin/virt-install", line 406, in ?
    main()
  File "/usr/sbin/virt-install", line 370, in main
    dom = guest.start_install(conscb)
  File "/usr/lib/python2.4/site-packages/virtinst/ParaVirtGuest.py", line 202, in start_install
    return XenGuest.XenGuest.start_install(self, consolecb)
  File "/usr/lib/python2.4/site-packages/virtinst/XenGuest.py", line 355, in start_install
    self.domain = self.conn.createLinux(cxml, 0)
  File "/usr/lib/python2.4/site-packages/libvirt.py", line 249, in createLinux
    if ret is None:raise libvirtError('virDomainCreateLinux() failed')
libvirt.libvirtError: virDomainCreateLinux() failed

Note that I have tried both GUI and command line but all the time the same error.
Here is my grub.conf file:
title Red Hat Enterprise Linux Client (2.6.18-1.2747.el5xen )
        root (hd0,5)
        kernel /boot/xen.gz-2.6.18-1.2747.el5 dom0_mem=256M
        module /boot/vmlinuz-2.6.18-1.2747.el5xen ro root=LABEL=/ rhgb quiet
        module /boot/initrd-2.6.18-1.2747.el5xen.img

Note that I have only 512 MB RAM available.
Please help.

Regards
Deependra Shekhawat


--
Fedora-xen mailing list
Fedora-xen@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-xen
--

Andrew Cathrow
Red Hat, Inc.

(678) 733 0452 - Mobile
(404) 437 6178 - Home Office

acathrow@redhat.com