Community discussions

MikroTik App
 
jjjjose
just joined
Topic Author
Posts: 1
Joined: Thu Apr 07, 2022 9:13 am

Script to install CHR 7.2 on vps with QEMU

Thu Apr 07, 2022 9:27 am

Hello friends how are you?
I hope that very good.

These days I was trying to install a CHR 7+ in QEMU in a vps
Unfortunately, there is no official tutorial on how to do it.
But luckily I was able to do it.

The script worked fine for me on Ubuntu 16.04 or 18.04
Does not work for Ubuntu 20.04
I'm leaving this for someone else to use.
sudo su
wget --no-check-certificate https://download.mikrotik.com/routeros/7.2/chr-7.2.img.zip -O chr.img.zip  && \
gunzip -c chr.img.zip > chr.img && \
dd if=chr.img of=/dev/vda bs=4M oflag=sync && \
echo u > /proc/sysrq-trigger && \
echo 1 > /proc/sys/kernel/sysrq && \
echo b > /proc/sysrq-trigger

Who is online

Users browsing this forum: No registered users and 9 guests