peter_sm Posted April 13, 2013 Share Posted April 13, 2013 I'm trying to compile this, but one thing is not same as in the guide as installed stock unraid   http://lime-technology.com/wiki/index.php/Installing_VirtualBox_in_unRAID  on one line is stated  mv /usr/src/linux /usr/src/linux_original  but on my system it's looks like this (rc12a)  root@tower:~# cd /usr/src/ root@tower:/usr/src# ls linux-3.4.26-unRAID/ slackbuilds/ root@tower:/usr/src#   so I can't make this  mv /usr/src/linux /usr/src/linux_original if [ ! -d "$P/headers" ]; then  mkdir -p $P/headers  tar -C $P/headers -zxvf $P/packages/linux-2.6.32.9.tar.gz  cp -rf /usr/src/linux_original/* $P/headers/linux-2.6.32.9/  cp -f /usr/src/linux_original/.config $P/headers/linux-2.6.32.9/ fi ln -sf $P/headers/linux-2.6.32.9 /usr/src/linux [ -e "/usr/include/linux" ] && mv /usr/include/linux /usr/include/linux_original [ -e "/usr/include/asm-generic" ] && mv /usr/include/asm-generic /usr/include/asm-generic_original [ -e "/usr/include/asm" ] && mv /usr/include/asm /usr/include/asm_original ln -sf /usr/src/linux/include/asm-generic /usr/include/asm-generic ln -sf /usr/src/linux/include/linux /usr/include/linux ln -sf /usr/src/linux/arch/x86/include/asm /usr/include/asm cd /usr/src/linux && make oldconfig && make  so I don't get any further-- anyone that can help me ;.)      //Peter Link to comment
lainie Posted April 13, 2013 Author Share Posted April 13, 2013 The instructions were originally created for unRAID 4.x. In many unRAID 4 versions the kernel location is "/usr/src/linux". In unRAID 5.x, the kernel location started including the kernel version in the path name (for example, unRAID 5RC10's kernel location is "/usr/src/linux-3.4.24-unRAID").  For unRAID 5RC12, I would change the command to mv /usr/src/linux-3.4.26-unRAID /usr/src/linux_original  Also - It looks like you are trying to use the scripts for unRAID 4.7 (as I see kernel 2.6.32.9 referenced in several places). I usually use the instructions instead of the scripts because if something messes up, I am able to tell which step did not respond as I expected.  Hope this helps. Let us know if you run into anything else & need assistance. Link to comment
peter_sm Posted April 13, 2013 Share Posted April 13, 2013 Thanks, i'm running right scripts, and did the changing you told me, and it works just fine ! on the latest version right now  EDIT  I didn't run the script! I did all manually  //Peter Link to comment
lainie Posted June 4, 2013 Author Share Posted June 4, 2013 The wiki page "Installing VirtualBox in unRAID" has been updated with the new information needed to compile VirtualBox. Â I updated the new files needed to compile RC13, instructions to use the new files & updated the doinst.sh file with changes needed to allow USB devices to work in VirtualBox. Â I have not used the scripts at the bottom of the wiki, so those were not updated. Link to comment
peter_sm Posted July 6, 2013 Share Posted July 6, 2013 4.2.16 is now available https://www.virtualbox.org/wiki/Changelog Link to comment
lainie Posted July 10, 2013 Author Share Posted July 10, 2013 Sorry it took me a few days to update this time. VirtualBox for 4.2.16 is now up. Let me know if other unRAID versions are needed. Enjoy! Link to comment
THO Posted July 10, 2013 Share Posted July 10, 2013 Thanks for writing this, I'm looking forward to getting it installed and trying it out. Â Just found an issue with the plugin though. You are grepping for "Most current version" to get the version number, but on http://vbox.a1aina.com/ you've left in those words for 4.2.14, so the plugin isn't getting it right in order to build the filenames for download. Link to comment
lainie Posted July 10, 2013 Author Share Posted July 10, 2013 Just found an issue with the plugin though. You are grepping for "Most current version" to get the version number, but on http://vbox.a1aina.com/ you've left in those words for 4.2.14, so the plugin isn't getting it right in order to build the filenames for download. Â Oops. Should be fixed now. Thank you for letting me know. Link to comment
adrianz Posted August 30, 2013 Share Posted August 30, 2013 Hey, lainie! Â Does your latest package from http://vbox.a1aina.com/ work with unRAID 5.0 final? Â And thanks for all your hard work on VirtualBox for unRAID! :-) Link to comment
lainie Posted August 30, 2013 Author Share Posted August 30, 2013 Yes, the kernel did not change from rc16 to final. I updated the first post of this thread to reflect the unRAID version previously. Link to comment
billbrasky82 Posted September 1, 2013 Share Posted September 1, 2013 I might be doing something wrong but when I try to download the vbox-4.2.16-unRAID-3.9.6p.tgz file I get about 0.2mb of the file and it times out. Â edit: looks like it is resolved, I was able to download just fine earlier. Link to comment
threldor Posted September 1, 2013 Share Posted September 1, 2013 I am having the same troubles downloading the file at this address http://vbox.a1aina.com/files/vbox-4.2.16-unRAID-3.9.6p.tgz any help would be great cheers Link to comment
lainie Posted September 3, 2013 Author Share Posted September 3, 2013 I'm able to view the site & download files. It is possible that the host reached its bandwidth capacity; advanced statistics were not turned on (now on) so hard to tell. Let me know if the problem reoccurs & I will see if I need to add more bandwidth or change hosts. For now it is working. Link to comment
nacat78 Posted September 4, 2013 Share Posted September 4, 2013 So I got Virtualbox and phpvirtualbox installed on unraid V5 Final with simplefeatures webserver - at first i got the SOAP Extensions not enabled on php - fixed that by editing the php.ini in /boot/config/simplefeatures folder and removed ";" from ";extension=soap" line, but now when i got to virtualbox web console i get a logon screen - enter admin admin now instead of a Soap Extension error i get no XML document - is there something that i missed or do i not have everything installed correctly - I have all the install and logging for vbox going to my cache drive. Link to comment
lainie Posted September 5, 2013 Author Share Posted September 5, 2013 kontu, I've not tried to use pass through as my hardware does not support it. I'd probably be using ESXi if I had the option. However, in my searching just now, I came across this page on the subject relating to VirtualBox: http://www.virtualbox.org/manual/ch09.html#pcipassthrough. Numbers 5 & 6 in the list mention that you Linux version must be compiled, recognize & use IOMMU support. Since I do not have hardware capable of this, you will likely need to compile your own headers & package VirtualBox to use this (passthrough) feature. Â I am not positive this is the issue, but perhaps the link will point you in the right direction. If you decide to try to compile VirtualBox for yourself, a wiki page, http://lime-technology.com/wiki/index.php?title=Installing_VirtualBox_in_unRAID, explains how to do so. If you solve the issue, please post to let others that might be interested in using passthrough know. Perhaps someone else here will be able to offer further assistance. Good luck! Link to comment
josywong Posted September 6, 2013 Share Posted September 6, 2013 advices that some ppl might need. i am no pro in this stuffs, but i got it work  i have these installed: unraid 5.0 simple features 1.0.11 VirtualBox v4.2.16 VirtualBox Extension v4.2.16 VirtualBox Guest Additions v4.2.16 VirtualBox Plugin v0.5.2  config edited: \\tower\flash\config\simpleFeatures\php.ini enabled "extension=soap.so"  config edited: \\tower\www\phpvirtualbox\config.php var $noAuth = true;  manually started vboxwebsrv using telnet vboxwebsrv -b -H [server ip address] --logfile /dev/null >/dev/null  when u create virtual disk, remember to point to //mnt/user OR //mnt/disk or vm will crash for no reason. Link to comment
kontu Posted September 6, 2013 Share Posted September 6, 2013 kontu, I've not tried to use pass through as my hardware does not support it. I'd probably be using ESXi if I had the option. However, in my searching just now, I came across this page on the subject relating to VirtualBox: http://www.virtualbox.org/manual/ch09.html#pcipassthrough. Numbers 5 & 6 in the list mention that you Linux version must be compiled, recognize & use IOMMU support. Since I do not have hardware capable of this, you will likely need to compile your own headers & package VirtualBox to use this (passthrough) feature. Â I am not positive this is the issue, but perhaps the link will point you in the right direction. If you decide to try to compile VirtualBox for yourself, a wiki page, http://lime-technology.com/wiki/index.php?title=Installing_VirtualBox_in_unRAID, explains how to do so. If you solve the issue, please post to let others that might be interested in using passthrough know. Perhaps someone else here will be able to offer further assistance. Good luck! Â Thanks laine, I'll do some more digging on that and see if I can accomplish anything with it. Link to comment
lainie Posted September 10, 2013 Author Share Posted September 10, 2013 I've compiled & uploaded VirtualBox 4.2.18 for unRAID 5.0-i386 & 4.7. This will probably be the last version I do for unRAID 4.7*. Â *If you still use unRAID 4.7 & would like me to continue to compile & upload newer versions of VirtualBox for it, let me know. Â Enjoy! Link to comment
alans17 Posted September 10, 2013 Share Posted September 10, 2013 Thanks for doing all of this. I intend to give it a shot here in the very near future. Link to comment
jpimlott Posted September 13, 2013 Share Posted September 13, 2013 I am trying to load up php but I can not find the php.ini file listed where others have it. There is nothing in the /boot/config/simplefeatures folder except for stats and webserver. In simple features settings for webserver it shows as running now after modifing the .plg file for webserver. So close here.  Link to comment
jpimlott Posted September 14, 2013 Share Posted September 14, 2013 I got most of it worked out now. We server is running. When I go to tower:18083 it has the soap error. What do I configure to fix that? I can taste it now I am that close. Â Link to comment
lainie Posted September 14, 2013 Author Share Posted September 14, 2013 Due to Google Code's recent changes (click here for info on GoogleCode's policy change), the PHPVirtualBox project has been moved to SourceForge. Â PHPVirtualBox common errors & issues: http://sourceforge.net/p/phpvirtualbox/wiki/Common%20phpVirtualBox%20Errors%20and%20Issues/ Â PHPVirtualBox wiki page: http://sourceforge.net/p/phpvirtualbox/wiki/Home/ Â PHPVirtualBox forums (for issues not covered in their wiki): http://sourceforge.net/p/phpvirtualbox/discussion/ Â Â Link to comment
theone Posted October 15, 2013 Share Posted October 15, 2013 There is a new VirtualBox version 4.3: http://www.oracle.com/us/corporate/press/2033376 Â But phpvirtualbox doesn't seem to be compatible yet (as of 4.3 RC1): http://sourceforge.net/p/phpvirtualbox/discussion/general/thread/e0ae6638/ Â Link to comment
theone Posted October 18, 2013 Share Posted October 18, 2013 There is a new VirtualBox version 4.3: http://www.oracle.com/us/corporate/press/2033376 Â But phpvirtualbox doesn't seem to be compatible yet (as of 4.3 RC1): http://sourceforge.net/p/phpvirtualbox/discussion/general/thread/e0ae6638/ Â Just to update: There seems to be a phpvirtualbox 4.3 which is supposed to support the VirtualBox 4.3.x releases. Â Will test once lainie compiles the new 4.3 version. Â Link to comment
Recommended Posts
Archived
This topic is now archived and is closed to further replies.