CHR on OVH VPS SSD

  1. RouterOS >= 6.42rc52
  2. Boot VPS to rescue mode from OVH panel.
  3. Login via ssh.
  4. Execute this TWO lines:

v7.6

cd /root && curl -O https://download.mikrotik.com/routeros/7.6/chr-7.6.img.zip && gunzip -S .zip chr-7.6.img.zip && umount /mnt/sdb1
dd if=/root/chr-7.6.img of=/dev/sdb

v6.48.6

cd /root && curl -O https://download.mikrotik.com/routeros/6.48.6/chr-6.48.6.img.zip && gunzip -S .zip chr-6.48.6.img.zip && umount /mnt/sdb1
dd if=/root/chr-6.48.6.img of=/dev/sdb
  1. Reboot from OVH panel, done!

Have you tried to dd already installed image from some other VM?

Thank you for your answer. Even if it would work, that configuration will be unsupported, so if something will goes wrong, nobody could help me with it.
CHR is relatively young product that should be ‘polished’ in the matter of compatibility (in my opinion open vm tools and drivers). Today the general-use distros offers better compatibility with vm enviorment than specialized cloud mikrotik solution.

Unsupported by whom? OVH won’t support any CHR installation, I think. MikroTik doesn’t care - it’s just like moving the disk to another machine. If it works - you’re just lucky.

Just run this command.
PS : check your interface name before apply. here the interface name is : “ens3”. Change according yours :smiley:

wget https://download2.mikrotik.com/routeros/6.39.1/chr-6.39.1.img.zip -O chr.img.zip &&
gunzip -c chr.img.zip > chr.img &&
mount -o loop,offset=33554944 chr.img /mnt &&
ADDRESS=ip addr show ens3 | grep global | cut -d' ' -f 6 | head -n 1 &&
GATEWAY=ip route list | grep default | cut -d' ' -f 3 &&
echo "/ip address add address=$ADDRESS interface=[/interface ethernet find where name=ether1]
/ip route add gateway=$GATEWAY
" > /mnt/rw/autorun.scr &&
umount /mnt &&
echo u > /proc/sysrq-trigger &&
dd if=chr.img bs=1024 of=/dev/vda

Could you tell me what is the purpose of that manual? The problem is lack of (v)hard disk controller driver.

So, it lacks the driver in whole RouterOS or only in CHR Image Installer?

There has been some posts floating around on the forum about converting the IDE disk to SCSI, and making it work that way with a few more different type of setups.

search a bit, perhaps theyll work for you :slight_smile:

Some time ago I’ve tried to install CHR on a Hetzner VPS, unfortunately I ran into exactly the same issue.
It would be nice if Mikrotik could support virtio SCSI storage controllers as well.

i use bandwagon and i meet the same issue.

hi
i think ramnode support ide driver
look at attachments
Untitled.png

Looks promissing. Thank you!

Hi,
Do you know if is possible to try this on openvps instead of kvm?
Because in ramnode there is a vpz small one that cost 15 dollars yearly, very cheap
@th0massin0

Edited

DIT

worked thanks allot
Untitled.png
Enviado de meu XT1580 usando Tapatalk

CHR can run only in full virtualization like vmware, kvm, xen or hyper-v

Was a little pain in the ass to find a Linux on the ramnode repository that work smoth in 512mb and since I don’t have skills on Linux I need to do some research how formart a disk via command line,
After some live cd crash, freezes i maked work



Enviado de meu XT1580 usando Tapatalk

Hi! I wanted to know how could you manage with this? Can you bring some instructions on this? We bought an “VPS 2016 SSD 1” @ OVH.com and we are suffering some ass f***k with their system. Please, help us

I install CHR yesterday (30.07.2018). I must change sdb into vdb

cd /root && curl -O https://download2.mikrotik.com/routeros/6.42.3/chr-6.42.3.img.zip && gunzip -S .zip chr-6.42.3.img.zip && umount /mnt/vdb1
dd if=/root/chr-6.42.3.img of=/dev/vdb

how to update this CHR to the new version?

Update is as with any other Mikrotik device. Upload the image (x86 for CHR) and reboot.

Thank you! Download image x86 and updated my CHR :unamused: