Xen: failed to copy files to image

Hi Guys,

When trying to make a routeros image file with Xen i get the error ‘failed to copy files to image’. Does anyone have any idea on how to fix this or am i missing a step? I’m reading directly from the Wiki.

Cheers in advance

Normis - the thread was right here since earlier.

what command did you use, what version?

try something like

/xen make-routeros-image file-name=asdfg file-size-128

if you do not specify size, it can fail.

also, you can try with smaller file size, but take in account, that you wont be able to expand it later on. Also, 64 Mbytes would be enough.

Hi Janisk,

i tried that and got this

[admin@MikroTik] > /xen make-routeros-image file-name=asdfg file-size=128

failed to copy files to image

So i’m completely lost still

Cheers

same thing here. I’ve tried it on 3.17 and 4.01b.

[admin@NEW Genesis BCU] /xen> make-routeros-image file-name=ros1 file-size=512


failed to copy files to image
[admin@NEW Genesis BCU] /xen>

I can see it creating the file until it gets to completion of 512 size, then it throws the above error.

I have tried it on different x86 machines as well as changing the file size. Same error all the time winbox or command line.

Thanks in advance for any help.

J.

its good to know i’m not alone on this one

My feelings exactly after spending a few hours on this issue. Nice to know I am not alone either.

So Janisk / Mikrotik? Is this a bug? What can we do to help?

Thanks in advance,

J.

Hi,

I sent e-mail with supout.rif file to support@mikrotik.com. Hopefully we’ll get some info soon.

Meanwhile I have scoured the forum and not been able to find an answer.

I’ll be sure and post mikrotik response.

Thanks,

J.

Hi,

I received a swift response to my email: :laughing:

Thanks Mikrotik.


Hello Jay,

Yes, thank you very much for the report. We discovered that it is not possible
to create an image on 3.17, we will try to fix it. Currently you may try to
use 3.13 version for Xen, it should work there.

Regards,
Sergejs



I will be trying that ASAP. I will post my results shortly.

J.

And i will watch closely for your results

it is fixed - wait for next release.

I did try downgrading to 3.13. Unfortunately… did not work. Same results. :frowning:

I am waiting patiently for new release.

Janisk, any idea when the fix will be released?

Thanks,

J.

Hello Mikrotik…?

Sergejs in Tech Support mentioned in an email a new ROS release upcoming that fixes the “Xen bug” in 3.17.

Any idea when that is forth coming?

Thanks Mikrotik for all of your hard work and time producing a reliable product that allows me to “provide” for my family.

Merry Christmas!

j.

there is no ETA yet.

I have had the same problem on ROS 4.0Beta1

working on 3.20

if you want to check if it is working - try the newest available version.

Ok

I have installed 3.20 and the problem is solved.

Now I have other error.

When I try to create the new VM it says in the status “failed to setup VM”.

Any Idea?

Greetings

check your memory usage - reduce for memory for host, leave some 32 or more MB for hypervisor and then assign memory to VM, then everything should be fine

Hi,

This did not resolved the problem.

The situation is this; I have VMWare Server 2.0 installed for testing evironment. I this server I have installed a Level 0 version of ROS 3.20 using the ISO file.

The Mikrotik VM has 512 Mb of RAM and 1 GB HD.

I configure the Ethernet interface to get into the mikrotik. Then in /xen I created a ros.img with 64 mb. It is created correctly and I setup memomry to unlimited.

Then I create a VM with this ros.img 64 M of ram and console server port 64000, CPU 1 and weight 256. I press OK an then the same error appears. “Status: Failed to setup VM”

There is enough memory amount to run the VROS.

Greetings

Hi all,

After our MUM visit, we have deployed a fresh CF with a L4 Licence on a PIV with 1Gb of RAM.

I have follow the Wiki instructions line per line and no results. The status bar of the xen window stiils saying “Failed to setup VM” after enable this from console.

The system is running ROS 3.20 for INTEL/AMD.

Any Ideas?

Greetings

Same thing here. Followed steps exactly from wiki.mikrotik.com and error “failed to setup vm”. I’m using ROS 3.25. I have plenty of memory and disk space. Every single step went fine except when trying to enable the VM.

Mikrotik, why is this happening? Are we the users to blame? Has this feature been tested? Can we get a descriptive reason as to why this might be happening?