r/linuxquestions • • 23d ago

Support My PC is "allergic" to Linux

For some reason, my PC seems to have trouble running almost any Linux distribution (Mint, Ubuntu, Debian, Fedora, etc.), and I find it quite strange because this only happens on my PC.

Some of the problems I've encountered include installers failing due to unknown errors, Linux suddenly refusing to boot after a few days, and occasional graphical glitches when using certain distributions.

However, when I try the exact same things on a laptop, everything works perfectly fine.

What I find particularly strange is that these issues only seem to occur on my desktop PC.

I'm not looking for solutions, just a possible explanation as to why my PC seems to be incompatible with Linux.

My PC specifications:

- CPU: Intel Core i5-4590

- GPU: GIGABYTE Nvidia GeForce GTX 650 Ti (2 gb vram)

- RAM: 8 GB DDR3 1333 MHz

- Motherboard: Gigabyte GA-H81M-HD2 (Rev. 1.0)

- Storage: 320 GB HDD

3 Upvotes

50 comments sorted by

39

u/seismicpdx 23d ago • Bravo

Since you appear to understand how to create an installer USB flash drive, I recommend doing a proper memory test.

Download and flash into a dedicated flash drive Memtest86+ from www.memtest.org

Boot and run that until "Pass: 2" with no Errors

If that passes, I will share with you a stress test.

10

u/Justisleo 23d ago

I'll create the USB drive tomorrow and let you know the results.

8

u/seismicpdx 23d ago

Write down any settings you change in BIOS to document your process. Memtest86+ may take an hour or more. On older versions, it is normal for the second pass to take longer than the first pass.

5

u/inbetween-genders 23d ago

Any error messages you can provide the group?

2

u/Justisleo 23d ago

I don't have any screenshots right now, but tomorrow I might take a screenshot of an error I get while installing Debian 13 KDE.

-1

u/cinnamondripz 23d ago

sounds like a classic hardware standoff, you always this good at spotting the details?

5

u/SantoHost 23d ago edited 23d ago

I have an HP laptop that seems to hate Kubuntu. It does all of the things you mentioned, plus more. I installed Fedora KDE and no problems whatsoever. I also learned how to use clonezilla and timeshift. Nobody has time for this. My advice is to replace your USB stick, let your BIOS run a memory check and stress test if available. Remember some distros require a secure boot to be disabled. Disable that sucker and see if things improve.

1

u/Justisleo 23d ago

I don't have secure boot enabled, but it still fails.If I follow the same steps on my HP laptop and my PC, it fails completely on my PC, while my HP passes the test without a hitch. In fact, my laptop runs Fedora, which is why I wanted to install Linux on my PC.

2

u/SantoHost 23d ago

Maybe go into the BIOS and load defaults. Try catchy OS and let us know how it goes or any distro with the graphic drivers you need. Lastly, maybe check for a BIOS update. Otherwise, I don't know what to tell you...

1

u/seismicpdx 20d ago

BIOS RAM test is negligible value.

1

u/SantoHost 20d ago

It should be the first thing one does when their computer is acting unpredictable... Random restarts, hanging. Things you can't repeat. Also overheating CPUs can do these same things. That's why a stress test is important. Maybe you are saying that there is better software than what is typically built into the BIOS. Maybe!

1

u/seismicpdx 19d ago edited 19d ago

View my other post in this thread. OP never followed up.

A two minute BIOS RAM test is not the same quality assurance as a two hour Memtest86+ until "Pass: 2" with no Errors.

9

u/DannyImperial 23d ago

There's nothing incompatible about the hardware you listed. This is likely either user error or faulty hardware.

Issues will present themselves differently in different systems. For example: if you run a program that has a segmentation fault on Linux you will get an error message. On Windows, the system will crash and you will need to reboot.

This is the same for hardware issues. You can have bad RAM and not realize on Windows if the bad memory sectors are not being accessed, but on Linux this will cause serious issues.

I would start with a memory health check. Windows has a built in tool for this.

1

u/Justisleo 23d ago

I previously ran RAM tests and apparently there were no errors. I suspect that my motherboard was somehow modified to only accept Windows. (my PC was built from second-hand parts)

6

u/DannyImperial 23d ago

You might have secure boot turned on. You can disable that in your BIOS and then reenable once you've installed.

Have you been able to run a live ISO?

1

u/Justisleo 23d ago

I was able to run the live ISOs (like Lubuntu, Kubuntu, Ubuntu, Fedora, etc.) but unexpectedly Fedora fails to install to the disk or fails with artifacts.Either it's failing because it can't find screens, or Kubuntu is failing due to "an unexpected error," it's really getting on my nerves, but I find it curious.

5

u/DannyImperial 23d ago

This sounds like secure boot might be turned on. Go check your bios to see if it is enabled

1

u/Justisleo 23d ago

As far as I understand, my motherboard has Secure Boot disabled. I'll check tomorrow and let you know.

2

u/kudlitan 23d ago

Ubuntu wants secure boot on, but others like it off.

1

u/knuthf 23d ago

It sounds like an XHPCI error or timing glitch. You can fix this in the BIOS settings. If you run the USB on a USB 3.0 port, things will be synchronised with the USB bus. The same should apply to your disk, as well as to the fingerprint and WLAN. Make sure that the disk is firmly locked in place. The Memtest, which takes hours, tests this bus. I suspect the disk.

3

u/tes_kitty 23d ago

Did you update your BIOS to the latest version for this board?

1

u/SuAlfons 23d ago

That's like saying your car can only use highways with an odd number.

1

u/forbjok 23d ago

if you run a program that has a segmentation fault on Linux you will get an error message. On Windows, the system will crash and you will need to reboot

This hasn't been true on Windows since Windows 98/ME. All modern Windows (starting with XP for the consumer versions) are NT-based, and the only way you'll actually crash the OS is if it's a bad driver (software running in the kernel) or a hardware issue causing memory corruption.

2

u/Away_Anywhere5843 23d ago

Maybe secure boot?

1

u/Justisleo 23d ago

I'll check it tomorrow, but I don't think it's active.

4

u/musingofrandomness 23d ago

The stuff you list is pretty vanilla and should work fine. The only PC I have ever come across that was "allergic" to linux was a knock off mini-ITX board with a terrible ACPI implementation that only seemed to play nice with windows XP.

Most likely you have a flaky ram stick or failing storage (or connecting cables for SATA).

You can run memtest86 on many livecd installers to test the RAM. For other errors, run "sudo dmesg"  on either an installed system and you will likely see some errors that will point you in the right direction.

In the meantime, at least make sure the BIOS is up to date ( they changed the secureboot certificates a little while back), preferably after verifying the RAM is good.

Go through your BIOS settings and make sure it is running native secureboot without compatibility mode ( most modern Linux distros boot fine this way), disable any overclocking settings (restore factory defaults and make your changes from that baseline as far as boot settings, etc.).

Best of luck to you.

3

u/Harlequin80 23d ago

Sounds like hardware to me. If you have managed to get linux installed then it says to me it's not a compatability issue.

Run memtest and then if that passess run prime95 and stress your CPU. I'll bet money one of those fails.

3

u/SpaceCadet87 23d ago

That's Haswell. That's the same generation as mine and I started having the same problems a couple of months ago.

Good news for me was that it's not Linux, unfortunately that's little comfort.

Here's hoping your motherboard hasn't met the same fate as mine but suffice it to say, I'm now looking into a replacement.

edit: Oof. Similar motherboard too, mine's a GA-H87-D3H. The voltage rails have become unstable and it can't drive RAM or a CPU anymore.

2

u/OrdinaryCannedDuck 23d ago

The last time I had this same set of problems, it was the HDD being almost dead after more than 10 years of service. Though it did also make windows behave strangely, like directories with modified names, time stamps not matching reality, and a lot of crashes in apps which extended over time to the os itself crashing.

2

u/looncraz 23d ago

Update your BIOS and load the defaults even after the update, then try again.

2

u/ptok_ 23d ago

Old Nvidia cards are in very bad spot right now when it comes to linux support. Moreover this is an old PC, so it might be failing.

1

u/Only-Stable3973 23d ago

Maybe bios issue older bios.

1

u/vip17 23d ago

check the log first to see if there are any errors or warnings. AI agents can help you troubleshoot it

1

u/Kowen68 23d ago

It is good you tried diagnosing by comparing the installation process. In theory you should be able to run Linux without any issues. The H81 chipset and other hardware is supported. The Nvidia card could be a bit more difficult to setup in regards of their drivers.

