How to convert Ubuntu to Mikrotik CHR

⚠️ 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 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
  • 0 Usuários acharam útil
Esta resposta lhe foi útil?

Artigos Relacionados

How to buy a Virtual Server In HayHost

1. Go to the HayHost client area and click "Order New Services" in the bottom left corner....

How to Connect to Your Server via RDP on Windows 7

1. Օn your computer, access the "Start" menu, search for "Remote Desktop Connection" then click...

How to Connect to Linux Server via SSH on Windows

1. On your personal computer, navigate to the "Start" menu and type "cmd".   2. Type your IP...

How to Connect from one Linux Server to Another Using SSH

SSH is a secure way to connect to a Linux device remotely. This guide will provide you with the...

How to Configure Static IP Configuration on Windows 10

1. From the home page of your HayHost client area, click "SERVICES".   2. Select the server...