Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Fedora Core 7 (FC7) Xen/KVM Guide
Previous Page Home Next Page

Installing the Xen Software

When doing a fresh install of Fedora 7, Xen can be installed by selecting Virtualization in the Base Group in the installer.

For an existing Fedora 7 installation, the Xen kernel and tools can be installed by running the following command:

  • # yum groupinstall 'Virtualization'
    
    
    

This installs the required packages and their dependencies. 'kernel-xen' contains the Xen-enabled kernel for both the host and guest operating systems as well as the hypervisor. Also, the 'xen' package will be installed, which contains the user-space tools for interacting with the hypervisor.

Once this is done, there should be an entry in the file /boot/grub/grub.conf for booting the xen kernel. The xen kernel is not set as the default boot option.

To set GRUB to boot with kernel-xen by default, edit /boot/grub/grub.conf and set the default to the xen kernel: 2

This is an example /boot/grub/grub.conf configured to boot into the Xen hypervisor:

  • default=0
    
    timeout=5
    
    splashimage=(hd0,0)/grub/splash.xpm.gz
    
    hiddenmenu
    
    title Fedora (2.6.20-2925.5.fc7xen)
    
            root (hd0,0)
    
            kernel /xen.gz-2.6.20-2925.5.fc7
    
            module /vmlinuz-2.6.20-2925.5.fc7xen ro root=/dev/VolRoot/LogVolRoot rhgb quiet
    
            module /initrd-2.6.20-2925.5.fc7xen.img
    
    title Fedora (2.6.20-1.3084.fc7)
    
            root (hd0,0)
    
            kernel /vmlinuz-2.6.20-1.3084.fc7 ro root=/dev/VolRoot/LogVolRoot rhgb quiet
    
            initrd /initrd-2.6.20-1.3084.fc7.img
    
    
    
    
    
    
    

Fedora Core 7 (FC7) Xen/KVM Guide
Previous Page Home Next Page


 
 
  Published under the terms of the Open Publication License Design by Interspire