This page provides a brief guide to installing SuSE Linux on an IBM ThinkPad 240x. The short version is: It all works pretty well. There are not too many hurdles, and you end up with an excellent sub-notebook running an excellent distribution of Linux. This page was inspired by these notes on the 240x written by Ross Miller. I found his notes to be an invaluable guide while I was fumbling around trying to get all of the ThinkPad's features to work. First a little about my choice of hardware and software. IBM ThinkPad 240xWeighs only 1.5kg (3lb). I think that this is mainly due to the lack of a CD-ROM drive. Very good battery life of c. 4 hours (supposedly!). It's got a fast Pentium III chip running at 500MHz - that's the same as my desktop! And it's cheap - I got mine on Tottenham Court Road in London for £599 + VAT. Just as important, it looks really good. I was on the verge of buying an iMac. They have a very impressive set of features for the price, and Hilde would be much happier with a Macintosh. However, the new iMac is just ugly - all white and plastic. We decided that it looked like a tupperware box! The IBM is tiny and thin, with a nice metallic black sheen on the top cover. My ThinkPad came with only 64Mb of memory, which is frankly insufficient. I've since upgraded to 128Mb for only £10. The extra performance is well worth the small expense. Memory is so cheap these days that I advise anybody to buy as much as their PC will take. SuSE Linux 7.2I've always used SuSE Linux on my desktops, so it was an obvious choice for this notebook. Unfortunately SuSE 7.0 only comes with XFree86 v4.00, which doesn't support the ThinkPad 240x's video drivers. So, I had to buy a new distro... and yet again SuSE seemed to have the best value for money. I purchased SuSE Linux 7.2 from PC World <cringe> for £50. 3Com 10/100 Ethernet Cardbus PC CardYou need a network card in order to install software, since the ThinkPad comes without a CD-rom drive. (I suppose that you could buy the separate CD drive - but I've no need for a CD drive and didn't want to purchase one just for the purpose of installing the software.) Initially I bought a Psion/Dacom LANGLOBAL 10/100 Ethernet PC card. Don't do this! This Psion card is not supported. (Doh!) I found some good testimonials about 3Com PC cards on the web, and I carefully checked that the one I was buying was on the list of supported cards. The one I bought was a 'Dell' branded "3CCFE575CT". It works beautifully, and even comes with its own short Ethernet cable. InstallationThe most obvious barrier to installation was the lack of a CD-rom drive. My solution was to install via NFS. I have a desktop PC with a DVD drive running Linux, so I simply shared the SuSE 7.2 DVD across the network, and used the "NFS" installation option. The fact that the entire distribution fits onto one DVD makes the installation very easy. The alternative would be to swaps CDs in and out of the drive, mounting and un-mounting them. If you have a desktop PC running windows, I suppose that you could start up the windows FTP server and do the installation via FTP. I don't imagine that you'd run into any problems. Details: To share the SuSE Linux 7.2 DVD via NFS.
Now you're ready to begin the actual installation. Attach the floppy disk drive to your ThinkPad 240x and insert the SuSE Linux 7.2 boot disk. Start the machine and select "SVGA" graphical installation. The SuSE installer automatically detects your PCMCIA chipset and asks for the Modules disk to be inserted. Follow the instructions, and the installer will read from the disk and then pop-up a red dialogue that states that the installation CD cannot be found. Press <return> to proceed. Select your language and keyboard map, and you should be at the Main Menu. Before you start the installation, insert your Ethernet PC card into the slot. You should hear two high-pitched beeps, which tells you that the PCMCIA driver has detected the card and installed the appropriate driver - magic! Eject the floppy disk - you don't need it any more. Next, begin the installation process: The installer now asks you to configure your network connection. I chose No to Automatic configuration via bootp? and entered IP addresses manually. After a while, you are presented with a choice between YaST1 and YaST2 installation - choose YaST2 for the prettier of the two installers. The graphical installer now starts up and you can proceed as normal. There are just a couple of things worth pointing out... Make a Hibernation Partition during InstallationThe ThinkPad has the capability to write its memory state to the hard-disk and turn itself off. This enables you to avoid rebooting the machine every time you want to turn it off. Great! To enable this function you need a small partition on the hard-disk. So when you get to the screen Preparing Hard Disk - Step 1, select the second option Custom partitioning - for experts. Make the following partitions on the Hard Disk: (This is my actual configuration for my 11.2 GB disk.)
First delete all of the existing partitions and then create four new primary partitions. Refer to the Reference Manual for instructions on how large to make these. In a nutshell, the /boot partition need only be tiny, but it should be first. The swap partition should be at least 128 MB. Make the IBM Thinkpad partition by selecting Create -->
Primary Partition to get the usual partition definition screen. Select
the Do not format radio button, and manually type Don't use ReiserFSThe root '/' partition should contain the balance of the disk's space. You'll note that I've formatted it with the "traditional" Linux filesystem - Ext2. There are two very good reasons not to use SuSE's "filesystem for the next generation" - ReiserFS:
Extra packagesWhen you get to Software Selection choose a basic software package (the default is Default system with Office, which works fine for me), and the click on Detailed selection... --> Select single packages.... This takes you to a screen which allows to to select individual RPMs to install as well as the default set. You will need... lphdisk in
order to format your hibernation partition. Find it in group
noflushd enables your hard disk to spin down when its not in use. This
is important if you want to maximize your battery life. Find it in group
nedit is an excellent editor, made
especially for people like me who hate both vi and emacs! You
don't really need it, but I thought it was worth plugging it here. Find it in
group wmakerconf
allows you to configure WindowMaker, my recommended window manager.
Find it in group X Server. (First Boot Up during Installation)The video controller is a Silicon Motion LynxEM+. You need at least XFree86 v4.02 for native support of this controller. Don't bother trying with XFree86 v3.3 - it interacts very badly with the stand-by functions. After you've waited for a very long time, the installation of packages will come to an end, and the installer will boot up your new system for the first time. It immediately goes into some basic configuration screens, one of which is X Server configuration. My first glitch hit me here. Whatever display I selected, the screen would just go blank. The hard drive would churn for a few seconds and nothing further would happen. After a little bit of playing around I discovered that the glitch isn't very serious. Just select the screen type (I selected VESA 800x600 at 75Hz, I'm sure the LCD 800x600 or even the IBM ThinkPad would be equally good choices) and then press <return> a few times until you get the test screen. Select Abort to get back to the display setup screen. The only change I made was to increase the screen depth from 8 to 16-bit. Then test and save the configuration. The SuSE setup program correctly identifies the video driver chipset and selects the correct XFree86v4 module (siliconmotion). I've not had to change the setup since. The SuSE default even selects middle mouse button emulation, so that you can middle-click by pressing down both mouse buttons at the same time. Ross Miller has reported some screen redraw problems with Netscape. I get this with Netscape and some other apps too (konsole). It doesn't seem to cause any real inconvenience, but it would be nice to know how to solve it. Sound (Cirrus Logic CS4281)My initial installation failed to install the sound configuration package for YaST2. I'm pretty sure that this is a problem with my DVD, rather than a general problem. Installing this package from the CD #1 worked with no problems. Just start up YaST2 (command Advanced Power Management (APM)The first thing to do here is to format the hibernation partition you created
during the initial installation. Just log in as root and type the command
The next thing to do to reboot your machine and enter the IBM BIOS Setup Utility by pressing the <F1> key. You need to activate the hibernation function from here. Select Config --> Advanced Setup --> Power. Make sure that the following values are set:
Finally, reboot your machine, log in as root and activate the APM daemon:
Enable "noflushd"The noflushd program runs in the background and spins downs your hard disk when it's not being used. This saves power and improves your battery life. Again, you need to be logged in as root:
Won't suspend with NFS filesystems mountedI frequently connect to NFS filesystems from my laptop, and I couldn't work out why it sometimes failed to go into suspend properly. The log file /var/log/messages contained the following tell-tale sign:
It's fairly obvious that the suspend fails because it can't shut down the NFS
client. The solution is to make sure you always 'soft' mount NFS filesystems.
This ensures that the connection is able to time out. It may take a minute or
so, but the suspend does eventually succeed. Mount your NFS filesystems with a
command like this: Infrared (IrDA)I have a Nokia phone with a built in modem, accessible via infrared. I like to use wvdial to dial out. The IrDA port worked perfectly and without needing any configuration. I just added the following dialler to my /etc/wvdial.conf file: [Dialer mobile] Baud = 9600 Modem = /dev/ircomm0 You need to activate the IrDA before dialling with the command " Modem (Lucent Microelectronics WinModem 56k)Again, this works amazingly easily. You need to download the driver, but
it's available as an RPM
specifically for the SuSE distribution. You want the file called
ltmodem-kv_2.4.4_4GB-5.99b-1.i386.rpm - Make sure that the RPM name
matches your kernel. To discover your kernel version look at the first line of
output from the Install the RPM using YaST (or the Universal Serial Bus (USB)The USB drivers work perfectly, as far as I have been able to test them. The drivers didn't load correctly on the very first boot up - but subsequent boots seemed to be fine. I have a USB mass storage device. To use it I simply install the driver
with RC_LANGThis environment variable is set in the file /etc/rc.config.
Initially the SuSE installer get it to Carrying CaseI found a perfect bag for the 240x in Muji, the Japanese homewares store. If you're in London, there is an outlet on Tottenham Court Road near Centre Point. LinksThis is a list of links that I found useful. Thanks to everyone who has put ThinkPad or laptop related suggestions, instructions and encouragement onto the internet. It's all been a big help: |