Simply hold down Command-S as the system boots to get into single user mode. To check and fix the filesystem run fsck -fy:
Our readers provide the funding for our platform, and we may receive a commission when you make a purchase using the links on our site.