⚠️ WARNING
This process will completely erase Ubuntu on /dev/sda.
1. Download and unzip the CHR image
wget https://download.mikrotik.com/routeros/7.15.3/chr-7.15.3.img.zip
unzip chr-7.15.3.img.zip
2. Check the disk
lsblk
Make sure the primary disk is /dev/sda .
3. Remount → read-only
echo u > /proc/sysrq-trigger
4. Write the CHR image to disk (dd)
dd if =chr-7.15.3.img of =/dev/sda bs =4M oflag =sync status =progress
The entire file size should be written (around 128MB).
5. Forced reboot (mandatory SysRq)
sudo sync
sudo reboot -f
6. Login to CHR
Login:
admin
(empty password)
7. Quick initial setup
/user set 0 password =StrongPass123
/interface print
/ip address add address =your server IP/24 interface =ether1
/ip route add gateway = default gateway for your server
/ip dns set servers = 8 .8.8.8,8.8.4.4 allow-remote-requests = no
/ip service disable ssh
