Update to the latest RouterOS, then follow the steps below:
# Update the firmware after routerOS upgrade:
system routerboard upgrade
# Reboot the device to apply the firmware update.
system reboot
# Install the SwOS on the CRS310:
system swos upgrade
# Set the SwOS as default boot:
system routerboard settings set boot-os=swos
#reboot again
system reboot