Changes between Version 9 and Version 10 of TipAndDoc/VM/Xen


Ignore:
Timestamp:
Jan 20, 2011 10:21:23 PM (9 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/VM/Xen

    v9 v10  
    129129 * 以下の手順ではXen Kernelの起動に成功していない[[br]][[Image(ubuntu-xen4-elf_xen_note_check.png, 33%)]] 
    130130 
     131 === case 1 === 
    131132 ==== build kernel ==== 
    132133 1. $ sudo aptitude install -R bcc bin86 build-essential gettext ghostscript git-core iasl libncurses5-dev libsdl1.2-dev libssl-dev python2.6-dev texinfo texlive-binaries texlive-fonts-recommended texlive-latex-base texlive-latex-recommended transfig uuid-dev x11proto-core-dev zlib1g-dev 
     
    226227 1. $ sudo update-grub 
    227228 
    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{{{ 
     232Note: selecting "libpci-dev" instead of the 
     233      virtual package "pciutils-dev" 
     234The 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 
     245The following packages are RECOMMENDED but will NOT be installed: 
     246  python-pam python-serial texlive-fonts-extra-doc 
     2470 packages upgraded, 38 newly installed, 0 to remove and 0 not upgraded. 
     248Need 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{{{ 
     257xenfs /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{{{ 
     262menuentry "Xen 4.0.1  2.6.32-27 pvops" { 
     263insmod part_msdos 
     264insmod ext2 
     265set root=(hd0,msdos1) 
     266search --no-floppy --fs-uuid --set 96bc95f7-2de5-48a2-be1a-7bfd9d8ed206 
     267multiboot /boot/xen.gz 
     268module /boot/vmlinuz-2.6.32-27 root=/dev/sda1 
     269module /boot/initrd.img-2.6.32.27 
     270} 
     271}}} 
     272 1. $ sudo update-grub 
     273 
     274 === how to boot === 
    229275 * WORK IN PROGRESS 
    230276