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.
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" GRUB_CMDLINE_XEN="dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all"
.. or whatever options you want to use. After that update the grub menu: grub2-mkconfig -o /boot/grub2/grub.cfg
-- Pasi
On Sat, Jun 09, 2012 at 02:37:32PM +0300, Pasi Kärkkäinen 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
Wouldn't it be in /boot/grub2/grub.cfg ?
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" GRUB_CMDLINE_XEN="dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all"
.. or whatever options you want to use. After that update the grub menu: grub2-mkconfig -o /boot/grub2/grub.cfg
-- Pasi
-- xen mailing list xen@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/xen
I found the resolution for it. If we update the bootloader to use grub2 instead of legacy grub it will then list all the options. Linux as well as Xen related options. For updating the bootloader I followed the steps mentioned in below link :-
http://fedoraproject.org/wiki/Features/Grub2#From_an_Installed_System_with_G...
Testing With Chain Loading
GRUB2 includes a boot image that's loadable from GRUB Legacy, so you can try it out without wiping out your existing, working MBR. To set up GRUB2 without actually writing to the MBR, run
grub2-install --grub-setup=/bin/true /dev/sda Writing to the MBR
If that works, you can go on testing to writing to your MBR. Same steps as above, but don't tell grub to run the dummy setup program /bin/true
grub2-install /dev/sda
Congratulations! You've reached the point of no return! If you can't boot now you will need to run a rescue CD
Regards,
~Sorabh
On Mon, Jun 11, 2012 at 11:27 AM, Konrad Rzeszutek Wilk < konrad.wilk@oracle.com> wrote:
On Sat, Jun 09, 2012 at 02:37:32PM +0300, Pasi Kärkkäinen 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
Wouldn't it be in /boot/grub2/grub.cfg ?
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" GRUB_CMDLINE_XEN="dom0_mem=1024M,max:1024M loglvl=all guest_loglvl=all"
.. or whatever options you want to use. After that update the grub menu: grub2-mkconfig -o /boot/grub2/grub.cfg
-- Pasi
-- xen mailing list xen@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/xen
On Sat, Jun 9, 2012 at 6:37 AM, Pasi Kärkkäinen pasik@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.
Thanks anyway, jerry
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äinen pasik@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?
-- Pasi
On Thu, 2012-06-28 at 17:22 +0300, Pasi Kärkkäinen wrote:
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?
Just for the record, this is all working for me, right out of the box, for both F16 and F17. All I do is `yum install xen' and when rebooting I found all I need in grub...
Dario
On Fri, Jun 29, 2012 at 02:47:25PM +0200, Dario Faggioli wrote:
On Thu, 2012-06-28 at 17:22 +0300, Pasi Kärkkäinen wrote:
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?
I wonder if the person built their own kernel? One of the things /etc/grub.d/20-xenlinux is that it scans in /boot/config-XXX to see if CONFIG_XEN_DOM0 is defined. Well, if you try to install the kernel doing:
make oldconfig make install
it won't put the config file in /boot directory. So Grub won't create an Xen entry for it. The fix is to manually copy the config to /boot and it works just right.
Or just use kernel RPMS.
Just for the record, this is all working for me, right out of the box, for both F16 and F17. All I do is `yum install xen' and when rebooting I found all I need in grub...
Dario
--
<<This happens because I choose it to happen!>> (Raistlin Majere)
Dario Faggioli, Ph.D, http://retis.sssup.it/people/faggioli Senior Software Engineer, Citrix Systems R&D Ltd., Cambridge (UK)
-- xen mailing list xen@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/xen
On Thu, Jun 28, 2012 at 9:22 AM, Pasi Kärkkäinen pasik@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äinen pasik@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 in place by grub2-mkconfig.
So, getting further along, but still no Xen without manual assistance.
jerry
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äinen pasik@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äinen pasik@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?
in place by grub2-mkconfig.
So, getting further along, but still no Xen without manual assistance.
jerry
xen mailing list xen@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/xen
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äinenpasik@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äinenpasik@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_xen 2012-08-13 16:45:17.315983439 -0500 +++ 20_linux_xen~ 2012-06-18 15:05:32.000000000 -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=
On Mon, Aug 13, 2012 at 5:06 PM, Jerry Amundson jamundso@gmail.com wrote:
On 08/13/2012 12:57 PM, Konrad Rzeszutek Wilk wrote:
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.
And it appears that was my fault to begin with as well... /etc/default/grub contained GRUB_DEFAULT="Xen" which was likely added by me. The grub2-tools install owns /etc/default/grub but does not create one at install. Weird. Sorry this turned into a grub2 infommercial...
jerry