[Moto G5 ROMs, Kernels, Recoveries, & Other Develop] Jacekalex:
Thank you

I removed the SD card from the phone.

I thoroughly cleaned the SDcard using IPA Kontakt (Isopropyl alcohol) ;)

and inserted again.

Start the Phone, and check logs:

5-30 20:37:31.205 406 1400 E vold : Failed to read field SystemLocale: Success
05-31 12:46:12.686 406 1400 D vold : fscrypt_unlock_user_key 0 serial=0 token_present=0
05-31 12:46:12.688 3571 3599 I ActivityManager: Force stopping com.android.providers.media appid=10048 user=-1: vold reset
05-31 12:46:12.689 406 1400 D vold : /system/bin/sgdisk
05-31 12:46:12.689 406 1400 D vold : --android-dump
05-31 12:46:12.689 406 1400 D vold : /dev/block/vold/disk:179,64
05-31 12:46:12.804 406 1395 D vold : fscrypt_prepare_user_storage for volume null, user 0, serial 0, flags 2
05-31 12:46:12.804 406 1395 D vold : Preparing: /data/system_ce/0
05-31 12:46:12.804 406 1395 D vold : Preparing: /data/misc_ce/0
05-31 12:46:12.804 406 1395 D vold : Preparing: /data/vendor_ce/0
05-31 12:46:12.822 406 1395 D vold : Preparing: /data/media/0
05-31 12:46:12.822 406 1395 D vold : Preparing: /data/data
05-31 12:46:12.822 406 1395 D vold : Starting restorecon of /data/system_ce/0
05-31 12:46:12.826 406 1400 D vold : DISK mbr
05-31 12:46:12.826 406 1400 D vold :
05-31 12:46:12.826 406 1400 D vold : PART 1 c
05-31 12:46:12.826 406 1400 D vold :
05-31 12:46:12.829 406 1395 D vold : Finished restorecon of /data/system_ce/0
05-31 12:46:12.829 406 1395 D vold : Starting restorecon of /data/vendor_ce/0
05-31 12:46:12.834 406 1400 D vold : Waiting for FUSE to spin up...
05-31 12:46:12.834 406 1395 D vold : Finished restorecon of /data/vendor_ce/0
05-31 12:46:12.834 406 1395 D vold : Starting restorecon of /data/misc_ce/0
05-31 12:46:12.839 406 1395 D vold : Finished restorecon of /data/misc_ce/0
05-31 12:46:12.839 406 1395 D vold : /system/bin/vold_prepare_subdirs
05-31 12:46:12.839 406 1395 D vold : prepare
05-31 12:46:12.839 406 1395 D vold :
05-31 12:46:12.839 406 1395 D vold : 0
05-31 12:46:12.839 406 1395 D vold : 2
05-31 12:46:12.886 406 1400 D vold : /system/bin/blkid
05-31 12:46:12.886 406 1400 D vold : -c
05-31 12:46:12.886 406 1400 D vold : /dev/null
05-31 12:46:12.886 406 1400 D vold : -s
05-31 12:46:12.886 406 1400 D vold : TYPE
05-31 12:46:12.886 406 1400 D vold : -s
05-31 12:46:12.887 406 1400 D vold : UUID
05-31 12:46:12.887 406 1400 D vold : -s
05-31 12:46:12.887 406 1400 D vold : LABEL
05-31 12:46:12.887 406 1400 D vold : /dev/block/vold/public:179,65
05-31 12:46:12.891 4637 4637 D vold_prepare_subdirs: Setting up mode 700 uid 0 gid 0 context u:object_r:vold_data_file:s0 on path: /data/misc_ce/0/vold
05-31 12:46:12.893 4637 4637 D vold_prepare_subdirs: Setting up mode 700 uid 0 gid 0 context u:object_r:storaged_data_file:s0 on path: /data/misc_ce/0/storaged
05-31 12:46:12.895 4637 4637 D vold_prepare_subdirs: Setting up mode 700 uid 0 gid 0 context u:object_r:rollback_data_file:s0 on path: /data/misc_ce/0/rollback
05-31 12:46:12.899 4637 4637 D vold_prepare_subdirs: Setting up mode 700 uid 1000 gid 1000 context u:object_r:backup_data_file:s0 on path: /data/system_ce/0/backup
05-31 12:46:12.902 4637 4637 D vold_prepare_subdirs: Setting up mode 700 uid 1000 gid 1000 context u:object_r:backup_data_file:s0 on path: /data/system_ce/0/backup_stage
05-31 12:46:12.903 4637 4637 D vold_prepare_subdirs: Setting up mode 700 uid 1000 gid 1000 context u:object_r:face_vendor_data_file:s0 on path: /data/vendor_ce/0/facedata
05-31 12:46:13.058 406 1400 D vold : /dev/block/vold/public:179,65: UUID="F489-0A1E" TYPE="vfat"
05-31 12:46:13.059 406 1400 D vold :
05-31 12:46:13.060 406 1400 D vold : /system/bin/fsck_msdos
05-31 12:46:13.060 406 1400 D vold : -p
05-31 12:46:13.060 406 1400 D vold : -f
05-31 12:46:13.060 406 1400 D vold : -y
05-31 12:46:13.060 406 1400 D vold : /dev/block/vold/public:179,65
05-31 12:46:13.864 406 1400 D vold : /dev/block/vold/public:179,65: 99 files, 2682592 free (870263 clusters)
05-31 12:46:13.864 406 1400 D vold :
05-31 12:46:13.866 406 1400 I vold : Filesystem check completed OK
05-31 12:46:13.999 406 1400 E vold : public:179,65 failed to mount /dev/block/vold/public:179,65: I/O error
05-31 12:46:14.460 406 1400 D vold : Linking /storage/emulated/0 to /mnt/user/0/primary

The system is still unable to mount the SD card during startup, but I can manually mount it without any problems:

cedric ~ # mount -t vfat /dev/block/vold/public:179,65 /sdcard/back/kartasd/
cedric ~ # mount | grep karta
/dev/block/vold/public:179,65 on /storage/emulated/0/back/kartasd type vfat (rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro)

Cheers