Trying to mount root from ufs:/dev/ufs/OPNsense_Nano [rw]...WARNING: / was not properly dismountedrandom: unblocking device.Setting hostuuid: dd974d29-fee3-11e6-b15e-000db950feac.Setting hostid: 0xc348cc7e.Starting file system checks:/dev/ufs/OPNsense_Nano: CYLINDER GROUP 0: BAD MAGIC NUMBER/dev/ufs/OPNsense_Nano: UNEXPECTED SOFT UPDATE INCONSISTENCY; RUN fsck MANUALLY.Automatic file sysuhub1: 4 ports with 4 removable, self poweredtem check failed; help!ERROR: ABORTING BOOT (sending SIGTERM to parent)!
# fsck -y /dev/ada0a** /dev/ada0a** Last Mounted on /** Phase 1 - Check Blocks and SizesCYLINDER GROUP 0: BAD MAGIC NUMBERUNEXPECTED SOFT UPDATE INCONSISTENCYREBUILD CYLINDER GROUP? yes[ this error happens 32 times for cylinders 0 to 31... ]** Phase 2 - Check Pathnames** Phase 3 - Check ConnectivityUNREF DIR I=494302 OWNER=root MODE=40755SIZE=512 MTIME=Sep 19 15:00 2019RECONNECT? yesNO lost+found DIRECTORYCREATE? yesCYLINDER GROUP 0: BAD MAGIC NUMBERUNEXPECTED SOFT UPDATE INCONSISTENCYREBUILD CYLINDER GROUP? yesfsck_ffs: bad inode number 0 to ginode
# bunzip2 -c OPNsense-19.7-OpenSSL-nano-amd64.img.bz2 | dd of=/dev/ada0 bs=64M0+727313 records in48+0 records out3221225472 bytes transferred in 249.678551 secs (12901491 bytes/sec)# fsck /dev/ada0a** /dev/ada0a** Last Mounted on** Phase 1 - Check Blocks and SizesCYLINDER GROUP 0: BAD MAGIC NUMBERREBUILD CYLINDER GROUP? [yn] ^C***** FILE SYSTEM MARKED DIRTY *****
# bunzip2 -c OPNsense-19.1.4-OpenSSL-nano-amd64.img.bz2 | dd of=/dev/ada0 bs=64M0+738237 records in48+0 records out3221225472 bytes transferred in 234.867398 secs (13715081 bytes/sec)root@boxlive:/tmp # fsck /dev/ada0a** /dev/ada0a** Last Mounted on** Phase 1 - Check Blocks and Sizes** Phase 2 - Check Pathnames** Phase 3 - Check Connectivity** Phase 4 - Check Reference Counts** Phase 5 - Check Cyl groups35209 files, 271164 used, 513915 free (11 frags, 64238 blocks, 0.0% fragmentation)***** FILE SYSTEM IS CLEAN *****