228 | | ==== how to boot ==== |
| 229 | === case 2 === |
| 230 | 1. $ sudo aptitude install -R 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 libsdl-dev libjpeg62-dev iasl libbz2-dev e2fslibs-dev git-core uuid-dev |
| 231 | {{{ |
| 232 | Note: selecting "libpci-dev" instead of the |
| 233 | virtual package "pciutils-dev" |
| 234 | The following NEW packages will be installed: |
| 235 | bridge-utils comerr-dev{a} e2fslibs-dev krb5-multidev{a} libbz2-dev |
| 236 | libcurl3 libcurl4-openssl-dev libgssrpc4{a} libidn11-dev{a} |
| 237 | libkadm5clnt-mit7{a} libkadm5srv-mit7{a} libkdb5-4{a} libkrb5-dev{a} |
| 238 | libldap2-dev{a} libpci-dev libvncserver-dev libvncserver0{a} mercurial |
| 239 | mercurial-common{a} python-crypto{a} python-dev python-openssl{a} |
| 240 | python-pkg-resources{a} python-pyasn1{a} python-twisted |
| 241 | python-twisted-bin{a} python-twisted-conch{a} python-twisted-core{a} |
| 242 | python-twisted-lore{a} python-twisted-mail{a} python-twisted-names{a} |
| 243 | python-twisted-news{a} python-twisted-runner{a} python-twisted-web{a} |
| 244 | python-twisted-words{a} python-zope.interface{a} texlive-fonts-extra tgif |
| 245 | The following packages are RECOMMENDED but will NOT be installed: |
| 246 | python-pam python-serial texlive-fonts-extra-doc |
| 247 | 0 packages upgraded, 38 newly installed, 0 to remove and 0 not upgraded. |
| 248 | Need to get 92.6MB of archives. After unpacking 264MB will be used. |
| 249 | }}} |
| 250 | 1. ~/xen-4.0.1$ make world |
| 251 | {{{ |
| 252 | Block-device tap backend driver (XEN_BLKDEV_TAP) [N/m/y/?] (NEW) y |
| 253 | }}} |
| 254 | 1. ~/xen-4.0.1$ sudo make install |
| 255 | 1. $ sudo vi /etc/fstab |
| 256 | {{{ |
| 257 | xenfs /proc/xen xenfs defaults 0 0 |
| 258 | }}} |
| 259 | 1. $ sudo mkinitramfs -o /boot/initrd.img-2.6.32.27 2.6.32.27 |
| 260 | 1. $ sudo vi /etc/grub.d/40_custom |
| 261 | {{{ |
| 262 | menuentry "Xen 4.0.1 2.6.32-27 pvops" { |
| 263 | insmod part_msdos |
| 264 | insmod ext2 |
| 265 | set root=(hd0,msdos1) |
| 266 | search --no-floppy --fs-uuid --set 96bc95f7-2de5-48a2-be1a-7bfd9d8ed206 |
| 267 | multiboot /boot/xen.gz |
| 268 | module /boot/vmlinuz-2.6.32-27 root=/dev/sda1 |
| 269 | module /boot/initrd.img-2.6.32.27 |
| 270 | } |
| 271 | }}} |
| 272 | 1. $ sudo update-grub |
| 273 | |
| 274 | === how to boot === |