Ivor O’Connor

May 10, 2009

Moving To A New Ubuntu System

Filed under: Uncategorized — ioconnor @ 6:26 pm

This will be a work in progress attempting to document things so I can more easily move laptops in the future.

  1. Install the packages currently used over to the new laptop by making a list of them on the current laptop and then installing them on the new laptop.
    1. On the old Ubuntu system make a file containing the packages. Give it a file name containing the date, time, and machine name so you know what you are dealing with in the distant future:
      dpkg –get-selections > $(echo $(date +%Y.%m.%d:%H.%M.%S)-$HOSTNAME-package-list)
      This command will make a file in the local directory similar to:
      2009.05.10:11.09.37-me-package-list
    2. Copy the file package list over to the new computer and type:
      1. sudo dpkg — set-selections < 2009.05.10:11.09.37-me-package-list
      2. sudo apt-get update
      3. sudo apt-get dselect-upgrade

    Now kick back and do something else. This may take hours to finish depending on how many packages you have.

  2. When finished reboot twice so as to know how much longer it takes to boot with the extra packages. (In my case it now takes 32 seconds, 12 more than before the packages were installed.)
Advertisements

Leave a Comment »

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com.

%d bloggers like this: