RouterOS >= 6.42rc52
Boot VPS to rescue mode from OVH panel.
Login via ssh.
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
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.
roulyz
May 21, 2017, 10:52am
5
Just run this command.
PS : check your interface name before apply. here the interface name is : “ens3”. Change according yours
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
roulyz:
Just run this command.
PS : check your interface name before apply. here the interface name is : “ens3”. Change according yours
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?
savage
June 16, 2017, 7:46pm
8
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
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.
Wencey
November 2, 2017, 4:56am
10
i use bandwagon and i meet the same issue.
raffav
January 31, 2018, 10:33pm
11
Muqatil:
Hello
I am trying to install CHR on VPS OVH SSD from raw image (recovery mode and dd).
cd /root
curl -O http://download2.mikrotik.com/routeros/6.38.5/chr-6.38.5.img.zip
gunzip -S .zip chr-6.38.5.img.zip
umount /mnt/sdb1
dd if=/root/chr-6.38.5.img of=/dev/sdb
After reboot RouterOS won’t boot. I attach screen from console. Aprox. one year ago OVH config was able to run CHR, today is not.
I am aware that some kind of VirtIO problems was fixed in 6.31, but please keep in mind, that I am trying to use 6.38.5.
Please help
PS: Info about SCSI controller from lspci:
00:04.0 SCSI storage controller: Red Hat, Inc Virtio SCSI
Subsystem: Red Hat, Inc Device 0008
Physical Slot: 4
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR+ FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at c000 [size=64]
Region 1: Memory at febd2000 (32-bit, non-prefetchable) [size=4K]
Capabilities: [40] MSI-X: Enable+ Count=4 Masked-
Vector table: BAR=1 offset=00000000
PBA: BAR=1 offset=00000800
Kernel driver in use: virtio-pci
Kernel modules: virtio_pci
Simillar problem:
http://forum.mikrotik.com/t/error-in-virtio-disk-driver-in-6-31/90727/1
http://forum.mikrotik.com/t/chr-fatal-error-no-harddrives-found/95490/1
Update:
I’ve prabobly found main couse of the failure. Error occurs only when guest disk bus type is set to SCSI ().
Settings that works: VirtIO, IDE, SATA.
Update (2), news from Mikrotik support:
RouterOS does not support SCSI disk installation(..)
Update (3), news from OVH Support:
There are no possibility to change VPS config, nor buy VPS from older region.
Dear Mikrotik Developers, could you please fix this?
In case of OVH VPS SSD (and many more budget VPSes) it’s impossible to modify guest config details.
Edit: another request, http://forum.mikrotik.com/t/chr-suggestions-for-new-functionality/111599/120
hi
i think ramnode support ide driver
look at attachments
Looks promissing. Thank you!
raffav
February 1, 2018, 2:14am
13
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
Enviado de meu XT1580 usando Tapatalk
CHR can run only in full virtualization like vmware, kvm, xen or hyper-v
raffav
February 3, 2018, 11:06am
15
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
odvolk
February 15, 2018, 11:29am
16
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
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