this post was submitted on 04 Nov 2023
75 points (100.0% liked)

Linux

1254 readers
61 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Guys I truly don't mean to spam the community but these are legit questions. Yesterday I posted about linux compatibility and computers and every single person gave me knowledge to use and you're all awesome.

Now my question is, I will undoubtedly be purchasing an older machine, would an older but good running machine still be able to install the latest kernels or versions of distros or are you limited to older versions only, based on the era of your laptop or is it really about the hardware you have? I know ram, disk space, basic stuff like that matters with distros, but I know that will not be a problem. I guess I'm thinking beyond that like processors. are older processors or anything else hold certain machines from being compatible with the newest and greatest kernels? Thanks!

top 42 comments
sorted by: hot top controversial new old
[–] harry315@feddit.de 50 points 11 months ago (2 children)

AFAIK if you buy any computer from within the last 20 years, there's a good chance you can get a 6.X Kernel running on it. 32-bit support is fading out, though. If you buy a 64-bit computer, you'll be able (with sufficient RAM and hard disk space) to install any modern distro on it.

[–] IsoKiero@sopuli.xyz 18 points 11 months ago

I'd say that single core performance and amount of RAM you have are the biggest issues with running anything on old hardware. Apparently, in theory, you could run even modern kernel with just 4MB of RAM (or even less, good luck finding an 32bit system with less than 4MB). I don't think you could fit any kind of graphical environment on top of that, but for an SSH terminal or something else lightweight it would be enough.

However a modern browser will easily consume couple gigabytes of RAM and even a 'lightweight' desktop environment like XFCE will consume couple hundred MB's without much going on. So it depends heavily on what you consider to be 'old'.

The computer at garage (which I'm writing this with) is Thinkstation S20 I got for free from the office years ago is from 2011. 12GB of RAM, 4 core Xeon CPU and aftermarket SSD on SATA-bus and this thing can easily do everything I need for it in this use case. Browsing the web on how to fix whatever I'm working with at the garage, listen music from spotify, occasional youtube-video, signal and things lke that. Granted this was on a higher end when it was new, but maybe it gives some perspective on things.

[–] Macaroni9538@lemmy.ml 1 points 11 months ago

Then why have I had such a terrible experience with my newer Dell Xps 13 9310 experience? user error or proprietary b.s.? because I have been told that the new Dells are going the more propriety route.

[–] smileyhead@discuss.tchncs.de 21 points 11 months ago (1 children)

Linux kernel is really good at backwards compatibility, better than any other OS.

Software can be bad at being backwards compatible with older kernels, but you should be able to run newer ones.

[–] Macaroni9538@lemmy.ml 2 points 11 months ago (1 children)

I'm sorry, but what exactly do you mean by backwards compatibility? Like if I installed the latest version of say Ubuntu, it will automatically scale back the kernel to one that fits the specs of my computer?

[–] giloronfoo 8 points 11 months ago (1 children)

The kernel has drivers for very old hardware. It was news last year when support was dropped for i486. That is a 25 year old CPU.

[–] ipsirc@lemmy.ml 3 points 11 months ago* (last edited 11 months ago)

i486 is still supported by the recent Linux kernel: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/arch/x86/Makefile_32.cpu, and it is a 34 years old architecture. Everything else you wrote is correct.

[–] stella@lemm.ee 21 points 11 months ago (1 children)

Usually, yes.

A great way to breath new life into old hardware is to install Linux.

[–] Macaroni9538@lemmy.ml 4 points 11 months ago (1 children)

so basically if the computer has the specs that meet the distros newest version's requirements, it theoretically should be gold?

[–] nik282000@lemmy.ca 6 points 11 months ago (1 children)

Ram is pretty much your limiting factor. I run the latest version of Debian on a machine from 2008 but it only has 1.8GB of ram so for a desktop it is a little sluggish.

[–] msage@programming.dev 7 points 11 months ago

Use LXDE/XFCE and stay away from Chrome. And any games.

[–] ElPresidente@lemmy.ml 14 points 11 months ago* (last edited 11 months ago) (1 children)

So long as the computer supports an instruction set from like the last 30 years you can run the latest kernel.

Here's a 133 Mhz Pentium running Gentoo with a very recent kernel.

I'd probably recommend something like Debian though unless you are really pushing the limits of the hardware.

[–] ipsirc@lemmy.ml 1 points 11 months ago (2 children)

"Linux Kernel 4.14.8 (Dec 2017)" - Would this be the "very recent"?

[–] beyond@linkage.ds8.zone 1 points 11 months ago

That video came out in January 2018, so at the time it was "very recent." I don't think anything would have changed significantly since then.

[–] ElPresidente@lemmy.ml 1 points 11 months ago

As far as I know. nothing done in that video would be impossible on the latest kernel. Everything would compile and run comparably.

[–] jlh@lemmy.jlh.name 12 points 11 months ago

They just removed support for pcimcia wifi cards, so don't get a 20+ years old laptop that doesn't have built in wifi.

[–] notthebees@reddthat.com 10 points 11 months ago* (last edited 11 months ago)

Probably yes. As long as it's 64 bit, it will run without issue, hardware dependant. For 32 bit machines, you have to be more careful. The 32 bit core duo and pentium m CPUs don't support pae.

Edit: First Gen Pentium M don't show pae support as a flag but they do.support it. You have to set forcepae for some distros. I read the page incorrectly. Pentium M laptops that have 5 in their model number, like the 735 are second gen Pentium M

https://reddthat.com/pictrs/image/eb8304a8-d5b6-494c-9fd0-96c03ab06766.png

[–] Atemu@lemmy.ml 10 points 11 months ago* (last edited 11 months ago) (1 children)

Make sure that device doesn't require proprietary drivers (commonly WiFi or GPU). If the hardware in question needs those and you need the component to work, I wouldn't take it for free because you'd be stuck with shitty support on an ancient kernel.

Most commonly, thio affects broadcom WiFi and Nvidia GPUs.

[–] Hopscotch@lemmy.ml 4 points 11 months ago (2 children)

I second that about Nvidia GPUs. While Linux hardware support is really good, there is plenty of common, mainstream hardware that never was and never will be supported by Linux, usually due to uncooperative manufacturers. For Nvidia, their non-free driver is terrible and the nouveau driver in Linux is hit-or-miss. (Note, many people use either of those successfully, but the likelihood of success drops rapidly with any of: multiple displays, the need to dynamically change outputs, multi-GPU Optimus hardware or even laptops in general, and fully functional hardware acceleration.)

[–] MiddledAgedGuy 2 points 11 months ago

While one should, ideally, use AMD over Nvidia with Linux. It sounds like OP is shooting for older hardware, so I'm going to assume GPU performance isn't a significant consideration. Nouveau should be fine for regular desktop usage on older Nvidia cards.

But trouble with assumptions. If you do want the most out of your GPU, AMD is the way to go.

[–] Bene7rddso@feddit.de 1 points 11 months ago

Sounds like OP is more likely to have a winmodem than a Nvidia GPU that doesn't work with nouveau

[–] CalicoJack@lemmy.dbzer0.com 9 points 11 months ago (1 children)

If the computer is modern enough that you'd consider buying it to use, I can almost guarantee that you'll be fine to run the latest distros. I just threw Arch + KDE on a 14ish year old laptop I found, and it runs so well that I may daily drive it for a while just for the hell of it.

At worst, you may need a lighter-weight desktop environment (DE) than some of the pretty ones you see in screenshots. And those are simple to install and try out.

[–] Macaroni9538@lemmy.ml 1 points 11 months ago (1 children)

So then there's really nothing special you look out for? why have I had such issues with linux issues and my Dell Xps 13 9310? user error or proprietary b.s.?

[–] CalicoJack@lemmy.dbzer0.com 3 points 11 months ago (1 children)

Proprietary BS, Dell has become kinda notorious for that. A lot of their stuff has weird hacky workarounds to get Linux running properly. Unfortunately there isn't a great way to know that in advance, other than poking through wikis or asking around.

For most computers, it really isn't much different than installing Windows. Most things will just work, maybe a few drivers to install, and you're good to go.

[–] Macaroni9538@lemmy.ml 1 points 11 months ago (1 children)

Business or consumer? I've heard much better things about business class laptops for whatever reason

[–] CalicoJack@lemmy.dbzer0.com 3 points 11 months ago

Both, but consumer is generally worse. For reference, check here for issues related to yours. The instructions are geared toward Arch, but the problems affect most distros.

[–] words_number@programming.dev 7 points 11 months ago (1 children)

Yes, the linux kernel will work! I'd say it's even more likely that wifi, soundcard, etc. work without any problems than if you'd buy a bleeding edge laptop (although these mostly also just work nowadays). The oldest machine I've got is a laptop from 12 years ago which easily runs modern linux, but even much older machines shouldn't have a problem with that, at least not with the kernel.

[–] Macaroni9538@lemmy.ml 1 points 11 months ago

perfect, so it sorta just depends on the specs like ram and such? are their any other things like cpus that I should be looking for?

[–] LeFantome@programming.dev 6 points 11 months ago (1 children)

I have the various latest release of EndeavourOS running on a 2008 iMac and a Dell laptop that I cannot remember the model of that is even older.

[–] chrisg@aus.social 1 points 10 months ago

@LeFantome @Macaroni9538

Ubuntu 23.10 & Fedora 39, both running Gnome of all things (eye roll) run just fine on my late 2009 iMac (iMac 10,1)

* nb : Fedora 39 has an installation bug. Installing Fedora 38 minimal then upgrading to 39 is the simplest solution. Kudos as usual to Canonical for shipping a trouble free install on Mac.

#linux_kernel #linux #mac #ubuntu23_10 #fedora39

[–] nyan@lemmy.cafe 6 points 11 months ago (1 children)

Nearly all hardware support is kept in the kernel until and unless it bitrots to the point of unusability. I've had no issues with a 5.10-series kernel on my 2008 laptop, and I don't expect any issues when I finally get around to upgrading it to 6.x (well, except the usual tedium of compiling a kernel on a machine that weak).

[–] Macaroni9538@lemmy.ml 1 points 11 months ago (1 children)

But running an older kernel, wouldn't you get an older "experience", perhaps less features, etc.?

[–] nyan@lemmy.cafe 3 points 11 months ago (1 children)

The difference isn't all that noticeable, to be honest, or at least I've never found it so. If you're using older hardware, you're going to get an older "experience" anyway. The most user-visible kernel improvements tend to be improvements in hardware support, which is irrelevant if your hardware is already fully supported. However, I don't do anything fancy with my machines—no full-disc encryption or the like. I usually don't even need an initram to boot the system. So maybe you would notice something if your machines were more complicated.

(Note that the laptop I mentioned above started out with, um, a 3.x kernel? It gets a new one every year or so. The only kernel changes affecting it that were significant enough to draw my attention since 2008 were a fix in the support for the Broadcom wireless card it carries, and some changes to how hibernation works, which didn't matter in the end because I basically never did try all that hard to get hibernation working on that machine.)

[–] Macaroni9538@lemmy.ml 1 points 11 months ago (1 children)

See I fear this, being stuck to only kernels up to a certain version. Because don't the older ones lose support and stuff like that? how the heck do you maintain your system if the distro isn't pushing anymore updates and such?

[–] nyan@lemmy.cafe 3 points 11 months ago

You're unlikely to have issues unless an entire architecture loses support from your distro, and if you're running x86_64, that isn't going to happen for a long, long time. I've never been in a position where I couldn't compile a new workable kernel for an existing system out of Gentoo's repositories. The only time I've ever needed to put an upgrade aside for a few months involved a machine's video card losing driver support from nvidia—I needed a few spare hours to make sure there were no issues while over to nouveau before I could install a new kernel.

Note that you can run an up-to-date userland on an older kernel, too, provided you make sensible software choices. Changes to the kernel are not supposed to break userspace—that's meant to keep older software running on newer kernels, but it also works the other way around quite a bit of the time.

[–] Pantherina@feddit.de 6 points 11 months ago (1 children)

Oh you again, yes Linux supports every normal hardware, and even a lot of crazy ones like Risc-V

On Android the system is bundled with the firmware as it comes from the same people. And for some reason those people dont like providing updates for sane amounts of time, like... 20 years?

[–] Macaroni9538@lemmy.ml 1 points 11 months ago (1 children)

haha yes me, no I was wondering about running the latest versions of linux on older machines. are they capable or more limited to older versions just because the age and the older hardware?

[–] Pantherina@feddit.de 3 points 11 months ago (1 children)

Every Linux runs everywhere! This is not Android, iOS or MacOS! Backwards compatibility is the key word here.

Your purse will limit you to older hardware though.

[–] Macaroni9538@lemmy.ml 1 points 11 months ago (1 children)

But I just may not be able to run the newer releases that come out and continue to come out? if the machine is a tad old? is that what I'm getting? because that's what im trying to figure out

[–] Pantherina@feddit.de 1 points 11 months ago

No, every Linux works on every regular Laptop.

[–] mackwinston@feddit.uk 5 points 11 months ago (1 children)

How old is "older?"

I run the latest Debian on a 10 year old Macbook Pro. Linux has given this laptop a second life as a lab machine - it's still plenty fast enough and it has a really nice screen (Retina) which Debian gets right out of the box with no tweaking. The only thing I needed to do when installing Debian is manually get the drivers for the WiFi hardware during the install (although Debian has the non-free firmware by default these days, they aren't permitted to distribute all firmware and the WiFi hardware in this machine unfortunately happened to be one of those).

[–] Macaroni9538@lemmy.ml 1 points 11 months ago

I have no idea how old you can or even should go lol budget aside, it seems every thinkpad is uber affordable, even the newest models. very strange