Add new comment
|
Falko has done a brilliant job with this Howto. Apart from very minor things such as not mounting devpts after chrooting, it worked without a hitch. I've pasted a slightly modified version of section 3 below to show how I installed Xen 3.0.0 using Falko's Howto. cheers, Hizar
3.2 Installing From The Sources Run the following commands: apt-get remove
exim4 exim4-base lpr nfs-common portmap pidentd pcmcia-cs pppoe pppoeconf ppp
pppconfig 3.2.1 Install Xen Now execute these commands: wget
http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.12.tar.bz2 cd .. tar -xvzf
archive/xen-unstable.7-src.tgz cd xen-unstable make install Now Xen is installed. In order to start the Xen services at boot time, do the following: update-rc.d
xend defaults 20 21 3.2.2 Compile A New dom0 Kernel Next we compile a new dom0 kernel with Xen-, iptables-, quota-, and dummy support. The kernel will be installed to ~/xen/install so that we can save it for other machines. From ~/xen/install we will install it to the real locations. Xen works with kernel 2.6.11, so I take the latest 2.6.12 kernel (2.6.12) instead of newer kernels, e.g. 2.6.14. cd .. cd linux-2.6.12 3.2.2.1 Apply additional patches for Xen 3.0 (unstable) for dom0 Kernel Patch –p1 < ~/xen/xen-unstable/patches/linux-2.6.12/smp-alts.patch Patch –p1 < ~/xen/xen-unstable/patches/linux-2.6.12/rcu-nohz.patch Patch –p1 < ~/xen/xen-unstable/patches/linux-2.6.12/pmd-shared.patch Patch –p1 < ~/xen/xen-unstable/patches/linux-2.6.12/net-csum.patch Patch –p1 < ~/xen/xen-unstable/patches/linux-2.6.12/cpu-hotplug-init.patch cd ../ In the kernel configuration menu that shows up we have to enable quota, iptables and the dummy network driver as modules. This is where you enable these modules: File systems
--> [*] Quota support Device Drivers ---> Networking support ---> <M> Dummy net driver support Device Drivers ---> Networking support ---> Networking options ---> [*] Network packet filtering (replaces ipchains) ---> IP: Netfilter Configuration ---> <M> IP tables support (required for filtering/masq/NAT) [*] means:
build into the kernel statically. Now we install the kernel to ~/xen/install: make modules Finally, we copy the kernel to the "real" locations: cd ../install/ 3.2.3
Configure The Bootloader And Reboot I
configured my kernel with SMP support, hence the name I have given my kernel.
Make sure you change the other settings to suit as per falko’s howto. title Xen 3.0.0 Debian SID dom0 2.6.12-6 SMP root (hd0,0) kernel /xen.gz dom0_mem=1024M vga=791 module /vmlinuz-2.6.12.6-xen0 root=/dev/hde2 ro console=tty0
Reply |



Recent comments
14 hours 20 min ago
19 hours 10 min ago
23 hours 58 min ago
1 day 2 hours ago
1 day 2 hours ago
1 day 2 hours ago
1 day 6 hours ago
1 day 7 hours ago
1 day 9 hours ago
1 day 17 hours ago