| 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 | {{{ |
| 36 | The following packages are BROKEN: |
| 37 | ubuntu-xen-server |
| 38 | The 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 |
| 43 | The following packages are RECOMMENDED but will NOT be installed: |
| 44 | libc6-dev |
| 45 | 0 packages upgraded, 14 newly installed, 0 to remove and 0 not upgraded. |
| 46 | Need to get 39.3MB/39.5MB of archives. After unpacking 120MB will be used. |
| 47 | The following packages have unmet dependencies: |
| 48 | ubuntu-xen-server: Depends: xen-tools which is a virtual package. |
| 49 | The following actions will resolve these dependencies: |
| 50 | |
| 51 | Keep the following packages at their current version: |
| 52 | ubuntu-xen-server [Not Installed] |
| 53 | |
| 54 | Score is -9881 |
| 55 | |
| 56 | Accept this solution? [Y/n/q/?] Y |
| 57 | The 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 |
| 62 | The following packages are RECOMMENDED but will NOT be installed: |
| 63 | libc6-dev |
| 64 | 0 packages upgraded, 13 newly installed, 0 to remove and 0 not upgraded. |
| 65 | Need to get 39.3MB/39.5MB of archives. After unpacking 120MB will be used. |
| 66 | Do you want to continue? [Y/n/?] |
| 67 | |
| 68 | (snip) |
| 69 | |
| 70 | Processing triggers for python-central ... |
| 71 | Setting up xen-utils-3.3 (3.3.0-1ubuntu11) ... |
| 72 | update-rc.d: warning: xend stop runlevel arguments (0 1 6) do not match LSB Default-Stop values (S 0 1 6) |
| 73 | grep: /proc/xen/capabilities: No such file or directory |
| 74 | update-rc.d: warning: xendomains start runlevel arguments (2 3 4 5) do not match LSB Default-Start values (3 4 5) |
| 75 | update-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 | {{{ |
| 82 | Linux 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 | {{{ |
| 88 | grep: /proc/xen/capabilities: No such file or directory |
| 89 | }}} |
| 90 | |
| 91 | === remove xen 3.3 === |
| 92 | * $ sudo vim /etc/fstab |
| 93 | {{{ |
| 94 | xenfs /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 | {{{ |
| 106 | The 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 |
| 111 | 0 packages upgraded, 0 newly installed, 13 to remove and 0 not upgraded. |
| 112 | }}} |