Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- apt-get install bcc bin86 gawk bridge-utils iproute libcurl3 libcurl4-openssl-dev bzip2 module-init-tools transfig tgif texinfo texlive-latex-base texlive-latex-recommended texlive-fonts-extra texlive-fonts-recommended pciutils-dev mercurial build-essential make gcc libc6-dev zlib1g-dev python python-dev python-twisted libncurses5-dev patch libvncserver-dev libsdl1.2-dev libjpeg62-dev iasl libbz2-dev e2fslibs-dev git-core uuid-dev ocaml libx11-dev bison flex ocaml-findlib
- #----INSTALL-------
- #--COMPILE KERNEL--
- make KERNELS="linux-2.6-xen0 linux-2.6-xenU" world (for dom0 and domU)
- make KERNELS="linux-2.6-xen0 linux-2.6-xenU" install
- #or make only kernel
- make linux-2.6-build
- make linux-2.6-install
- #or compile hipervisor:
- cp xen-4.0.2/build-linux-2.6.18-xen_ia64 /usr/src
- make
- make install
- make modules
- make modules_install
- ################
- sudo make xen
- sudo make tools
- sudo make stubdom
- sudo make install-xen
- sudo make install-tools PYTHON_PREFIX_ARG=
- sudo make install-stubdom
- ДОСБОРКА МОДУЛЕЙ
- cd /usr/src/xen/xen-unstable.hg
- cd build-linux-2.6-pvops_x86_32
- make menuconfig
- make modules
- make modules_install
- #BUGZ:
- #make tools
- #> LINK i386-dm/qemu-dm
- #> vl.o: In function 'drive_get_index':
- #1) Delete the prior work
- #2) Unpack the tarball
- #3) apt-get install gcc-4.1
- #4) cd /downloads/xen-4.0.0/linux-2.6.18-xen.hg/
- # hg update -C -r 1016
- # cd /downloads/xen-4.0.0
- #5) make CC=gcc-4.1
- #------- Install bootloader
- update-initramfs -c -p 2.6.18.8-xen
- #/etc/elilo.conf
- image=/boot/vmlinuz-2.6.18.8-xen
- label=Xen
- root=<your root device>
- vmm=/boot/xen.gz
- initrd=/boot/initrd.img-2.6.18.8-xen
- append="dummy=dummy dom0_mem=1024M xencons=tty --"
- elilo --efiboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement