CHR cannot be installed in Hetzner Cloud because they need an ISO

I provided them the non iso images but they cannot use them. They need an iso that will boot and install the OS on the drive like the x86 does!

Any (fast) solutions?

You must do the same type of setup as with Linode. Basically you make a new VM, then you boot into Rescue mode and mount your new VM disk to that. Then you download CHR IMG file, and write it to your VM disk. Then reboot to normal.

https://wiki.mikrotik.com/wiki/Manual:CHR_Linode
https://wiki.hetzner.de/index.php/Hetzner_Rescue-System/en

thx I will try it and I will post some feedback

It doesn't seem to work: I am including here the steps I made
boot to rescue mode:
CPU1: Intel Xeon Processor (Skylake) (Cores 2)
Memory: 3862 MB
Disk /dev/sda: 40 GB (=> 38 GiB)
Total capacity 38 GiB with 1 Disk

wget --no-check-certificate https://download2.mikrotik.com/routeros/6.41.2/chr-6.41.2.img.zip

gunzip -c chr-6.41.2.img.zip | dd of=/dev/sda bs=1M
0+4093 records in
0+4093 records out
134217728 bytes (134 MB) copied, 0.692172 s, 194 MB/s

reboot

Booting from Hard Disk...
Loading system with initrd
ERROR: could not find disk!
Please attach it somewhere else.

I am stuck here... any help would be apreciatted

Use rc version, see change log:
*) chr - added “qemu-guest-agent” and “virtio-scsi” driver on KVM installations;

I used the https://download2.mikrotik.com/routeros/6.42rc35/chr-6.42rc35.img.zip and it worked like a charm !!!

Thank both of you guys

I’m not sure if it’s available for everyone, but I asked Hetzner to add debian-live-9.4.0-i386-mate.iso to list of available ISOs to mount.
Working with GUI should be a bit simpler…

Consider using below code in Rescue Mode to resolve the problem:

wget -O- https://download.mikrotik.com/routeros/6.48.1/chr-6.48.1.img.zip | funzip | dd of=/dev/sda bs=1M

(replace the disk image link with the newest available version on the download page)
and then

reboot

finally open your IP in any browser

There is similar tutorial on Hetzner’s website but I was unable to replace disk image, all I got is:
ERROR: could not find disk!
Please attach it somewhere else.

https://community.hetzner.com/tutorials/mikrotik-chr-basic-setup

Any suggestion would be helpful. Thanks :wink:

mIRO

It sounds as if the VM has been created in an unusual way. Before entering that wget… | funzip | dd … line, what does ls /dev/ show?
And what does mount | grep sd show?

Hi,
actually I just managed to install MT CHR v7. Before, I tried with v 6.48.6 and as an extra step now I zeroized sda device before copying image file:

dd if=/dev/zero of=/dev/sda bs=512 count=1

MT runs as expected :wink:

mIRO