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.
Code: Select all
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