1

I was watching movie on Amazon Prime and suddenly screen started stuttering. Not only that, it also does that on other video streaming websites. The video goes into a loop and nothing works. It does not shutdown, so i have to restart manually. Then on reboot, I get the initramfs error. I am talking about this error.

I found the solution here.

So my question is:-

  1. What is the root cause of this error as I got it twice in a day.
  2. Is there something wrong with my hard-drive or with the processor?
  3. How to prevent this error?

1 Answers1

1

A bad disk probably.

(where it lists sda replace it for your device: see fdisk -l for instance)

After you get to a working system or from a live session do a ...

sudo apt-get update && sudo apt-get install smartmontools
sudo smartctl -c /dev/sda

to install smartmontools and let it show how long a test is going to take and then do a

sudo smartctl -a /dev/sda

to show any problems.

This can be used to create a list of badblocks:

sudo badblocks -v /dev/sda > badblocks.txt && more badblocks.txt

The more the worse the state of the disk.

The more issues the better it is to replace it.

Rinzwind
  • 309,379