Difference between revisions of "Moving Ubuntu 10.04 to a ThinkPad X220"

From ThinkWiki
Jump to: navigation, search
Line 1: Line 1:
Ubuntu 11.04 has too many annoying changes
+
Perhaps you think that Ubuntu 11.04 has too many annoying changes
 
(and some irritating bugs that affect usability)
 
(and some irritating bugs that affect usability)
to be considered as an option.
+
to be considered as an option for use an a ThinkPad X220.
Ubuntu 10.04 does not work out of the box on the Thinkpad X220,
+
 
and in any case the X220 does not accept a 9.5mm-thick notebook drive
+
Suppose you have Ubuntu 10.04 installed on an older ThinkPad
—
+
and you want to continue using that.
it needs one of the new 7mm slim drives
+
 
 +
Unfortunately, you can't just move the drive over:
 +
the X220 does not accept a 9.5mm-thick notebook drive
 
—
 
—
so one can't move the old drive to the new laptop.
+
it needs one of the new 7mm slim drives.
  
Anyway, if you already have a working Ubuntu 10.04 installation on your machine
+
Here are the steps to take.
and want to move it to your new X220 here's a simple recipe:
 
  
 
- boot the X220 with a Ubuntu 11.04 CD
 
- boot the X220 with a Ubuntu 11.04 CD

Revision as of 13:20, 10 July 2011

Perhaps you think that Ubuntu 11.04 has too many annoying changes (and some irritating bugs that affect usability) to be considered as an option for use an a ThinkPad X220.

Suppose you have Ubuntu 10.04 installed on an older ThinkPad and you want to continue using that.

Unfortunately, you can't just move the drive over: the X220 does not accept a 9.5mm-thick notebook drive — it needs one of the new 7mm slim drives.

Here are the steps to take.

- boot the X220 with a Ubuntu 11.04 CD

- partition the disk in the X220 to your liking

- transfer your existing installation to the X220 disk over the network; I prefer using netcat + dump/restore, but rsync will work too

- chroot to your new installation

- add the following at the top of your /etc/apt/sources.list

   deb http://us.archive.ubuntu.com/ubuntu/ natty main restricted universe

- as root, run the following:

 apt-get update
 apt-get install linux-image-generic-pae linux-firmware

- make sure you install a boot loader in the new disk

And that's all it takes. You'll end up with your existing 10.04 installation running a recent kernel that supports the hardware on the X220.

Graphics

The recipe above will use the framebuffer for your graphic session. It is recommended that you install the intel driver from glasen as described here