Re: [Fedora-xen] Xen Not Displayed in Boot Menu

2012-08-13 Thread Jerry Amundson

On 08/13/2012 12:57 PM, Konrad Rzeszutek Wilk wrote:

On Sun, Aug 12, 2012 at 10:49:15PM -0500, Jerry Amundson wrote:

On Thu, Jun 28, 2012 at 9:22 AM, Pasi Kärkkäinenpa...@iki.fi  wrote:

On Wed, Jun 27, 2012 at 10:40:01PM -0500, Jerry Amundson wrote:

On Sat, Jun 9, 2012 at 6:37 AM, Pasi Kärkkäinenpa...@iki.fi  wrote:

On Fri, Jun 08, 2012 at 12:00:44AM -0700, sorabh hamirwasia wrote:

Hi,
I have installed Xen on Fedora16 host using yum install xen command
and it has been installed properly. I can see the changes in
/etc/grub2.cfg file too. But when I reboot then the entry for Xen is not
listed in the boot menu. On further analyzing I found that in
/etc/grub.conf there is no entry related to Xen. Do we need to modify
grub.conf manually ? If yes then how to do that. ?
Please help me with this.

You can tweak the Xen hypervisor cmdline options in:
/etc/default/grub file, like this:

GRUB_DEFAULT=Xen

The only thing I see in fc17 (also) is a
set default=Xen
line in /boot/grub2/grub.cfg

I've been waiting, hoping, and did a fresh install of Fedora 17, then
yum install xen, in anticipation (again) of Fedora/Xen/dom0 boot
magic.
Disappointment.


And did you run grub2-mkconfig -o /boot/grub2/grub.cfg ?

What's the problem?

FWIW, my original problem, being that the system in question is i686,
was that kernel-PAE had not been installed before xen-hypervisor.
However, even after that the
set default=Xen
accomplishes nothing as Xen does not exactly match the entries put

Whoops. Did putting 'Xen 4.1.2 do it?


Nope, but
set default=Fedora, with Xen hypervisor
does work.
At first glance, I didn't see how to fix that, but can look if I get time.

The second problem is that the grub menu entries are built from 
/boot/xen*, but they should not be, as such a list includes xen-syms* 
(not bootable), and symlinks which just repeat entries. [thought I 
brought this up or bz'd this before... hmm.]

I hacked together these changes to 20_linux_xen which worked for me

# diff -u 20_linux_xen*
--- 20_linux_xen2012-08-13 16:45:17.315983439 -0500
+++ 20_linux_xen~   2012-06-18 15:05:32.0 -0500
@@ -23,18 +23,6 @@

 . /usr/share/grub/grub-mkconfig_lib

-xen_grub_file_is_not_garbage ()
-{
-  if test -f $1 -a ! -h $1; then
-case $1 in
-  *-syms-*) return 1 ;;
-esac
-  else
-return 1
-  fi
-  return 0
-}
-
 export TEXTDOMAIN=grub
 export TEXTDOMAINDIR=${datarootdir}/locale

@@ -168,10 +156,7 @@
 if [ x${linux_list} = x ] ; then
 exit 0
 fi
-xen_try=`for f in /boot/xen*; do
-if xen_grub_file_is_not_garbage $f ; then echo -n $f  ; fi
-  done`
-xen_list=`for i in $xen_try; do
+xen_list=`for i in /boot/xen*; do
 if grub_file_is_not_garbage $i ; then echo -n $i  ; fi
   done`
 prepare_boot_cache=

--
jerry

--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen

Re: [Fedora-xen] 4.2.0-rc2 available to test

2012-08-13 Thread M A Young

I have done a temporary build of 4.2.0-rc2 for testing which is at
http://koji.fedoraproject.org/koji/taskinfo?taskID=4386920
This also adds the efi hypervisor back in for x86_64.

Michael Young
--
xen mailing list
xen@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/xen