Sunday, October 21, 2007

Ubuntu Linux new version upgrade

There's couple of ways to upgrade to new version of Ubuntu Linux. Of all those I found that use "apt-get upgrade via mounted iso image(alternate CD) is the most efficient way.

Here is how to do it.

1. Grab Ubuntu Linux alternate CD by using your favorite torrent client.

2. mount iso image to /media/cdrom (so that apt-cdrom can find it without any trouble)

# sudo mount -t iso9660 ubuntu-x.xx-alternatie-xxxx.iso /media/cdrom -o loop

3. add mounted iso image as port of apt sources.list

# sudo apt-cdrom -m add (-m tells apt-cdrom not to mount iso image, since it already mounted)

4. time to upgrade

# sudo apt-get dist-upgrade

5. Now it's time to grab a cup of whatever you like and sit back to let upgrade did the job.

6. After dist-upgrade done, use update manager for update system to most current state.

No comments: