Fedora Linux Support Community & Resources Center
  #1  
Old 24th May 2011, 04:51 PM
BSalita Offline
Registered User
 
Join Date: May 2011
Posts: 1
linuxfirefox
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
Reply With Quote
  #2  
Old 2nd August 2011, 05:26 AM
ENetARch Offline
Registered User
 
Join Date: Jul 2011
Posts: 5
windows_xp_2003chrome
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.
Reply With Quote
  #3  
Old 17th November 2011, 10:14 PM
IHeart SymLinks Offline
Registered User
 
Join Date: Jan 2011
Posts: 132
linuxfirefox
Re: Trouble booting Xen hypervisor on Fedora 15?

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

Quote:
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
Reply With Quote
  #4  
Old 31st January 2012, 01:54 AM
marko Offline
Registered User
 
Join Date: Jun 2004
Location: Laurel, MD USA
Posts: 6,120
linuxfirefox
Re: Trouble booting Xen hypervisor on Fedora 15?

Quote:
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.
Reply With Quote
Reply

Tags
boot, fedora 15, grub, xen

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Xen hypervisor kgalbraith Using Fedora 16 28th June 2010 06:10 PM
Trouble booting Fedora from USB drive MuadNu Installation, Upgrades and Live Media 0 2nd June 2009 01:59 PM
Having trouble dual booting Windows XP and Fedora 10 sean1970 Installation, Upgrades and Live Media 19 7th February 2009 03:18 PM
Xen Hypervisor webmastadj Installation, Upgrades and Live Media 6 12th November 2008 10:36 AM
Installed Fedora 9, now having trouble booting! Any of this code look familiar? orange Mac Chat 7 10th June 2008 03:32 PM


Current GMT-time: 18:34 (Sunday, 21-12-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat
...Landmark Cafe & Creperie - Disney's BoardWalk Inn Resort Travel Photos on Instagram - Sushicyu&Carnival Yakiniku,,All Season Travel Photos on Instagram