Since last week my Pi begin to take a long time during boot to check its sd card, and if plugged any external devices.
At first I thought the SD card was dead, but switching with another, and installing from scratch with latest lite image (2018-06-27) still yields me with this error.
So I got into internet and found this question, "checking in progress on 1 disk" runs every time I boot, and followed the first comment's links, one of them relates this issue with a wrong past datetime at boot.
So I proceed to do a sudo journalctl
and surprisingly my Pi boots with November 3 2016 as the date, and it seems to be causing the check every boot.
My question is: How to fix that? Isn't the Pi supposed to save the shutdown/reboot date somewhere (since it didn't have a internal clock) and restore at boot? Are my Pi damaged in someway?
For information, my Pi is 3B and its uname
is:
Linux raspberrypi 4.14.50-v7+ #1122 SMP Tue Jun 19 12:26:26 BST 2018 armv7l GNU/Linux
now = Thu Nov 3 15:16:42 2016
. This is strange because it began to happen only from weeks ago and persists across sd cards. Thats why i asked if could be something with my pi, or a update of raspbian began to cause it. Anyway i've updated my question to reflect this. – Vico Jul 05 '18 at 14:06fake-hwclock.data
had the same date as the image, but that isn't necessarily policy. The reason it may not have affected you until a certain point is becausefsck
doesn't run at evey boot, and may not run at all until you have an unclean shutdown. – goldilocks Jul 05 '18 at 17:34