Solved The system stopped loading. FreeBSD 12

Is that a screenshot from single-user boot?
If not, I would try booting to single user mode and fscking /

Something similar happened here.
 
panic: ufs_dirbad: /: bad dir ino 15810435 at offset 512 ...

You have problems with root filesystem, inode 15810435.

First of all, check health of your hard disk.
Show hard disk SMART attributes here, if you can.

If health of disk is good, then try to run fsck() in singleuser mode.
 
Back
Top