Installing Ubuntu 22.04 on a Lenovo Thinkpad T61p

05.06.2022

The Lenovo Thinkpad T61p isn't the newest Laptop, but for some lighter tasks, it is still good.

This machine has the following specifications:

Thanks to the bigger T9500 and the Nvidia Graphic chip it has no problem with web-browsing or playing older games.

There are also all drivers for Windows XP available, so it is also a nice XP machine for some retro-gaming.

So in this case Ubuntu 22.04 should be installed next to Windows XP in dual boot.

The correct order is to install Windows XP first and then Ubuntu 22.04, since a new bootloader will be installed with Ubuntu.

The installation process of XP is straight forward and requrires no extra steps. Only the SATA-SDD need to be in "compatible" mode - configureable in the BIOS.

Also the Ubuntu installation is nothing special but it as to be done in the "graphic safe mode" since the used linux nouveau drivers are not working correctly.

After the first boot, when the login screen should appear, the screen freezes: The mouse cursor is not responding and no keyboard input is recognized.

The problem is the used nouveau driver, which has some problem with the quite old FX570M (which is based on a NVIDIA GeForce 8600M GT).

In order to fix this, a driver from nvidia are needed. Sadly, it also not possible to just download the correct drivers (340.108) from Nvidia and just install them. The kernel of Ubuntu 22.04 is just too new for these old drivers.

Luckily, the developer Butterfly form launchpad.net has addressed this problem and provides the needed fixes in a repository.

So, a terminal is need to apply this fix. For this, in the grub loader, when the Ubuntu-Version is chosen to boot from, "e" must be pressed to edit the boot config.

In line, which starts with "linux", a blank and a "3" must be added a the end of this line. With "F10" the system boots into a console without a GUI.

After login, the repository can be added with these commands:

sudo add-apt-repository ppa:kelebek333/nvidia-legacy

Next, an "update" is needed:

sudo add-apt update

After the repository was installed correctly, the legacy drivers can be installed:

sudo apt-get install nvidia-340 xorg-modulepath-fix

After the driver was installed, the laptop should, with a required reboot, boot normally into Ubuntu 22.04.

So, with this fix, the machine should be usable for another few years. At least until the Ubuntu 22.04 LTS support ends in April 2032.


Misc