Community discussions

MikroTik App
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 283
Joined: Fri Mar 14, 2014 12:33 pm

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

Wed Feb 28, 2018 1:28 pm

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?
 
User avatar
normis
MikroTik Support
MikroTik Support
Posts: 26322
Joined: Fri May 28, 2004 11:04 am
Location: Riga, Latvia

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

Wed Feb 28, 2018 1:48 pm

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/Hetzn ... -System/en
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 283
Joined: Fri Mar 14, 2014 12:33 pm

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

Wed Feb 28, 2018 2:05 pm

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/Hetzn ... -System/en
thx I will try it and I will post some feedback
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 283
Joined: Fri Mar 14, 2014 12:33 pm

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

Wed Feb 28, 2018 2:56 pm

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 ... .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
 
iwikus
newbie
Posts: 33
Joined: Sat Jun 16, 2007 9:55 am

Re: CHR cannot be installed in Hetzner Cloud because they need an ISO  [SOLVED]

Wed Feb 28, 2018 3:34 pm

Use rc version, see change log:
*) chr - added "qemu-guest-agent" and "virtio-scsi" driver on KVM installations;
 
User avatar
genesispro
Member Candidate
Member Candidate
Topic Author
Posts: 283
Joined: Fri Mar 14, 2014 12:33 pm

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

Wed Feb 28, 2018 4:03 pm

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 ... 35.img.zip and it worked like a charm !!!

Thank both of you guys
 
kharkin0
just joined
Posts: 7
Joined: Wed Mar 01, 2017 2:59 pm

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

Fri Apr 06, 2018 9:19 am

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...
 
amingholami
just joined
Posts: 6
Joined: Thu Sep 13, 2018 7:09 pm
Location: Iran, Borazjan
Contact:

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

Thu Mar 25, 2021 11:35 am

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
 
User avatar
vmiro
Frequent Visitor
Frequent Visitor
Posts: 80
Joined: Sun Jan 29, 2006 6:53 pm

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

Fri Mar 18, 2022 11:40 pm

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 ... asic-setup

Any suggestion would be helpful. Thanks ;)

mIRO
 
sindy
Forum Guru
Forum Guru
Posts: 10205
Joined: Mon Dec 04, 2017 9:19 pm

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

Sat Mar 19, 2022 8:35 am

I was unable to replace disk image, all I got is:
ERROR: could not find disk!
Please attach it somewhere else.
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?
 
User avatar
vmiro
Frequent Visitor
Frequent Visitor
Posts: 80
Joined: Sun Jan 29, 2006 6:53 pm

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

Sun Mar 20, 2022 9:57 pm

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 ;)

mIRO

Who is online

Users browsing this forum: Bing [Bot], edielson_atm, syslog and 98 guests