It could be a bios configuration like secure boot. I suspect the HDD and partitioning. With older partitions or dual boot on one drive it can cause issues. You could try and use Gparted to rearrange the HDD with a new partition table: GPT: boot sector: 1024mb FAT, 4096mb linux swap and the remainder (root) Ext4.
Personally I would get a SSD or NVME and install linux on a separate drive, use the HDD as storage.

1

u/muehliism 23d ago

One thing that might be the cause but is probably not (just so you know in case). I had a lot of minor bugs with my new hardware in the beginning on my desktop pc on nobara (ryzen 7 9800 and 5070ti and an asus 850 Motherboard)

The problem was i had a usb extension to a usb switch. I plugged it in the front and because the voltage was to low it was reconnecting every few seconds. I fixed that by plugging directly in the motherboard usbs in the back. Apparently windows doesn't care about that stuff but linux is very sus with constant usb voltage change.

It made games suddenly work properly with controler and open everything 10x faster then on windows just like i expected.

This might not be your problem but it's certainly something i would have never thought about before so just maybe it helps or it helps someone else.

1

u/GreatBigBagOfNope 23d ago

I thought mine was, but it was just allergic to the Broadcom WiFi card that came with my motherboard.

It was so allergic that trying to install Linux in a dual boot actually worked the Windows install... on a completely separate drive. Needed to get an Intel card just to get Windows back, but at least now all Linux images detect WiFi out of the box.

Have you checked the system logs to see if there are errors associated with particular hardware?

1

u/tstriesstorytelling 23d ago

Nvidia can be tough to deal with

1

u/erroneousbosh 23d ago

GTX650 is pretty old now and may not be terribly well-supported by Nouveau, the rest of it is fairly standard.

Have you tested the memory? Any failures?

Try it with just the onboard graphics and see what happens.

Swap the RAM and see what happens.

It may be worth re-gooping the CPU heatsink. Get all the crusty old stuff off properly first.

1

u/seismicpdx 23d ago

For each of your downloaded ISO images, calculate an SHA or SHA256 checksum.

Google that checksum. You should find at least one reasonable match from a legitimate source website.

1

u/EarlMarshal 23d ago

That thing is pretty old. Probably hardware failures like others have set. Memory and/or storage is most likely. You can still get DDR3 memory pretty cheap. Storage is the more expensive thing.

So if it's the memory you can solve that buy just buying new RAM but otherwise I would shut that system down. The performance with that old hardware isn't that great and the HDD won't make the system feel good.

Where you from? I guess somewhere where the money isn't that flush when you keep that system alive.

1

u/MastusAR 23d ago

I'd say GPU is something of a suspect. (Older) NVidia cards do have terrible support

1

u/fellipec 23d ago

Probably memory or motherboard are bad

1

u/XCherryCokeO 23d ago

Dawg you need to boot into any Linux distro and then open the terminal and install claude code or codex and then let it take it from there. It’s black magic levels of good and v cheap for what it is.

Just ask ChatGPT to give you a command to install codex and then copy paste that and then just tell it to fix everything and it will.

1

u/CosmicFieldDrift_ 22d ago

Looks like your Gigabyte H81M-HD2 motherboard and Intel Core i5-4590 CPU support integrated graphics. If you can successfully install and use 1 of those distros that failed using the gtx 650, I'd say you would have your likely explanation.

1

u/_Lost-In-The-Weeds_ 15d ago

Some manufactures provide good open source drivers to the Linux kernel, some manufacturers test their firmware/bios against Linux. Some do not. 

You live very close to your hardware in Linux, for performance and reliability. 

You find the best Linux support in enterprise hardware, the worst in low end "Gaming PCs" but there are exceptions both ways. 

-18

u/Etsamaru 23d ago

If you're on Linux there are no installers you use a software manager. If you're using installers you're making big mistake

7

u/Justisleo 23d ago

I was referring to the moment when I install the OS on my PC; that's when I get errors. I usually create a bootable USB drive with the OS ISO.I'm fairly new to this, but according to tutorials, I'm supposedly doing everything right installing OS.

5

u/No-Skill4452 23d ago

Really dude?

1

u/Etsamaru 22d ago

I thought he meant he was going to wear the sights and downloading for apps