wiki:UpgradeNotes

Version 2 (modified by Ted Faber, 12 years ago) (diff)

--

Notes from Upgrading to Ubuntu 12.04 from 10.04

The new VMs

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:

  • Used a hardware type that supports virtualization - pc2133
  • Used tb-allow-external to allow the Ubuntu install to proceed. It expects external connectivity.
    • I added the Ubunutu 10.04 image to the list of images allowed to access external hosts temporarily to do this
  • The image file itself was created using
$ qemu-img create -f qcow2 /tmp/pangolin.img 10G

To do the install on an X window I needed to log into the DETER node hosting qemu using

$ ssh -Y pc055

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.

The defaulty /etc/resolve.conf doesn't resolve scratch, so I copied one from the host on which QEMU was running.

After this sudo apt-get update succeeds.

Ubuntu doesn't enable sshd by default. Be sure to:

$ apt-get install openssh-server

Shut down teh VM and store the image on scratch

$ scp pangolin.img scratch:/var/www/benito

Attachments (8)

Download all attachments as: .zip