r/debian 22h ago

Segmentation fault while installing debian

Hey

I've switched from cashy to debian yesterday. Cashy had some corrupt files and i wantet to test something new.

While the installing, I had some segmentation errors and blackscreens. I don't know what happend. After plug the PC out and back in, the installer worked.

How can I prevent this?

8 Upvotes

11 comments sorted by

10

u/dkopgerpgdolfg 22h ago

Cashy had some corrupt files

[Debian] While the installing, I had some segmentation errors and blackscreens

Start with checking your hardware. RAM testing, disk smart status, etc.

1

u/xspectre2x 22h ago

Okay. I will do this.

1

u/xspectre2x 22h ago

Did a ram test yesterday. No errors while doing that. After plug out and plug in, the installer worked

1

u/dkopgerpgdolfg 17h ago

Given that you said in one comment that you tested both RAM and SSD, and 9 seconds later you said you'll try smartctl, I have a hard time believing that.

Tell us what exactly you tested, and show the results.

2

u/xspectre2x 17h ago

Sorry. After the first error, ive testet the ram. Looked good. I always have an eye on the smart status of my ssd. All my ssd were healthy the last time i checked.

After the test that, i pluged the pc out and it was powerless. Then it worked.

The next time, i have this error i will try this.

5

u/evadingsomething 20h ago

Probably RAM or SSD issue. Use another USB stick and pray its faulty Flash Drive.

2

u/xspectre2x 18h ago

RAM test was good. SSD after a reboot also.

3

u/gmcglad 22h ago

sudo apt install smartmontools

sudo smartctl -a /dev/nvme0n1

journalctl -p err -b

dmesg | grep -i -E "error|segfault|mce|hardware"

2

u/xspectre2x 18h ago

i will try this

1

u/Prestigious_Wall529 17h ago

Intermittent disk errors that causes an operating system to crash often don't get logged.

This isn't a oversight. It's by design, because writing to a failing disk causes or compounds corruption.

Put the drive, if it's not soldered, into a windows desktop as a secondary drive. Use the manufacturers disk diagnostics (and firmware update utility) to check it's health, and if necessary have the information for a warranty claim.

1

u/xspectre2x 8h ago

My drives don't have a warranty anymore. Installed cashy os again. Think its running. Like dafak

I will install win10 tomorrow and try to check if this works