GNU/Linux is built of many programs around a kernel. One of those programs is used to check your file system for errors before mounting it while booting. If errors are detected then the boot process stops and places you at a command line where you must somehow repair your disk so that your system can…