ProperBlog

Security for the masses

Skip to: Content | Sidebar | Footer

Ubuntu 9.04 to 10.04 LTS

11 January, 2011 (11:46) | LAMP | By: Blogkeep

I built this server on Ubuntu 9.04 which only has an 18 month update cycle. It is time to upgrade to a LTS or long term support version. I am going to upgrade to 10.04. The first thing to do is make a full back up of the current system. For this I used tar and issued the following command as root:

tar cvpjf backup.tar.bz2 --exclude=/proc -exclude=/lost+found --exclude=/backup.tar.bz2 --exclude=/mnt --exclude=/sys /

The exclude options stop the backing up of running processes, mounted file systems like USB drives and CD roms the /sys directory which is a virtual file system generated at each boot and the backup file itself.

Once the command had completed I moved the resulting file to my home folder and SFTP’d it to a windoze box.

upgrading directly to 10.04 from 9.04 is not supported so I will be upgrading to 9.10 first. I will do this buy issuing the command:

sudo do-release-upgrade
twice, the first time to upgrade 9.04 to 9.10 and the second time to upgrade 9.10 to 10.04 LTS.

I normally ssh into my server for updates and general admin, even though it is under my desk, it is quicker than fishing the keyboard out and switching the input of my monitor. However performing a release upgrade is not recommended over ssh.

I will start the upgrade to 9.10 now and if all goes well I will back soon to comment on the process.

OK I’m back, that wasn’t as smooth as I expected. This entry in my fstab caused my system to fail at mounting the root partition, as well as /dev/shm which just doesn’t exist.


# Reconfig of shared memory security measure-matthewlyle-ubuntu-sec
tempfs /dev/shm tempfs defaults,ro 0 0

I commented out this mount point and the system booted OK and here I am. I will have to look into this “shared memory security measure”. So now the server is at 9.10, time to upgrade to 10.04 LTS.

Back soon or much later….

Well that went very smooth, server now running 10.04 LTS

Write a comment