Many older PCs will perform well using a lightweight Linux distro. Learn about what you should keep in mind when refreshing older hardware.
- [Instructor] A lot of people have an old PC sitting around, usually an old Windows PC that can't quite keep up with what it needs to do. Rather than throwing it away or, worse, keeping it around and taking up space and collecting dust and spiders, you might consider giving it a new lease on life as a Linux machine. Of course, you'll want to clean it safely and gently first if it's accumulated a family of dust bunnies. While current versions of operating systems, Windows and Linux included, have become pretty, let's say, feature-rich, many old systems can't quite keep up with them.
So just going and installing the latest version of Ubuntu Desktop on a seven year old machine might work, but the experience may not be too great. In this episode, we'll take a look at installing a lighter weight distro on older hardware. In preparing this video, I installed Linux on two old laptops. The first one, an old HP dv2050us, worked basically perfectly with the new SSD and the 32-bit version of Lubuntu. And that's no fun really, so I scrounged up another old laptop, a Dell Inspiron E1505, which was somewhat more of a project, but we'll get into that later.
Many older desktops will work fine and lots of laptops will too, though those can come with a few extra issues to resolve. I should mention here, while the general process for setting up Linux on an older machine is pretty universal, there are some things you'll need to figure out on your own for your hardware. The first thing to do is make sure your system physically works. Linux won't make a broken video card come back to life or keep a machine from randomly shutting off if it has a dodgy power supply. After you know all the parts work, or at least the parts you want to be able to use, it's time to consider upgrades.
Yes, this is an old machine, but it's not necessarily doomed to stay how it is. If you don't want to upgrade anything, that's perfectly fine, but consider adding RAM if there's space and if the system supports it, or consider adding an SSD. Far and away the best upgrade for an old computer is a nice fast SSD to boot and run from. Usually one on the smaller side is fine. That won't be great for storing a huge photo library, but it'll really help out the speed of the system for light use. But before you order anything, make sure it'll work with your old system. Check out the drive connectors, make sure you're getting the right kind of RAM, and so on.
The next step is to gather the system information. Most importantly, whether the processor is 32-bit or 64-bit. The older a system is, the more likely it'll be 32-bit, and this will influence which installer we'll need to download. Also try their discover what kind of other hardware the system has. If the system boots, you can take a look through the hardware manager for whatever operating system it's running, or you can search online for the model number and find out the hardware parameters that way. What we're looking for here primarily is the system controller, the video card, and network interfaces.
A lot of old hardware has specific or generic support right in the Linux kernel or can work with drivers that are commonly available. Some other hardware needs to have more specific drivers installed, and some hardware just doesn't have drivers for Linux. So do some searching to learn about compatibility information before you spend time installing. There are a lot of helpful resources online that people have put together to cover the compatibility of popular older hardware models with Linux. Sometimes there's even full guides on how to get particular computers or particular hardware working. Again, I can't cover all the variables and all the different models here.
It's important to make sure that you've copied any data you want to save from this machine somewhere else. When we install Linux, we'll wipe the drive. Once we have the specs of the machine and we've researched whether the machine supports Linux to the degree we want and we've backed up the important data, it's time to consider which distro to install. The older the computer, the more you should look into running a lightweight distro like Xubuntu or Lubuntu or other lightweight variations of other distros. Lightweight in this context means a distro that doesn't come with too many bells and whistles, like a fancy graphically-rich desktop manager or big suites of applications.
The Xfce and LXDE desktops are designed with low resource usage in mind, which is great for systems with comparatively little RAM and processor power. Lightweight software will help to conserve the resources of the computer so the user has a chance of getting some work done on this older hardware. If you don't need a desktop, you can conserve even more resources. But think of who will be using the computer. If you're passing it to a relative or a computer novice, they may not be comfortable without a desktop environment. I chose Lubuntu for my system, precisely because I haven't used LXDE very much and I wanted to take the opportunity to learn more about it.
I won't go over the details of installing in this episode. I've covered installation in other episodes and courses, and it's pretty straightforward. I chose to allow the installer to use the whole disk, and I accepted the options to install additional drivers where possible. Once you log in, it's time to start troubleshooting and making sure that things work. In my case, the Wi-Fi card didn't work because it needed a driver. Luckily for me, searching for the computer model number and the terms Wi-Fi and Linux got me to a helpful answer on Stack Overflow. I needed to install a driver and some other software, enable the module, and restart.
It was also helpful that my ethernet port worked without issue, letting me install software from the internet. Otherwise, I would've needed to download files somewhere else and copy them here to install them. With the exception of the 12 year old battery, this machine works fine for me now. With laptops, there's a whole bunch of other things to consider compatibility-wise: Wi-Fi and Bluetooth hardware, how the system behaves when the lid is closed, screen and keyboard backlights, special keyboard keys, and so on. And sometimes you may need to make some accommodations for hardware that doesn't work with Linux.
If you just can't get your built-in ethernet, Wi-Fi, or Bluetooth adapter working, consider buying a USB version that does work with Linux. It all comes down to a cost-benefit analysis of what it's worth to get an old machine working again. An old desktop could be repurposed as a Linux server running without a screen. An old laptop could be your couch computer, your kitchen computer, or could be given to someone who maybe can't afford to buy a brand new one. Taking on getting an older system up and running with Linux is a worthwhile project to learn about how Linux works with hardware and how to troubleshoot issues.
Sometimes it goes smoothly and sometimes it's a lot of work, but you'll almost always learn something new.
Author
Updated
3/2/2021Released
10/3/2017Skill Level Intermediate
Duration
Views
Related Courses
-
Linux: Bash Shell and Scripts
with Kevin Dankwardt2h 46m Intermediate -
Linux: Files and Permissions
with Grant McWilliams1h 49m Intermediate -
Linux: Multitasking at the Command Line
with Scott Simpson39m 1s Intermediate
-
New this Week:
-
Docker on Linux5m 24s
-
-
Introduction
-
Welcome1m 4s
-
-
Foundations
-
Foundations: What's Linux?5m 26s
-
Foundations: Distros10m 50s
-
Foundations: USB installer7m 46s
-
Linux on Azure7m 21s
-
Google Cloud Platform3m 37s
-
Linux on DigitalOcean6m 39s
-
-
System Basics
-
Bash operators6m 55s
-
Logs5m 4s
-
Grub3m 19s
-
SysV init4m 43s
-
Systemd5m 29s
-
Cron8m 7s
-
Understanding chroot3m 16s
-
Backing up data with rsync5m 35s
-
Working with dotfiles1m 43s
-
Exploring the PATH variable3m 51s
-
Finding or locating files3m 52s
-
Working with swap4m 29s
-
Read and write caches3m 5s
-
Filesystem Basics
-
Files on Linux4m 10s
-
File system basics: Archives6m 22s
-
Loop devices4m 35s
-
Overlay file systems4m 17s
-
Bind mounts2m
-
-
Working with Text
-
Working with text: Vim 1015m 15s
-
Working with text: Emacs 1015m 42s
-
Working with text: nano 1015m 29s
-
Working with text: grep4m 23s
-
Working with text: sed7m 24s
-
Working with text: AWK2m 51s
-
Working with text: ed 1016m 17s
-
-
Package Management
-
Package management: Basics6m 59s
-
aptitude5m 43s
-
dpkg2m 20s
-
yum and DNF4m 58s
-
RPM3m 24s
-
Creating your own packages3m 12s
-
Zypper4m 17s
-
Using Flatpak4m 11s
-
Using snaps3m 15s
-
-
Working Remotely
-
Remote files: curl and wget4m 42s
-
SSH: Secure access8m 8s
-
SSH: Tunnels3m 46s
-
X11 forwarding2m 52s
-
Using a SOCKS proxy4m 53s
-
Using a Squid proxy8m 43s
-
-
Process Management
-
Process management: ps4m 30s
-
Process management: top4m 53s
-
Process management: htop6m 11s
-
Customizing tmux3m 32s
-
-
Security
-
Firewall basics4m 5s
-
Understanding iptables6m 41s
-
File checksums3m 48s
-
Encrypting files7m 14s
-
Encrypted filesystems6m 58s
-
AppArmor4m 2s
-
Security systems: SELinux4m 33s
-
-
System Administration
-
Disks and partitions6m 42s
-
Logical volume management9m 59s
-
Create a RAID array9m 10s
-
Repairing a RAID array4m 44s
-
Local IP address5m 15s
-
DNS5m 40s
-
VPN1m 43s
-
Drivers and modules4m 16s
-
Understanding QEMU and KVM2m 49s
-
Private networking6m 37s
-
Routing and forwarding4m 26s
-
DHCP4m 55s
-
Network troubleshooting7m 42s
-
Wi-Fi on Linux4m 14s
-
-
Desktops and Displays
-
Desktops: Basics3m 8s
-
Desktops: GNOME4m 41s
-
Desktops: Xfce4m 5s
-
Desktops: KDE Plasma Desktop2m 28s
-
Desktops: LXQt3m 42s
-
-
Exploration Topics
-
Windows Subsystem for Linux7m 20s
-
Exploring virtualization5m 28s
-
Exploring containers5m 19s
-
Exploring Fedora3m 8s
-
Changing the default shell3m 30s
-
Exploring other shells2m 5s
-
Exploring CentOS2m 6s
-
Exploring Zsh5m 41s
-
Osquery4m 28s
-
Exploring fish5m 21s
-
Exploring csh and tcsh2m 34s
-
Using diff to compare files3m 54s
-
Using xargs3m 41s
-
Job control3m 59s
-
Using watch and time3m 5s
-
Recording a terminal session3m 14s
-
Exploring Debian1m 49s
-
Exploring SUSE Linux7m 33s
-
Exploring Arch Linux16m 44s
-
Exploring Alpine Linux6m 18s
-
Exploring Linux Mint5m 14s
-
Exploring Amazon Linux5m 8s
-
Terminal on the go5m 1s
-
FUSE and SSHFS3m 54s
-
Removing Linux4m 44s
-
WSL distros on Windows 103m 13s
-
Embedded Linux4m 25s
-
Exploring Netboot2m 43s
-
Exploring ZFS3m 53s
-
Troubleshooting Topics
-
Projects
-
Linux on an old PC6m 7s
-
Hosting email services3m 7s
-
Create a network PDF printer4m 37s
-
Remote logging with Rsyslog7m 12s
-
Set up a Git server4m 16s
-
NGINX web server4m 11s
-
Set up an NFS server3m 58s
-
Monitoring your server2m 49s
-
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.
CancelTake notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.
Share this video
Embed this video
Video: Linux on an old PC