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.
- Stop the machine (do not terminate it)
- Take a snapshot
- When the snapshot has completed, restart the machine
- Create a new volume in the same availability zone as the current one, but with the new size
- Attach the new volume to the old machine using the amazon aws console (the device I used is /dev/sdd)
- e2fsck -f /dev/sdd
- resize2fs -f /dev/sdd
- e2fsck -f /dev/sdd
- Detach the volume
- Create a new shapshot
- 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
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:
- Uninstall Thunderbird 2.0 using Synaptic or Aptitude
- Backup the directory ~/.mozilla-thunderbird
- 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