Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No rules to make target 'osv.vmdk'. #1172

Closed
sammekh opened this issue Sep 28, 2021 · 4 comments
Closed

No rules to make target 'osv.vmdk'. #1172

sammekh opened this issue Sep 28, 2021 · 4 comments

Comments

@sammekh
Copy link

sammekh commented Sep 28, 2021

I'm trying to build OSv image to run to VMware Player using the following wiki guide, but it seems 'make osv.vmdk' is not available in the latest stable version, is there a replacement to it?

@nyh
Copy link
Contributor

nyh commented Sep 29, 2021

This wiki page was last updated in 2014, and no longer contains up-to-date instructions.

The correct steps is to first run scripts/build to build an image in qcow2 format, and then convert it to vmdk format using scripts/convert vmdk. The resulting vmdk image will be in build/last/osv.vmdk.

It would be great if you could please test this and update the wiki and close this issue.

By the way, a separate question is whether the result will actually work on vmware. OSv definitely used to work on vmware but I don't know if anyone tested this recently - with recent vmware, compilers and OSv. If it doesn't work, please create additional issues. Thanks.

@wkozaczuk
Copy link
Collaborator

I think I was able to deploy and run OSv on VMware ESXi 3 years ago if my memory serves me well. I am not sure how different this is from VMware Player.
A couple of months ago somebody tried to run OSv on VMware Fusion but I think it was a nested virtualization setup so inside a LinuxVM.
How similar is VMware Fusion to VMware player? I happen to have VMware Fusion installed so I might be able to figure this out and help you a bit.

@sammekh
Copy link
Author

sammekh commented Sep 29, 2021

Thank you for the quick responses.
I was able to run the OSv image on VMware Player using scripts/convert vmdk and then scripts/gen-vmx.sh.

I was able to deploy it on VMware ESXi as well using this wiki, instead of osv.ova which was not working for me, I generated osv.ovf using ovftool and import all the generated files using vsphere Client. That test was successful as well.
I'll update the wiki and close this issue.

@sammekh
Copy link
Author

sammekh commented Sep 29, 2021

wiki updated

@sammekh sammekh closed this as completed Sep 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants