Installing Ubuntu on a ThinkPad 750P

From ThinkWiki
Revision as of 19:22, 22 December 2007 by Whizkid (Talk | contribs) (Changed to Dapper Drake (6.06 LTS).)
Jump to: navigation, search

Introduction

The goal: A modern Linux on an old machine. The result: Success! Well, moderate success, and hopefully more tweaks to come to get it as good as it can be. I have a 750P but the steps here apply to any 750 series machine. If we ever get the X Window System working, let's call out special varietal sections if needed (he said, suspecting he's the only loon who would even try to use a machine this old any more).

The alleged absolute minimum requirements for Ubuntu as of today (December 22, 2007) are a 486 CPU with floating point, 32MB RAM and around 400MB of disk. The 750 series has 4MB RAM built in and you'll need a 32MB IC DRAM card, which are getting rare. The 750 can natively handle hard drives up to 8GB in size, and will work with larger drives as long as your boot partition is in that first 8GB. I happen to have a 5GB drive with one partition for Debian Woody, a small swap partition and one for Ubuntu. I'll be using Ubuntu Dapper Drake, since it's the latest LTS (long term support) version, and it also happens to work on this machine.

You will also need a PCMCIA network card that is supported by the Ubuntu installer. I happen to have a LinkSys PCMPC100, but many cards are supported.

Readers, please make corrections here directly, or add them to the discussion tab, along with comments or suggestions for improvement. I'd really like more that just one person's experience here.

Notes

There are some major hurdles to clear just to get the installer to run.

  • The 750 will only boot from the floppy drive or its hard drive. It appears it could boot from a network card, if it's a special IBM network card, but I don't have one.
  • Ubuntu is meant to be run from CD.
  • The netboot files for Feisty (7.04) and Gutsy (7.10) crash on this machine.

Fortunately there are ways to surmount the obstacles.

  • Ubuntu provides a netboot installer which requires only two files that total less than 10MB, so they can fit on a few floppies.
  • You can install other OSes easily with just the floppy drive.
  • The netboot files for Dapper Drake (6.06 LTS) and Edgy Eft (6.10) do work on this machine.

I tried two ways to install Ubuntu. First, I took the example of the thisiscool.com fcfloppy package that takes the Fedora Core netboot and packages that onto floppies. I made a set for Gutsy, but that crashes. It should work for Edgy, but I haven't made those diskettes, and I don't want to make and distribute them because I'd have to distribute source. If we can get them hosted at the Ubuntu wiki, that would be great, and I will gladly provide my scripts.

The second way I actually finished was to first install Woody (see my guide on ThinkWiki), then downloaded the netboot files for Dapper, and used Lilo to load them and start the installer.

Since this is my first Ubuntu install that required more than clicking next, I'm going to go into detail. The process takes at least 9 hours, but you don't have to babysit it.

Preparation

From Linux

I started with Debian Woody. It could be done with DOS (see www.freedos.org) and I'll go into that in a little bit. You'll need a partition for the new Ubuntu installation and one for swap if you don't have one. Multiple versions of Linux can use the same swap partition.

Download the Dapper Drake netboot files. These commands do the job:

wget http://archive.ubuntu.com/ubuntu/dists/dapper/main/installer-i386/current/images/netboot/ubuntu-installer/i386/linux
wget http://archive.ubuntu.com/ubuntu/dists/dapper/main/installer-i386/current/images/netboot/ubuntu-installer/i386/initrd.gz

Edit /etc/lilo.conf to include these new files. My new section looks like this:

image=/root/linux
        label=dapmini
        read-only
        initrd=/root/initrd.gz
        optional

Run lilo and reboot. Select 'dapmini' from your boot menu, add the kernel parameter floppy=thinkpad and the installer will begin.

From DOS

If you have DOS on a floppy or the hard drive, here's another way to run the installer.

  • Load a ramdisk driver.
  • Get linld097.com. It's based on linload but works with larger newer Linux kernels.
  • Get the linux and initrd.gz files onto the ramdisk.
  • Run linld097 image=linux initrd=initrd.gz floppy=thinkpad

There are a few ways to get those files onto the ramdisk.

  • You could make a zip file on another machine, split it across floppies and put them together again (copy /b a + /b b + /b c file.zip should work) and use a zip file extractor.
  • You could use a LapLink cable to transfer the files.
  • You could get your network card working to copy the files.
  • You could use some kind of card reader. I think CF cards might work, but I couldn't get my PCMCIA SD card reader to work.

Installation Steps

Post-Installation Configuration

Next Steps