Advertisement
mightyroot

Xen on IA64

Oct 4th, 2011
481
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.74 KB | None | 0 0
  1. 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
  2.  
  3. #----INSTALL-------
  4. #--COMPILE KERNEL--
  5. make KERNELS="linux-2.6-xen0 linux-2.6-xenU" world (for dom0 and domU)
  6. make KERNELS="linux-2.6-xen0 linux-2.6-xenU" install
  7.  
  8. #or make only kernel
  9.  
  10. make linux-2.6-build
  11. make linux-2.6-install
  12.  
  13. #or compile hipervisor:
  14.  
  15. cp xen-4.0.2/build-linux-2.6.18-xen_ia64 /usr/src
  16. make
  17. make install
  18. make modules
  19. make modules_install
  20.  
  21. ################
  22.  
  23. sudo make xen
  24. sudo make tools
  25. sudo make stubdom
  26. sudo make install-xen
  27. sudo make install-tools PYTHON_PREFIX_ARG=
  28. sudo make install-stubdom
  29.  
  30.  
  31.  
  32. ДОСБОРКА МОДУЛЕЙ
  33.  cd /usr/src/xen/xen-unstable.hg
  34.  cd build-linux-2.6-pvops_x86_32
  35.  make menuconfig
  36.  make modules
  37.  make modules_install
  38.  
  39.  
  40. #BUGZ:
  41. #make tools
  42. #> LINK  i386-dm/qemu-dm
  43. #> vl.o: In function  'drive_get_index':
  44.  
  45. #1) Delete the prior work
  46. #2) Unpack the tarball
  47. #3) apt-get install gcc-4.1
  48. #4) cd /downloads/xen-4.0.0/linux-2.6.18-xen.hg/
  49. #   hg update -C -r 1016
  50. #   cd /downloads/xen-4.0.0
  51. #5) make CC=gcc-4.1
  52.  
  53.  
  54. #------- Install bootloader
  55. update-initramfs -c -p 2.6.18.8-xen
  56.  
  57. #/etc/elilo.conf
  58.     image=/boot/vmlinuz-2.6.18.8-xen
  59.     label=Xen
  60.     root=<your root device>
  61.     vmm=/boot/xen.gz
  62.     initrd=/boot/initrd.img-2.6.18.8-xen
  63.     append="dummy=dummy dom0_mem=1024M xencons=tty --"
  64.  
  65. elilo --efiboot
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement