I've had good luck with secondhand HP laptops running Linux. I found an excellent
essay on the how's and why's of doing so. Near me, there is a second-hand store that has used laptops for $250+-. I had one with a 15" display that I nursed along for years. It even survived cat puke on the keyboard. Apparently with older HP laptops, you can swap out the keyboard by pulling a few screws and prying the old keyboard out. Eventually the drive gave out, and when I tried to replace it, I could never get it to boot again. I had to unplug the ribbon cable for the display, and afterwards, I never could get it to work again. When I went to the used computer store, they had a HP gaming laptop with a 17" display for $250.00. It would throw a CMOS error on boot (unpatched Windows 10) , but I figured that I knew how to fix it. The store gave me a discount because of the error message. After installing Debian Linux, it still gave the CMOS error, so I opened the hood and looked for a watch battery. Couldn't find one. I began searching various online forums, only to find out that newer HP laptops incorporated the CMOS battery into the main laptop battery. So, for thirty bux, a replacement battery made my laptop good as new.