Endless OS may fail to load, with the following error message:
error: no such device: ostree
This error may be repeated again and again, as follows:
To enable your computer to boot again:
At this point, you should be able to successfully boot into your Endless OS installation once again, however there is a small chance that the problem will reoccur in future.
To avoid this problem from reoccuring, please backup your files and documents, and then reinstall the latest version of Endless OS on your computer.
The following supplemental information is intended for developers and technicians.
The root cause here is that when the system is shut down with a certain number of free inodes on the root filesystem, grub will become confused next time the system is booted, believing that our ext4 filesystem is actually minix.
This is because there is an unfortunate collision with the storage location of the minix superblock magic number and the ext4 free inode counter. The workaround above is to simply adjust the number of files on the disk, such that the free inode count changes.
This grub issue was fixed as of Endless OS 3.8.4, but unfortunately Endless OS does not yet come with an automated bootloader update mechanism. Any installation made with a version older than 3.8.4 will remain susceptible to this issue, even if such installation was updated to the latest version.