r/freebsd • u/TheAtlasMonkey • 5h ago
FAQ Before you install FreeBSD on that old machine, clean it first
I spend a lot of time on old hardware. Most of this year went into Apple Intel machines that were going to be recycled, and I still have a garage full of laptops and imacs that nobody else wanted. Here are is a workflow for anyone getting an old computer because new computers cost more than a car now.
1. Dust the monster
Laptop or desktop, it does not matter. It has more sand in it than Egypt exports in a week. Take the battery out if it comes out. Open it up and blow out the heatsinks. Do not use a can of compressed air as your first choice. Go to a gas station and use the air pump they keep for car tires. Blow from a distance, so the pressure does not dislodge a component or spin a fan at speed. Clean the fans with a toothbrush, and hold each fan still while you do it, or you will spin the bearing faster than it was ever built to go. Don't forget to clean the PSU.
2. Change the thermal paste
It is cheap. It takes ten minutes if you have done it before, and ten hours if you refuse to watch a video or lack the technical skill. The dried-out paste on a ten-year-old CPU is why the fan screams once you open youtube. Clean the old paste off with isopropyl alcohol not vodka, put a pea-sized amount on the die not 4gr, and reseat the cooler. The GPU also need a similar ritual, but watch a youtube video how to do it. (Every GPU that existed has a video now)
3. Replace the battery
On a laptop, the battery is probably dead or close to it. If it is swollen, stop using the machine. Take the battery out and dispose of it like a civilized person. Do not charge a swollen battery if you dont want to burn your place.
Also replace the CR2032 coin cell on the motherboard. It keeps the clock and the BIOS settings alive, and it dies after a few years. This simple cause was how i bought over 400+ computers for few dollars because they evaluated it as "for Part".
4. Check the capacitors
If the board is from the capacitor plague era, replace the electrolytic capacitors, even the ones that look fine. Bulging or leaking caps can explode. The parts cost little. What it costs is your time, so budget the time. If you cannot solder, learn or pay someone who can.
5. Look at what the machine actually has
If it is an Intel Mac from 2006 to 2020, run Cydia before you install anything. Get the current build from the latest release of Meridian. Its source is in Application/Cydia. It runs before any OS, from a FAT stick. It reads the battery, fans, display, storage, and the rest, then writes a plain-language repair report. It never writes to the machine. On other hardware, it only reports the UEFI-level probes, so it will not tell you everything yet.
Then check the rest of the parts yourself:
Use the release image on a USB stick. Boot it, log in as root with no password, and run:
pciconf -lv | less
dmesg | lessWrite down the network card, the wireless card, the storage controller, and the graphics. Each one either has a driver or it does not.
Install CURRENT, it has the last drivers and improvements.
Stable is for people that run Servers or people that don't want to handle update with breaking change. You will be on the breaking change.
7. Update the firmware
If it is an Apple, boot it into macOS once and install the latest updates. macOS applies the firmware updates for you, and that is the one job I will ever give macOS on a FreeBSD machine.
Old Firmware have bugs and Apple fixed them years after the product went EOL.
For any other computer, update the BIOS, or flash coreboot if your board supports it. Then update the firmware on the NVMe or SSD using the vendor's tool. Some of the worst problems I have hit were fixed by a firmware release that is twelve years old. Some drives have timebomb bug that will wipe your data, other have flaky state-machines that got fixed much later.
While you are in the BIOS, set SATA to AHCI, since RAID mode often hides the disk from FreeBSD. Pick UEFI and stick to it. (That what Meridian boot on).
8. Replace the spinning rust.
If the machine still has an HDD, change it. Even a 2TB hard drive loses to a 256GB SSD on an old machine. The SSD is faster, quieter, and it does not die on you during an install. If you have 2 slots, keep the HDD as a slow backup.
9. Max out the RAM
Fill every slot with the largest modules the board accepts. Check the maximum in the vendor's spec sheet before you buy, because the board decides the limit and speed, not the sticker on the module.
Buy the type the board takes, then take the photo and post it social media. A screenshot that says "128GB RAM installed" make your look rich to anyone who does not check the type.
FreeBSD needs around 200mb in idle.
10. Pick a filesystem for the box you have
ZFS is the right default when you have the memory and disks to justify it. On a small, old machine with bellow 8gb ram, UFS is the correct FS.
Anything over 8 , you go with ZFS.
Have a nice time realizing how your old machines is more responsive than a windows one.