brouillon_xen_32_64
Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
brouillon_xen_32_64 [2009/03/29 14:25] – thierry | brouillon_xen_32_64 [2009/03/30 21:20] (Version actuelle) – thierry | ||
---|---|---|---|
Ligne 134: | Ligne 134: | ||
Sur la destination, | Sur la destination, | ||
# fsck.ext3 / | # fsck.ext3 / | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
Ligne 159: | Ligne 177: | ||
et voila. | et voila. | ||
+ | |||
+ | === test === | ||
+ | $ uname -r | ||
+ | 2.6.26-1-amd64 | ||
+ | $ file /bin/ls | ||
+ | /bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped | ||
+ | |||
+ | Ok. | ||
+ | === xen == | ||
+ | |||
+ | # aptitude install xen-hypervisor linux-image-xen-amd64 | ||
+ | # aptitude install xen-tools | ||
+ | |||
+ | | :!: par de " | ||
+ | |||
+ | | :!: je comprend pas le commentaire du package " | ||
+ | |||
+ | |||
+ | Redemarrer sous xen...: reboot | ||
+ | |||
+ | === test === | ||
+ | # uname -r | ||
+ | 2.6.26-1-xen-amd64 | ||
+ | |||
+ | === xen grub === | ||
+ | Faire en sorte d' | ||
+ | |||
+ | ## Xen Linux kernel options to use with the default Xen boot option | ||
+ | # xenkopt=console=tty0 xencons=off | ||
+ | |||
+ | === xen reseau === | ||
+ | Sans réseau, point de salut ! | ||
+ | |||
+ | Ce qu'il y a dans le reseau: | ||
+ | # egrep -v " | ||
+ | auto lo | ||
+ | iface lo inet loopback | ||
+ | auto eth0 | ||
+ | iface eth0 inet manual | ||
+ | auto xenbr0 | ||
+ | iface xenbr0 inet static | ||
+ | address 192.168.0.52 | ||
+ | netmask 255.255.255.0 | ||
+ | gateway 192.168.0.254 | ||
+ | broadcast 192.168.0.255 | ||
+ | bridge_ports eth0 | ||
+ | # optional | ||
+ | bridge_stp off | ||
+ | bridge_maxwait 0 | ||
+ | |||
+ | | :!: activer la methode " | ||
+ | |||
+ | Dans **''/ | ||
+ | # egrep -v " | ||
+ | (network-script network-dummy) | ||
+ | (vif-script vif-bridge) | ||
+ | (dom0-min-mem 196) | ||
+ | (dom0-cpus 0) | ||
+ | (vncpasswd '' | ||
+ | |||
+ | Et puis: | ||
+ | # / | ||
+ | Bonne chance. | ||
+ | |||
+ | === domu === | ||
+ | Modifier la config de chaque " | ||
+ | kernel | ||
+ | ramdisk = '/ | ||
+ | # | ||
+ | #ramdisk = '/ | ||
+ | | ||
+ | extra = ' | ||
+ | |||
+ | Le " | ||
+ | |||
+ | Mounter chaque " | ||
+ | # mkdir /mnt/domu | ||
+ | # mount / | ||
+ | ... et faire les modifications suivantes: | ||
+ | # cp -dpR / | ||
+ | ... modifier " | ||
+ | 1: | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | # | ||
+ | sinon, plus de " | ||
+ | |||
+ | Mais aussi, editer **'' | ||
+ | # TJ ------ | ||
+ | # xen console | ||
+ | hvc0 | ||
+ | Sinon, ' | ||
+ | |||
+ | Demarrer " | ||
+ | # xm create < | ||
+ | ... | ||
+ | # file /bin/ls | ||
+ | /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.8, stripped | ||
+ | # uname -r | ||
+ | 2.6.26-1-xen-amd64 | ||
+ | Etrangement, | ||
+ | |||
+ | Pour les DomU " | ||
+ | Installer " | ||
+ | |||
+ | Faire attention au changement de " | ||
+ | |||
+ | ===== Un bilan ===== | ||
+ | Y a surement plus simple, (par exemple, sans re-installer a la main tout les packages), mais ca fonctionne. | ||
brouillon_xen_32_64.txt · Dernière modification : 2009/03/30 21:20 de thierry