Blog

Archive for December 2009

How to resize the root partition on an Amazon EC2 instance which has its root partition backed by Elastic Block Storage (EBS).

At the time of writing the documentation seems a little incomplete in this respect, so here is what I did to make a larger root partition on an Ubuntu Karmic Server EC2 instance.

  1. Stop the machine (do not terminate it)
  2. Take a snapshot
  3. When the snapshot has completed, restart the machine
  4. Create a new volume in the same availability zone as the current one, but with the new size
  5. Attach the new volume to the old machine using the amazon aws console (the device I used is /dev/sdd)
  6. e2fsck -f /dev/sdd
  7. resize2fs -f /dev/sdd
  8. e2fsck -f /dev/sdd
  9. Detach the volume
  10. Create a new shapshot
  11. Create a new AMI from the new snapshot
      ./ec2-register -K ~/ec2/pk-mypk.pem -C ~/ec2/cert-mycert.pem -n MyUniqueName -s snap-mysnap --kernel aki-5f15f636 --ramdisk ari-0915f660
Posted By: admin on Dec 09, 2009 04:18PM Category:Ubuntu Add Comment

Fabien Tassin maintains a PPA repository of recently released and pre-release Mozilla software at: https://launchpad.net/~ubuntu-mozilla-daily/+archive/ppa

With Ubuntu Karmic its fairly easy to add this repository to the list of sources aptitude will use.

Open a command line terminal and use the following:

  sudo add-apt-repository ppa:ubuntu-mozilla-daily
sudo apt-get update

You can then install Thunderbird 3 using Synaptic Package Manager or from the command line:

  apt-get install thunderbird-3.0

If you are going to migrate from Thunderbird 2 to 3 do not start Thunderbird yet!

In order to smoothly migrate your profile from Thunderbird 2, you should do the following:

  1. Uninstall Thunderbird 2.0 using Synaptic or Aptitude
  2. Backup the directory ~/.mozilla-thunderbird
  3. Make a symbolic link from .thunderbird-3.0 to .mozilla-thunderbird using
     cd ~/
ln -fs .mozilla-thunderbird .thunderbird-3.0

Then start Thunderbird 3.0 (You will actually find that its under a menu item called Shredder 3 Mail/News). I am not sure why but I suspect its to do with licensing restrictions on distributing binaries

Have fun. And remember - make a backup before you start

Posted By: admin on Dec 09, 2009 02:01PM Category:Ubuntu Add Comment