My computer configuration: dual-core GB memory GB hard disk with Fedoar8 installed, but did not choose to install the Xen basic package, so do not want to reinstall the operating system, you want to manually install the RPM package corresponding to the Xen to install the Xen. The Xen configuration recommended for Fedoar8 is these installation packages-1, xen-3.1.0-0.rc7.1.fc8.i386.rpm2, kvm-24-1.i386.rpm3, kernel-xen-2.6.20-2
My Computer Configuration:
Dual-core 7250
2 GB memory
160G hard drive
Fedoar 8 is installed, but Xen basic package is not selected. Therefore, if you do not want to reinstall the operating system, you plan to manually install the RPM package corresponding to Xen to install Xen.
The recommended Xen configuration for Fedoar 8 is the installation packages --
1. xen-3.1.0-0.rc7.1.fc8.i386.rpm
2. kvm-24-1.i386.rpm
3. kernel-xen-2.6.20-2925.9.fc8.i686.rpm
4. virt-manager-0.4.0-2.fc8.i386.rpm
5. qemu-0.9.0-2.fc8.i386.rpm
6. gnome-applet-vm-0.1.2-2.fc8.i386.rpm
Therefore, the following is to successfully install these packages, but also to solve the dependencies of some installation packages, the following is my installation order --
1. xen-libs-3.1.0-0.rc7.1.fc8.i386.rpm
Bridge-utils-1.1-2.i386.rpm
Dnsmasq-2.38-1.fc8.i386.rpm
Libvirt-0.2.2-4.fc8.i386.rpm
Libvirt-python-0.2.2-4.fc8.i386.rpm
Python-virtinst-0.103.0-3.fc8.noarch.rpm
Xen-3.1.0-0.rc7.1.fc8.i386.rpm
2. kvm-24-1.i386.rpm
3. kernel-xen-2.6.20-2925.9.fc8.i686.rpm
4. gnome-python2-gnomekeyring-2.18.0-1.fc8.i386.rpm
Vvrt-manager-0.4.0-2.fc8.i386.rpm
5. qemu-0.9.0-2.fc8.i386.rpm
6. gnome-applet-vm-0.1.2-2.fc8.i386.rpm
After the installation is complete, you need to modify/boot/grub. conf for the boot configuration. This is the content of my conf configuration file:
# Grub. conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a/boot partition. This means that
# All kernel and initrd paths are relative to/, eg.
# Root (hd0, 2)
# Kernel/boot/vmlinuz-version ro root =/dev/sda3
# Initrd/boot/initrd-version.img
# Boot =/dev/sda3
Default = 0
Timeout = 5
Splashimage = (hd0, 7)/boot/grub/splash.xpm.gz
Hiddenmenu
Title Fedora Core
Root (hd0, 7)
Kernel/boot/vmlinuz-2.6.21-1.3194.fc8 ro root = LABEL =/1 rhgb quiet
Initrd/boot/initrd-2.6.21-1.3194.fc8.img
Title Fedora Core Xen 3.1.0
Root (hd0, 7)
Kernel/boot/xen.gz-2.6.20-2925.9.fc8 dom0_mem = 262144
Module/boot/vmlinuz-2.6.20-2925.9.fc8xen root =/dev/sda8 ro console = tty0
Module/boot/initrd-2.6.20-2925.9.fc8xen.img
Title Other
Rootnoverify (hd0, 0)
Chainloader + 1
The content is mainly in the second title. Here, the kernel tells the grub Virtual Machine Xen where the file is located and the parameters passed to the Virtual Machine Xen; the dom0_mem parameter is used to specify that the memory size of the virtual machine started by default is 256 MB, that is, 262144 kb. You can increase the memory usage, otherwise, the Virtual Machine System of Fedora8 that you start will be slower. unless you are willing to endure that kind of high speed, change it to a bigger one, such as 1000000 (smaller than 1G, this is because if 1024*1024 is used here, it cannot be started. I wonder if I want to leave some memory for Xen ?). Dom0 indicates the first virtual machine by default. In the Xen world, all virtual machines are the Domain concept. 0 indicates the first virtual machine. Therefore, dom0 is used here. The module line indicates the kernel file of the started Virtual Machine gust System and the parameters passed to the kernel. The parameters passed here are the same as those transmitted from the normal system, there is no difference. The third parameter is not required for Xen Virtual Machine startup, but it is required for default startup of Fedora8, otherwise, your default Fedoar8 system cannot be started, and you will encounter a classic kernel panic error.