December 25, 201312 yr Will the scripts you've posted for self-compilation work with 4.3.6? Yes, it should work. Only if there are some big changes on vbox or unraid they should require changes. will there be any leftovers after a server restart ? No. Unraid runs on a ramfs, loaded from bzroot file at every boot, any changes to this filesystem (in this case installing development tools, etc) will "disappear" after reboot.
December 27, 201312 yr couldn't make 4.3.6 work. the plugin just didn't install it at startup. downloaded 4.3.4 you've compiled and now everything works... Thanks Shlomi
December 28, 201312 yr no errors, and it works until a restart of the server. but the virtualbox plugin didn't start it up automatically after a restart (or am I missing something?)
December 28, 201312 yr Guess you need to somehow "let the plugin know" what package file it should load at startup?
December 28, 201312 yr The plugin can be configured to automatically restart the package upon restart.
December 29, 201312 yr The plugin can be configured to automatically restart the package upon restart. Yes, but I'm guessing his problem may be the plugin doesn't know it needs to load the new package version - with different file name - that he did manually copy to the flash... I don't use the plugin myself then not sure how this is done to make the plugin use a different vbox package file, but you can surely help him on that.
December 29, 201312 yr no errors, and it works until a restart of the server. but the virtualbox plugin didn't start it up automatically after a restart (or am I missing something?) What is the file name?
December 29, 201312 yr after using the procedure outlined by nars, it created VirtualBox-4.3.6-91406-Linux_x86.tgz
December 29, 201312 yr after using the procedure outlined by nars, it created VirtualBox-4.3.6-91406-Linux_x86.tgz That is the problem ! I am using a1aina's convention as mentioned here: http://vbox.a1aina.com/ you should rename your file to: vbox-4.3.6-unRAID-3.9.11p.tgz (if it is for unraid v5.0.4 - kernel version 3.9.11p)
December 29, 201312 yr Wait... there is something wrong then... as my script do not create package with that file name, I guess that is the virtualbox file you downloaded from virtualbox site? not the created package - that one should be created as vbox-4.3.6-unRAID-3.9.11p.tgz as theone pointed. Then I guess your mistake was the last 'cp', you did actually copy to the flash the file you downloaded from virtualbox site and not the created package.
December 31, 201312 yr Wait... there is something wrong then... as my script do not create package with that file name, I guess that is the virtualbox file you downloaded from virtualbox site? not the created package - that one should be created as vbox-4.3.6-unRAID-3.9.11p.tgz as theone pointed. Then I guess your mistake was the last 'cp', you did actually copy to the flash the file you downloaded from virtualbox site and not the created package. I have used your procedure as follows: cd ~ /boot/dev/buildev.sh make mkdir /tmpfs && mount -t tmpfs -o rw,size=1G tmpfs /tmpfs && export TMPDIR=/tmpfs wget http://download.virtualbox.org/virtualbox/4.3.6/VirtualBox-4.3.6-91406-Linux_x86.run sh VirtualBox-4.3.6-91406-Linux_x86.run /boot/dev/vboxpkgc.sh cp VirtualBox-4.3.6-91406-Linux_x86.tgz /boot/config/plugins/virtualbox
December 31, 201312 yr Your last step should be: cp vbox-4.3.6-unRAID-3.9.11p.tgz /boot/config/plugins/virtualbox
January 24, 201412 yr As promised, and seeing that lainie isn't still updating his packages, here is my own compiled package for VirtualBox 4.3.6, with modules compiled on unRaid 5.0.5: http://nars.aloj.net/temp/unraid/vbox-4.3.6-unRAID-3.9.11p.tgz
January 24, 201412 yr Thank you Nars. I may be off base here but can we use the same procedure to compile a 64bit version of VirtualBox? With the latest 64bit beta of unraid I'd be willing to try my VM's on it using vbox 64bit. I know the push/interest regarding virtualization is to use the baked in options and that would certainly be my preference. I'm more just curious if it's doable should I want to run the beta for a while and keep vbox.
January 24, 201412 yr @hoek: If you are referring to the steps/scripts I did posted some pages back, vboxpkgc.sh script maybe doesn't need any changes but buildev.sh will surely need some changes, at least to get proper Slackware 14.1 x64 packages for unRaid 6.0 instead of Slackware 13.1. I will soon test unRaid 6.0 on a VM and may check what changes needed on these scripts, but as you said KVM will be surely a better option on unRaid 6.0, when all ready for it.
January 25, 201412 yr Will KVM run on atom based board? Found this on a quick search: http://serverfault.com/questions/555641/settings-kvm-on-atom-processor
January 26, 201412 yr VirtualBox 4.3.6 package for unRaid 6.0 beta (64-bit): http://nars.aloj.net/temp/unraid/vbox-4.3.6-unRAID-3.10.24p-x86_64.tgz Note: to use it with the VirtualBox plugin you may need to remove the '-x86_64' suffix on the package filename or the plugin may not like it... @theone: is the suffix a problem? can it be sorted? also if you are going to do changes on the plugin could you please also make it support .txz packages? as it does an huge difference in package size... Also I did updated my 'buildev.sh' script to support unRaid 6.x, detecting it and getting the right slackware 14.1 packages.
January 26, 201412 yr I will see (hopefully this week) what I can do to support an additional suffis for 64bit and txz.
January 27, 201412 yr VirtualBox 4.3.6 package for unRaid 6.0 beta (64-bit): http://nars.aloj.net/temp/unraid/vbox-4.3.6-unRAID-3.10.24p-x86_64.tgz Thanks Nars
February 4, 201412 yr nars, Can you post your scripts for compiling virtualbox for unraid v5.0.5 / v6beta?
February 4, 201412 yr You can get them at same urls from the steps I posted some pages back: http://lime-technology.com/forum/index.php?topic=25099.msg274366#msg274366 just note that you need to download "AMD64" version (even if you have an intel) from VirtualBox site.
February 19, 201412 yr I have compiled a version for unraid v5.0.5 but after installation I don't get "/root/.VirtualBox" folder and symbolic link as a result. When is this supposed to be created? Does this mean the compilation is bad?
Archived
This topic is now archived and is closed to further replies.