Changes between Version 1 and Version 2 of TipAndDoc/VM/Xen


Ignore:
Timestamp:
Jan 19, 2011 8:24:03 PM (10 years ago)
Author:
mitty
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • TipAndDoc/VM/Xen

    v1 v2  
    2323}}} 
    2424   * see also [http://blog.o-x-t.com/2008/05/09/ttys-killed-on-ubuntu-hardy-heron-vps/ OXT blog » Blog Archive » tty’s killed on Ubuntu Hardy Heron VPS] 
     25 
     26 = Xen with Ubuntu lucid = 
     27 * https://help.ubuntu.com/community/Xen 
     28  * Maverick Notes (Xen 4.0.1 pvops on Ubuntu 10.10) 
     29  > The Xen packages that come with Ubuntu 10.10 ubuntu-xen-desktop and ubuntu-xen-server have broken dependencies. Therefore, we will have to download Xen source and build it. 
     30 
     31 == force install ubuntu-xen-server == 
     32 * 結論としては「失敗」 
     33 
     34 * $ sudo aptitude install -R ubuntu-xen-server 
     35{{{ 
     36The following packages are BROKEN: 
     37  ubuntu-xen-server 
     38The following NEW packages will be installed: 
     39  libc6-xen libsdl1.2debian{a} libsdl1.2debian-alsa{a} linux-generic-pae 
     40  linux-image-2.6.32-27-generic-pae linux-image-generic-pae linux-server 
     41  python-dev{a} python-xen-3.3 python2.6-dev{a} xen-docs-3.3 
     42  xen-hypervisor-3.3 xen-utils-3.3 
     43The following packages are RECOMMENDED but will NOT be installed: 
     44  libc6-dev 
     450 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded. 
     46Need to get 39.3MB/39.5MB of archives. After unpacking 120MB will be used. 
     47The following packages have unmet dependencies: 
     48  ubuntu-xen-server: Depends: xen-tools which is a virtual package. 
     49The following actions will resolve these dependencies: 
     50 
     51Keep the following packages at their current version: 
     52ubuntu-xen-server [Not Installed] 
     53 
     54Score is -9881 
     55 
     56Accept this solution? [Y/n/q/?] Y 
     57The following NEW packages will be installed: 
     58  libc6-xen libsdl1.2debian{a} libsdl1.2debian-alsa{a} linux-generic-pae 
     59  linux-image-2.6.32-27-generic-pae linux-image-generic-pae linux-server 
     60  python-dev{a} python-xen-3.3 python2.6-dev{a} xen-docs-3.3 
     61  xen-hypervisor-3.3 xen-utils-3.3 
     62The following packages are RECOMMENDED but will NOT be installed: 
     63  libc6-dev 
     640 packages upgraded, 13 newly installed, 0 to remove and 0 not upgraded. 
     65Need to get 39.3MB/39.5MB of archives. After unpacking 120MB will be used. 
     66Do you want to continue? [Y/n/?] 
     67 
     68(snip) 
     69 
     70Processing triggers for python-central ... 
     71Setting up xen-utils-3.3 (3.3.0-1ubuntu11) ... 
     72update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (S 0 1 6) 
     73grep: /proc/xen/capabilities: No such file or directory 
     74update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) 
     75update-rc.d: warning: xendomains stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (0 1 2 6) 
     76 
     77(snip) 
     78}}} 
     79 
     80 * $ uname -a 
     81{{{ 
     82Linux milly 2.6.32-27-generic-pae #49-Ubuntu SMP Thu Dec 2 00:07:52 UTC 2010 i686 GNU/Linux 
     83}}} 
     84 
     85 === cannot start xend === 
     86 * $ sudo service xend start 
     87{{{ 
     88grep: /proc/xen/capabilities: No such file or directory 
     89}}} 
     90 
     91 === remove xen 3.3 === 
     92 * $ sudo vim /etc/fstab 
     93{{{ 
     94xenfs /proc/xen xenfs defaults 0 0 
     95}}} 
     96 > An error occured while mounting /proc/xen 
     97 
     98 * $ sudo aptitude remove -R \ 
     99{{{ 
     100>   libc6-xen libsdl1.2debian libsdl1.2debian-alsa linux-generic-pae\ 
     101>   linux-image-2.6.32-27-generic-pae linux-image-generic-pae linux-server\ 
     102>   python-dev python-xen-3.3 python2.6-dev xen-docs-3.3\ 
     103>   xen-hypervisor-3.3 xen-utils-3.3 
     104}}} 
     105{{{ 
     106The following packages will be REMOVED: 
     107  libc6-xen libsdl1.2debian libsdl1.2debian-alsa linux-generic-pae 
     108  linux-image-2.6.32-27-generic-pae linux-image-generic-pae linux-server 
     109  python-dev python-xen-3.3 python2.6-dev xen-docs-3.3 xen-hypervisor-3.3 
     110  xen-utils-3.3 
     1110 packages upgraded, 0 newly installed, 13 to remove and 0 not upgraded. 
     112}}}