It could happen, as it did to me, that when you open your Virtual box and start your Ubuntu virtual machine, you get the error below :
fsck from util-linux 2.26.2 /dev/sda1 contains a file system with errors, check forced. /dev/sda1: Inodes that were part of a corrupted orphan linked list found.
/dev/sda1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options) fsck exited with status code 4
The root filesystem on /dev/sda1 requires a manual fsck Busybox v1.22.1 (Ubuntu 1:1.22.0-15ubuntu1) built in shell (ash) Enter ‘help’ for a list of built-in commands. (initramfs) _
How to fix that ?
What you would need to do is already suggested in the error message per se, .i.e. run the command below :
fsck /dev/sda1 -y
(or whatever partition is mentioned in the message)
Then you have to reboot and you should be good to go…