Ubuntu 12.04 on Amazon EC2: /dev/xvda1 will be checked for errors at next reboot?

From Eric's linked Q&A, the short version is:

It is a bug on Ubuntu 11.04 and 12.04 ... which causes a file to be created with a future time stamp that contains that message.

The simplest solution to fix this bug is to delete the notification file:

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

Other ways to deal with it can be found in that Q&A.


Why is fs_passno set to 0 on Amazon EC2 Ubuntu images?

If fsck were run on boot and found problems, then it might be sitting waiting for the answer to a prompt. However, since Amazon EC2 does not provide access to the console on an instance, there is no way that you could answer the prompt and the instance would become unusable.


Linked Q&A:

  • Persistent "disk will be checked..." in the message of the day (motd) even after reboot