<---- template headericclude ----->
Trouble booting Xen hypervisor on Fedora 15?
FedoraForum.org - Fedora Support Forums and Community
Results 1 to 4 of 4
  1. #1
    Join Date
    May 2011
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Trouble booting Xen hypervisor on Fedora 15?

    I just installed Fedora 15 x86-64 gold today so I could try out the Xen hypervisor. I installed xen by typing in xen command line and following the installation prompts. Everything seemed to go fine on the install. The following appeared in /boot:

    [root@fedora-15-64gb boot]# ls -ltr
    total 53852
    -rwxr-xr-x. 1 root root 3867920 May 9 23:00 vmlinuz-2.6.38.6-26.rc1.fc15.x86_64
    -rw-------. 1 root root 2371473 May 9 23:00 System.map-2.6.38.6-26.rc1.fc15.x86_64
    -rw-r--r--. 1 root root 114122 May 9 23:00 config-2.6.38.6-26.rc1.fc15.x86_64
    -rw-r--r--. 1 root root 12128990 May 10 00:50 xen-syms-4.1.0
    -rwxr-xr-x. 1 root root 730168 May 10 00:50 xen-4.1.0.gz
    -rwxr-xr-x. 1 root root 3867984 May 15 19:38 vmlinuz-2.6.38.6-27.fc15.x86_64
    -rw-------. 1 root root 2371473 May 15 19:38 System.map-2.6.38.6-27.fc15.x86_64
    -rw-r--r--. 1 root root 114118 May 15 19:38 config-2.6.38.6-27.fc15.x86_64
    -rw-r--r--. 1 root root 14651937 May 24 15:45 initramfs-2.6.38.6-27.fc15.x86_64.img
    lrwxrwxrwx. 1 root root 12 May 24 15:53 xen-4.1.gz -> xen-4.1.0.gz
    lrwxrwxrwx. 1 root root 12 May 24 15:53 xen.gz -> xen-4.1.0.gz
    drwx------. 2 root root 12288 May 24 15:57 lost+found
    -rw-r--r--. 1 root root 239077 May 24 16:13 initrd-plymouth.img
    drwxr-xr-x. 3 root root 1024 May 24 16:20 efi
    -rw-r--r--. 1 root root 14651155 May 24 16:23 initramfs-2.6.38.6-26.rc1.fc15.x86_64.img
    drwxr-xr-x. 2 root root 1024 May 24 17:26 grub
    [root@fedora-15-64gb boot]#

    However, when I rebooted there were no boot options. I saw than /boot/grub/grub.conf had no entries for a xen kernel so I modified grub.conf to show a boot menu and added a thrid kernel boot option (xen 4.1.0). I'm unsure if the lines I added are proper. Now when I reboot choosing third option (xen 4.1.0) I get a boot error message that "Error 19: Linux kernel must be loaded before initrd". I'm guessing that the issue is that xen-4.1.0.gz isn't becoming the kernel. At this point I'm stuck. I'm not sure if this is a xen on 15 issue or I'm just making some newbie mistake in grub.conf. Anyone see an issue or can confirm/not -confirm that xen works on 15 x86-64 gold?

    [root@fedora-15-64gb grub]# cat grub.conf
    # grub.conf generated by anaconda
    #
    # Note that you do not have to rerun grub after making changes to this file
    # NOTICE: You have a /boot partition. This means that
    # all kernel and initrd paths are relative to /boot/, eg.
    # root (hd0,0)
    # kernel /vmlinuz-version ro root=/dev/mapper/vg_fedora1564gb-lv_root
    # initrd /initrd-[generic-]version.img
    #boot=/dev/sda
    default=1
    timeout=5
    splashimage=(hd0,0)/grub/splash.xpm.gz
    hiddenmenu
    title Fedora (2.6.38.6-27.fc15.x86_64)
    root (hd0,0)
    kernel /vmlinuz-2.6.38.6-27.fc15.x86_64 ro root=/dev/mapper/vg_fedora1564gb-lv_root rd_LVM_LV=vg_fedora1564gb/lv_root rd_LVM_LV=vg_fedora1564gb/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
    initrd /initramfs-2.6.38.6-27.fc15.x86_64.img
    title Fedora (2.6.38.6-26.rc1.fc15.x86_64)
    root (hd0,0)
    kernel /vmlinuz-2.6.38.6-26.rc1.fc15.x86_64 ro root=/dev/mapper/vg_fedora1564gb-lv_root rd_LVM_LV=vg_fedora1564gb/lv_root rd_LVM_LV=vg_fedora1564gb/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
    initrd /initramfs-2.6.38.6-26.rc1.fc15.x86_64.img
    title xen 4.1.0
    root (hd0,0)
    kernel /xen-4.1.0.gz dom0_mem=1024M loglvl=all guest_loglvl=all
    module /vmlinuz-2.6.38.6-27.fc15.x86_64 ro root=/dev/mapper/vg_fedora1564gb-lv_root rd_LVM_LV=vg_fedora1564gb/lv_root rd_LVM_LV=vg_fedora1564gb/lv_swap rd_NO_LUKS rd_NO_MD rd_NO_DM LANG=en_US.UTF-8 SYSFONT=latarcyrheb-sun16 KEYTABLE=us rhgb quiet
    initrd /initramfs-2.6.38.6-27.fc15.x86_64.img
    [root@fedora-15-64gb grub]#
    Last edited by BSalita; 24th May 2011 at 04:58 PM. Reason: Correct error message

  2. #2
    Join Date
    Jul 2011
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble booting Xen hypervisor on Fedora 15?

    I'm getting the same problem. rebuilding Xen 4.0 from scratch and running into different issues. So definitely looking forward to a resolution.

  3. #3
    Join Date
    Jan 2011
    Posts
    132
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble booting Xen hypervisor on Fedora 15?

    http://fedoraproject.org/wiki/Features/XenPvopsDom0

    Currently Fedora releases greater than 8 contain the Xen hypervisor and tools, but not a Xen Dom0-capable kernel.
    What's the difference between kernel-xen and xen-hypervisor?
    I♥SymLinks
    Fedora 16 64 Bit (Fedora 13 install upgraded to 14 with preupgrade, then 15 using --distro-sync) - KDE 4.6.5 HDD Reporting SMART erorrs, using SSD with Fedora 20, XFCE install with yum install @kde-desktop
    http://forums.fedoraforum.org/showthread.php?p=1524332#post1524332 HELP

  4. #4
    Join Date
    Jun 2004
    Location
    Maryland, US
    Posts
    11,467
    Mentioned
    89 Post(s)
    Tagged
    0 Thread(s)

    Re: Trouble booting Xen hypervisor on Fedora 15?

    RE: post#3

    does the "90%" on the Fedora 16 "Percentage of completion"
    in that URL mean that Fedora 16 doesn't support dom0 guests ? Or did they flub up and not update the percentage to 100%?
    UPDATE - to answer my own question, I went ahead and installed the xen packages on my Fedora 16, booted to the xen grub2 entry and my dom0
    guest worked just fine. So Fedora 16 bootstraps itself to be the dom0 management guest.

    However, the grub2 menu gets all flubbed up with bogus xen entries, currently I can boot ok if I'm at the terminal and manually
    pick the right grub entry.
    Last edited by marko; 1st February 2012 at 08:36 PM.

Similar Threads

  1. Xen hypervisor
    By kgalbraith in forum Using Fedora
    Replies: 16
    Last Post: 28th June 2010, 06:10 PM
  2. Trouble booting Fedora from USB drive
    By MuadNu in forum Installation, Upgrades and Live Media
    Replies: 0
    Last Post: 2nd June 2009, 01:59 PM
  3. Having trouble dual booting Windows XP and Fedora 10
    By sean1970 in forum Installation, Upgrades and Live Media
    Replies: 19
    Last Post: 7th February 2009, 03:18 PM
  4. Xen Hypervisor
    By webmastadj in forum Installation, Upgrades and Live Media
    Replies: 6
    Last Post: 12th November 2008, 10:36 AM
  5. Replies: 7
    Last Post: 10th June 2008, 03:32 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
[[template footer(Guest)]]