Difference between revisions of "Installing Ubuntu on a ThinkPad 750P"
(Checkpoint.) |
(Swap and partitions.) |
||
Line 28: | Line 28: | ||
==Preparation== | ==Preparation== | ||
===From Linux=== | ===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. | + | 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 Edgy Eft netboot files. These commands do the job: | Download the Edgy Eft netboot files. These commands do the job: | ||
Line 45: | Line 45: | ||
Run '''lilo''' and reboot. Select ''''edgymini'''' from your boot menu, add the kernel parameter '''floppy=thinkpad''' and the installer will begin. | Run '''lilo''' and reboot. Select ''''edgymini'''' from your boot menu, add the kernel parameter '''floppy=thinkpad''' and the installer will begin. | ||
+ | |||
===From DOS=== | ===From DOS=== | ||
If you have DOS on a floppy or the hard drive, here's another way to run the installer. | If you have DOS on a floppy or the hard drive, here's another way to run the installer. |
Revision as of 19:04, 22 December 2007
Contents
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.
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.
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 386 netboot files for Edgy, 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 Edgy Eft netboot files. These commands do the job:
wget http://archive.ubuntu.com/ubuntu/dists/edgy/main/installer-i386/current/images/netboot/mini.iso mkdir /mnt/iso mount -t iso9660 -o loop mini.iso /mnt/iso cp /mnt/iso/linux . cp /mnt/iso/initrd.gz .
Edit /etc/lilo.conf to include these new files. My new section looks like this:
image=/root/linux label=edgymini read-only initrd=/root/initrd.gz optional
Run lilo and reboot. Select 'edgymini' 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 the old LapLink cable and transfer the files that way.
- You could get your network card working and 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.