Thursday, May 9, 2024
 Popular · Latest · Hot · Upcoming
37
rated 0 times [  37] [ 0]  / answers: 1 / hits: 30529  / 2 Years ago, tue, march 29, 2022, 6:58:11

I see that there are some other threads that mention this error, but I have tried the solutions with no luck.



When I log into my 12.04 Server, I get the message:



/dev/sdb1 will be checked for errors at next reboot
/dev/sdc1 will be checked for errors at next reboot


The problem is that the check is never done and I continue to get the messages. I ran a fsck on both drives and they are fine.


More From » hard-drive

 Answers
7

This is a known bug in Ubuntu 11.04 and apparently still exists in 12.04 LTS. What happens is what you described: you keep getting the notification even though there is nothing wrong with your hard drive and no checks are scheduled/will be done.



It's caused by the /usr/lib/update-notifier/update-motd-fsck-at-reboot script generating a /var/lib/update-notifier/fsck-at-reboot file with a timestamp in the future. The previous link has a convoluted solution from one of the Ubuntu maintainers (Steve Langasek), but it may be simplest to just do this:




  1. Open a terminal with Ctrl-Alt-T

  2. Type:



    sudo rm /var/lib/update-notifier/fsck-at-reboot

  3. Exit the terminal and reboot (or logout/login).


[#36881] Thursday, March 31, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
heaco

Total Points: 479
Total Questions: 124
Total Answers: 114

Location: Lesotho
Member since Sat, Oct 1, 2022
2 Years ago
heaco questions
Sun, Aug 15, 21, 03:08, 3 Years ago
Thu, Oct 14, 21, 16:28, 3 Years ago
Thu, Jun 30, 22, 09:40, 2 Years ago
;