Contents: A long, but easy to read collection of advice for beginners and intermediate users. If you have a problem please read in full length and don't get scared by the volume. The fact that the text is long is not an indication that installing is difficult, it's just a result of the text trying to deal with many different problems, also some which are fairly unlikely to encounter.
Various Linux distros are known as a good option for bringing old hardware back to life and the forum is receiving a steady stream of questions on the topic.
The thread is created in order to keep the experience and advice regarding old hardware in one place. Many of the considerations, recommendations and warnings from one problem can and should be reused by other people.
The purpose of the thread is
- to keep old hardware useable as long as possible meaning that the computer is able to support not only an operative system but also a selection of everyday applications, for example a browser at a reasonable speed or a movie player.
- to prevent people from wasting time on hopeless hardware.
The main release, Ubuntu, used to be lightweight and suitable for old hardware, but recent releases are targeting new systems with more graphics horsepower.
The little-known Ubuntu derivative Lubuntu is much lighter, as can be seen in the list of memory requirements for various Buntus, and a good candidate for this purpose. Lubuntu and Ubuntu use a shared repository, so applications known to run on Ubuntu can also be used on Lubuntu.
Some people are uncomfortable with issuing commands at the prompt. In this guide you are not required to invent your own commands, just copy the relevant ones from the text with control+c and insert them into a terminal. Don't write them by hand.
1) Which release of Lubuntu?
Our starting point is a fresh install of either version 16.04.1 or 16.10 of Lubuntu. Many other lightweight distros are available but as a first try we are focusing on these two. If the one you picked first creates problems please don't post and ask for help, it's better to install the other one to see if the problem is solved there.
One of the differences between the two releases is the length of support which can be seen here but don't choose only from the support time span. Again, testing which is better for your particular hardware is the way to go.
In the guide we first test the hardware capabilities before deciding what to install but if you can't wait or if it's not possible to run a live boot you can just take the chance and go straight to the install described in 3).
Let's begin with a simple test to see if the hardware in question is a) fairly old but straightforward to deal with or b) very old and needs some tricks.
Using any Linux distro, installed or from a live boot, please copy the command into the terminal and run. It takes some seconds to complete.
If you get a line full of abbreviations everything is good. Chances are that the install is simply next, next, next, finish.
sudo lshw -C cpu | grep -i sse2
If the command doesn't yield an output your computer is at least ten years old. It will be running open source programs fine but closed source like Flash player and Skype might give problems (but do you really need them or are they just an old habit?) More important, we are dealing with a slow processor so consider if it's worth the effort, especially if you are new. See post #2 in the thread.
(Details: The command above checks if the processor has the SSE2 instructions set. In the Intel family the oldest member with SSE2 is a Pentium 4 and for AMD the oldest is a K8. Though SSE2 is not necessary for an open source Lubuntu install it still serves as a baseline for reasonable performance.)
tells if you have a 32 or 64 bit processor. If it's 64 bit and you have at least 2 GiB of memory then a 64 bit ISO is recommended.
sudo lshw -C cpu | grep -i width
Memory: The command
shows the size of the present memory. 512 MiB is minimum, 1 GiB is better and if you can go higher then please do.
sudo lshw -short -C memory | grep -i system
tells if you have empty slots available for more memory. The output is one line for each empty slot, so if there's no output all slots are used.
sudo lshw -short -C memory | grep -i empty
If you are stuck with less than 512 MiB see post #2.
shows the drives of the system, including CD/DVD drives. You can see the size of the hard disk and decide if it's big enough for the intended use.
sudo lshw -short -C disk
If Gparted or the df command show some strange partitions or don't show any at all it is likely because of Fake-RAID. If that's the case and if you don't want to keep Windows which may be installed here I suggest that Fake-RAID be disabled so the disks are functioning independently. The text in the hyperlink explains why.
Changing graphics card if we are dealing with a desktop computer and adding a bigger and / or faster hard disk can make a significant difference but in general there's no point in changing the processor; given the socket there's a limited selection to choose from. The only exception are old Celerons which sometimes can be swapped for a much better performing true Pentium. Old spare parts are cheap; take a look at what is offered in the second hand market, what your IT department at work is going to throw out and what you can salvage from a dumpster.
The older and hence slower the hard disk the more important is zram and/or swappiness, as explained in a later post. 2,5" disks used in portables are generally worse than 3,5" disks in stationary computers.
Adding memory is the single most efficient step one can take. As mentioned 1 GB is fine, but if the computer can cope with more then by all means give it some.
If the hardware does not meet these requirements one should consider if it's worth the effort to carry on. There is so much used (say, 4-8 years of age) gear around that one can get for free or cheap. The system requirements of Windows are pushing more and more computers into the ‘old’ category even though they are in good working order.
Various websites might post lower requirements. Chances are they focus on the operative system itself, not the applications, which is very unfortunate as it only gives people a false hope. If you see something which looks too good to be true, it probably is.
From time to time people discuss the option of using an old computer as a file server, if it's too old to support a GUI. Before going this route one should consider the size of the hard disk and judge if it's really worth it. A flash drive of 32 or 64 GB is cheap these days. Another idea not worth promoting is giving a kid the old computer for gaming; it's likely to fail because games, also browser based ones, are among the heaviest applications.
An interesting blog about old hardware and realistic expectations.
3) Installing the operative system
First of all: The solution to getting old hardware into usable condition is not old software. When software has reached end of life and is abandoned by the developers no security fixes are provided, and for obvious reasons people should not run such a system. Don't use it, no matter how fast it runs or how much you like the user interface.
The ISO files for installing can be downloaded from the link ribbon at the top of the page or from a torrent.
Installation should be done from a USB stick, if the computer is young enough to support it, or else from a CD or DVD. Best is to use a wired internet connection. If the install hangs at the very end with no explanation given just push Return.
Should the standard Lubuntu ISO not work then the alternate (a pseudo-graphical installer) or the minimal ISO are good options. Furthermore, if booting from USB does not work and if the CD/DVD drive is on the brink of failing it's worth trying the minimal ISO which is only about 30 MB. Often a semi-working CD drive will accept this.
Even if a live boot does not work, neither from USB nor from DVD, it's worth a try to install using one of these ISO's.
During the minimal install you will get the option of adding additional packages (lubuntu and other desktops, various servers, ...) at the end. I recommend that you skip this, doing a command-line only install. After a reboot you just have to run one of these commands
to get a complete desktop. The commands are ordered from the full-blown Lubuntu (1) to the smallest and lightest (3). After the install, which can take some time, reboot the system with Next time you will be greeted with a GUI.
1) sudo apt-get install lubuntu-desktop
2) sudo apt-get install lubuntu-desktop --no-install-recommends
3) sudo apt-get install lubuntu-core
Regardless of which ISO you choose always use wired internet access while installing, during the first boot and when applying the first batch of bug fixes.
If you get an error about PAE the easiest solution is to add the forcepae flag. Guidelines are in the PAE text, which also describes other ways to solve the PAE problem.
If everything works well just skip section 3B and 3C.
3 B) Graphics processors which need special settings
For Lubuntu 16.04.1 and 16.10 most graphics processors work without modifications but some of them are better off with a personal treatment.
a) Adding the nomodeset boot option is a good all-round attempt at troubleshooting Nvidia and AMD/ATI problems.
b) If the command
lspci | grep -i vga
or similar old Intels you could try to create an /etc/X11/xorg.conf file with the following contents:
00:02.0 VGA compatible controller: Intel Corporation 82865G Integrated Graphics Controller (rev 02)
There's a tab in front of the three middle lines. It may or may not give a clearer display than the vanilla install which does not include an xorg.conf. Try with and without, if there's no improvement just delete the file.
Identifier "Intel Graphics"
Option "AccelMethod" "uxa"
The easiest approach is creating the file xorg.conf in your home directory using any ANSI editor you like. When the file is finished execute the command
in the directory where you created xorg.conf in order to copy the file to the right location. Reboot.
sudo cp xorg.conf /etc/X11/
The UXA setting also solves other problems for Intel graphics processors. Use it for general troubleshooting for Intel. For advanced use click here.
|The xorg solves among other things the problems of Flash player showing strange green/purple colours and a greyed/blacked-out address in Firefox as seen to the right:
Remember that Intel cards (and possibly others, too) switch to a low number of colours when given a heavy work load like showing a film in high resolution. If you see this it's not a driver or configuration problem but the intended mode of operation.
c) HP dv6's are infamous for overheating. The problem is partly solved by thorough cleaning of fan and heat sink (see later in the text), but adding the radeon.dpm=1 parameter also helps. More here.
d) Cards from Silicon Integrated Systems / SIS are often difficult to work with. There are some threads with advice here and here . Most is written for 14.04 but some of it also applies to 16.04.
e) Advice for very old Nvidia Geforce cards.
f) 'Malfunctioning' Nvidia cards of the 6xxx and 7xxx series are a recurring topic in the forum. Though, what is malfunctioning is not the card but often the software. Do a fresh install of Lubuntu and allow closed-source drivers which are offered during the installation.
g) If the graphics processor gives a strange picture using the default settings it's possible to switch to the older VESA standard. It's a good option if everything else fails and it should be promoted more in Ubuntuforums.
- When installing, at the boot screen press F6
- A list of boot options appear. Press Escape to close the list
- Now a string of options is visible, often ending in a double dash (--)
- At the end, after the dashes, add a space and "vga=791" without the quotes
- Press return and the install begins.
More about adding boot options and about VESA codes.
If the 791 setting works well you could try to increase resolution and / or colour depth with 792, 794 or 795.
The drawbacks for VESA are slow graphics and a limited number of screen resolutions.
h) If the graphics card is older than
- Intel: 865 series
- Nvidia: 5xxx series
- AMD/ATI: R300 series
it's recommended to switch to something better. VESA drivers as mentioned above sometimes help but often the only sensible approach is to search for a stronger card.
If you are thinking of changing card the performance list is useful for comparing various options. Don't get scared by seeing that new cards are tens of times faster than yours, for ordinary use the performance of present day cards is overkill.
Remember to look up the exact name. There are for example at least four different GeForce FX 5900's.
3 C) Distros outside the Buntu family
If you in spite of the advice in 3B still don't get a satisfactory picture, neither in Lubuntu 16.04.1 nor 16.10, other light distros are worth a try.
Debian, Puppy (which comes in many versions), Knoppix and Bodhi Linux are good options. More distros are listed here if people want to experiment, but before choosing one of the minor distros remember to check how well it is maintained. Never use an unsupported distro or a distro where bug fixes are released so slowly that it's almost unsupported. This excludes for example Damn Small Linux, which is sadly still mentioned in Ubuntuforums. Please let it rest in peace.
If you are going to search for something else than Lubuntu it should be because of hardware support or because you prefer another look and feel, not because of lightness. None of the light distros put any significant workload on the system anyway, the load comes from the browser and other (multimedia) applications which are heavy no matter in which distro they run.
If the install still does not work you could try resetting BIOS to default values and / or upgrade the BIOS to a later version. Before upgrading remember to search the web and see if people have bad experiences with this for your particular hardware. Don't be afraid of general warnings which may not apply to your machinery.
A working BIOS can often be tuned to yield a better performance, for example by disabling diskette drives and other things which are not needed.
‘Light applications’ is a neverending topic. Only brief advice is given here, otherwise I leave it to the user to experiment.
Adding Flashblock to the browser gives a significant increase in speed. Other ad-reducing plug-ins are worth testing, too.
Trying a lighter browser like Midori, Xombrero / Xxxterm or Epiphany may or may not speed things up. The packages are small so it’s an easy test to do. The even lighter browser links2 gives a crude text display with embedded images but nothing more - no pop-ups, no animated GIF's and no video ads (scrolling is done with right mouse button or with Page Up/Down). After years of exposure to pages bloated with irrelevant ads and animations it's a joy to see only plain text.
It's recommended to add 'Resource Monitors' to the bottom panel and keep an eye on CPU and memory usage. Just right-click on the panel, and the rest is self-explanatory.
Lubuntu comes with the light office applications Abiword and Gnumeric in stead of the more usual Libre Office. As we have already required that the computer runs a browser with acceptable speed it also has the power to run Libre Office, so the two applications should not be kept because of lightness.
If you want to switch to Libre Office the commands
are all you need (where xx is your two letter country code - not all are available).
sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get install libreoffice
sudo apt-get install libreoffice-help-xx
sudo apt-get install libreoffice-l10n-xx
sudo apt-get --purge remove abiword
sudo apt-get --purge remove gnumeric
|Both Libreoffice and Abiword are known to flicker on various kinds of hardware. An easy workaround is to open Preferences -> Customise look and feel, as seen to the thumbnail to the right. On the Widget tab select Crux and on the Icon Theme tab select Adwaita. Wait some seconds for the effect to take effect before pushing Apply.
Also other combinations are possible.
In addition to a more pleasant view the light theme also gives less processor load and battery drain.
A standard install of Lubuntu can't play Flash video. I consider this a big advantage because Flash has all the drawbacks of closed source, and more and more of the major web sites like Youtube are moving from Flash to HTML 5. Chances are that you don't have to worry about Flash at all but if you need it can be installed:
- For 64 bit computers the easiest way to get Flash is installing Chrome (not Chromium) where the latest Flash player is built in from the beginning.
- A 32 bit computer with SSE2 (the vast majority of them) needs restricted-extras as described below
- A 32 bit computer without SSE2 needs the package as described in post 2 in the thread.
Chrome for 64 bit computers is installed by downloading the .deb file from the Google web site. After that the commands
do the trick. Installing libappindicator1 before the deb file prevents a dependency error.
sudo apt-get update
sudo apt-get install libappindicator1
sudo dpkg -i <path_to>/google-chrome-stable_current_*
A guide for getting Netflix working on 32 bit computers.
The recent version of Google Earth does not work with older graphics cards. If one wants Google Earth then installing version 6 is the best approach:
Run the commands
and after that download version 6.2.2.
sudo apt-get install lsb-core
sudo apt-get install xfonts-75dpi xfonts-100dpi
When the deb file is downloaded it is installed with the command
sudo dpkg -i <path_to>/googleearth*
installs a number of closed source packages necessary for playing mp3 files, Flash and the like. During the install a dialog box asking for permission to install Microsoft fonts appear but as the mouse does not work here one has to use TAB and SPACE to get to the buttons.
sudo apt-get install lubuntu-restricted-extras
More on getting Flash and other closed-source formats to work.
If open-source drivers are available (for sound, network, bluetooth and other cards) one can expect them to be in good condition because the hardware has been known to the developers for many years giving time for debugging and testing. A plain, default installation performed with wired internet access is often the only step a user needs. Remember to reboot and apply all updates as explained in the next paragraph.
Afterwards, if a wirefree card needs drivers the dedicated forum has plenty of advice. Please read the sticky notes there before posting.
It might be difficult to enter the password for the wirefree connection because of a fast time-out. The solution is simple: Write the password in Leafpad or similar editor, copy it, open the wirefree application and paste it into the right place.
If the wifi connection is unstable the first step is the sed command to switch off power management. It does not produce any kind of output. Reboot after that.
Nvidia cards often perform better when using closed source drivers if they are available but open source drivers have improved a lot during the latest releases for all series of graphics processors. This is one of the reasons why people should always consider the latest Lubuntu, LTS or not.
An often overlooked part of getting an old computer into a useable condition is cleaning the interior dust build-ups, especially around the fan and heatsink. Take care not to damage the fans by forceful vacuuming and remember to only vacuum in the reverse direction of the normal air flow. Best is to block the fan with a tooth pick or piece of wire while cleaning to prevent it from spinning too fast. If we are dealing with a desktop remember that it likely has several fans (for CPU, GPU, power supply and more).
Short bursts of compressed air also helps. Again, only in the reverse direction of the normal air flow.
Remember to check that the fan is turning freely after cleaning.
Many good guides are available describing how to take hardware apart. Here's for example a list for Toshiba.
On the software side the only maintenance needed is
once in a while. The last command is important because it removes old kernels and saves hard disk space. Without this command the boot partition could fill up with old kernels, causing the whole package management to grind to a halt, so make it a habit of running the command whenever you are in doubt. It should however only be used when the computer is in good working order so there's no need for reverting to an old kernel.
sudo apt-get update
sudo apt-get dist-upgrade
<maybe reboot here>
sudo apt-get clean
sudo apt-get autoremove
If the computer does not automatically ask for updates shortly after the install it's especially important to run the commands.
A file system needs some free space to perform well. The command
shows in percent how much space is used for various mounts. A good rule of thumb is never letting any of the measures exceed 75%.
The similar command shows the number of available inodes. There are many explanations for inodes on the web, for now it will be enough to know that the percentages shown should be as low as possible. If you see high numbers just run the autoremove command mentioned above.
tells which files in the /home directory are more than 50 MB of size. It's useful for cleaning if space is getting tight. Remember to empty the trash can afterwards.
sudo find /home -name '*' -size +50M
First step in troubleshooting is installing Pulse Audio Volume Control with the command
After that open the application, check that nothing is muted and play around with the settings. Surprisingly often it solves the problem, for example when using USB devices for sound.
sudo apt-get install pavucontrol
Next step is the sound troubleshooting thread.
8) Who is going to use the computer?
If you are installing for a non-technical user some settings are worth considering:
A) Set software updates to 'automatic' as seen in the screen shot. In some instances the function is reportedly broken so it's nevertheless still a good idea to run the series of update commands described in point 6) above.
B) Disable the option for reporting bugs. It's not helpful to deliver a system and telling the user to 'just ignore the dialog box about error reporting which might come up'.
Bug reporting is controlled by the application Apport, which again is controlled by the file /etc/default/apport. Changing enabled to 0 disables the function. The file can be opened and edited by hand, but it's faster to issue the command
The command does not produce output.
sudo sed -i s/enabled=1/enabled=0/ /etc/default/apport
Remember to reboot for the change to take effect.
9) Environmental impact
It is a widely held belief that old hardware shouldn’t be used because of power consumption. Generally the truth is opposite: Old hardware is less greedy than new, if one compares within the same category (desktop versus desktop, for example). The power consumption of newer machines per unit of calculation is lower, but not the total power consumption of the machine.
However, the biggest benefits from using an old computer as long as possible is less production of new hardware and less e-waste to be handled, both of which are causing serious environmental problems. Add to this the joy of using hardware without a software vendor trying to force people to pay for a pre-installed operative system.
If you have managed to bring an old computer back to usable life you should not be ashamed for being old-fashioned but proud of taking care of the environment.
10) Further improvement
Third post in the thread gives some suggestions for what to trim and adjust after install.
11) Still in doubt?
If this does not answer all your questions you are of course welcome to post but please read #4 first.
= = =
Thanks to MG&TL for proof-reading.