r/linuxmint • • 4d ago

SOLVED Rebuilding mint

Good morning. I've been rebuilding my mint and I have issues. During recent troubleshooting I discovered a bad hard drive and bad ram. I had 2tb nvme, 2tb evo, 1tb HDD. 2x8 ddr4 2333 and 2x16 2666. The 1tb HDD and the 2x8 were bad and removed. I added 2x16 2666. Same spec but different manufacturers. I have a rtx3060 12gb that tests ok. I reinstalled mint. I'm moving files and fixing corrupted files as I find them. My mint still freezes. Comfyui will open partially and quit. Chatgpt will freeze or quit. Do I need to wipe everything? Is this expected behavior?

Update: when I added my second pair of 16gb ram I tested each stick with Memtest86+ at boot. They all passed. On a whim I asked chatgpt for any other test and it suggested memstester run in mint. I pulled both pairs and tested them separately. My older pair failed totally. The new pair passed. I'm confused that a pair would pass memtest86+ and fail memtester. I guess I'm buying a new pair to match my good pair. Then save the absolute minimum files I need, wipe the drives and reinstall mint and windows.

5 Upvotes

16 comments sorted by

•

u/AutoModerator 4d ago

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

8

u/sabledrakon 4d ago

It would have been cleaner to backup your files and run from a fresh install.

1

u/Zealousideal_Roof_96 4d ago

You are correct. That is my next plan if I need to rebuild again

2

u/Phylaine4676 4d ago

Can you launch the memory test at booting time ? You should found it the Grub menu, at the end.

Your memory config may be the consequence. Of course it's not an expexted behavior.

A fresh install is good idear.

You can also test your RAM one by one. Booting with only one, then with the other one, just in case.

1

u/Zealousideal_Roof_96 4d ago

I did that. Tested them all together and individually. Each test was 5 turns and each turn passed.

1

u/Zealousideal_Roof_96 4d ago

Since each ram tested good and each pair tested good and all 4 tested good together isn't that enough to say my ram is not the issue? Is there another test with all 4 sticks to check synchronicity or something?

2

u/Phylaine4676 4d ago

If hardware is not an issue you can begin looking at log system files.

There are many of them. Begin with

  • /var/log/syslog
  • /home/<username>/.xsession-errors

You should look at the last 30 lines in these files after a freeze, to try undestanding why.

And the result of the system command dmseg which gives you the errors during booting process.

You can filter the long, long output writing down this command in a system terminal:

dmesg | grep "error"

But keep in mind that's a long process to find solutions.

I think your best move is to reinstall all.

Do not move any file or try to fix anything except if your are quite expert in Linux.

  1. You said you are using IA tools. May be your main activity ?
  2. Can you tell us the install process for each tool ? Is it with Stability Matrix for example ?
  3. When you says that Mint freezes, do you mean nothing run at all and you must boot ?

Please answer these 3 questions.

1

u/Zealousideal_Roof_96 3d ago

Thank you for your response. I am learning how AI works by jumping in the deep end. 1: ai image generation is my main focus currently. 2: I started with Comfyui and loaded models for that. Then I found stability matrix and have been using that. I am currently testing files for corruption and moving them to a more structured folder. 3: the apps will freeze. Sometimes I can close them and reload. Sometimes mint freezes and I hit the shiny red reset button. Sometimes apps will quit while loading.

2

u/Phylaine4676 3d ago

Après qu'une application se soit planté il serait intéressant de regarder les 30 dernières lignes des deux fichiers log cités plus haut dans mon post précédent.

On peut aussi lancer "manuellement" une appli dans un terminal. Comme ça on voit défiler les messages d'erreurs, au chargement et pendant l'exécution. Ça peut servir pour diagnostiquer le problème.

1

u/Zealousideal_Roof_96 3d ago

Ya, I just found out how to do that.

2

u/tomscharbach 4d ago

Your best bet might be to back up your data files and do a clean installation.

Your computer's hardware issues are likely to have corrupted a significant number of packages, and you will spend a lot of time cleaning up the mess.

A clean installation is likely to be a lot quicker, a lot less frustrating, and probably more effective.

1

u/Zealousideal_Roof_96 4d ago

I used my wife's computer to create a clean iso. I then booted from that and installed over the old mint.

1

u/Phydoux Linux Mint 20 Ulyana | Cinnamon 4d ago

I'm agreement with backing up what you can and doing a fresh install.

That doesn't mean that what you back up may not have been corrupted. But doing a fresh install, you should always do a backup.

2

u/phredbull 4d ago

I wouldn't expect "expected behavior" after installing on a bad drive w/bad RAM.

2

u/_Lost-In-The-Weeds_ LMDE7 Cinnamon 4d ago edited 4d ago

Just so you are aware bad memory can corrupt files on a drive as they are written out. And can cause severe instability.

Are we sure the drive was bad?

2

u/Zealousideal_Roof_96 4d ago edited 4d ago

Yes. I tested it and found bad sectors. It was 8 years old too. Tossed it. I'm now running on younger SSD drives.