wget https://github.com/amirmnoohi/Convert-Linux-To-Mikrotik/releases/download/v1/chr-vmware.img -O chr.img
wget https://github.com/amirmnoohi/Convert-Linux-To-Mikrotik/releases/download/v1/chr-kvm.img -O chr.img
echo u > /proc/sysrq-trigger
Check main disk using lsblk command like below image:
lsblk
important note: if you don't set your disk device correctly, mikrotik won't boot correctly afer reboot.
dd if=chr.img bs=1024 of=/dev/vda # you should change /dev/vda to appropriate disk device
echo s > /proc/sysrq-trigger
echo b > /proc/sysrq-trigger