| 1 | = Notes from Upgrading to Ubuntu 12.04 from 10.04 = |
| 2 | |
| 3 | == The new VMs == |
| 4 | |
| 5 | Upgraded the VM instance by swapping in an Ubuntu 10.04 image (the pre-upgrade version) and installing a new 12.04 i386 install. Special things I did: |
| 6 | |
| 7 | * Used a hardware type that supports virtualization - {{{pc2133}}} |
| 8 | * Used tb-allow-external to allow the Ubuntu install to proceed. It expects external connectivity. |
| 9 | * I added the Ubunutu 10.04 image to the list of images allowed to access external hosts temporarily to do this |
| 10 | * The image file itself was created using |
| 11 | |
| 12 | {{{ |
| 13 | $ qemu-img create -f qcow2 /tmp/pangolin.img 10G |
| 14 | }}} |
| 15 | |
| 16 | To do the install on an X window I needed to log into the DETER node hosting qemu using |
| 17 | |
| 18 | {{{ |
| 19 | $ ssh -Y pc055 |
| 20 | }}} |
| 21 | |
| 22 | Once I had a bootable image, I booted it, logged in, and changed {{{/etc/apt/sources.list}}} to point to scratch instead of the various ubuntu and cannonical sources. After the substitutions there were 2 duplicates that I commented out. |
| 23 | |
| 24 | The defaulty {{{/etc/resolve.conf}}} doesn't resolve scratch, so I copied one from the host on which QEMU was running. |
| 25 | |
| 26 | After this {{{sudo apt-get update}}} succeeds. |