NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
funglenn
Jan 29, 2017Luminary
Help and questions on Virtualbox install for 6.6.0
Looking to install Virtualbox 6.6.0 and this is going to seem like a dumb questions, sorry, new and learning. Once it is installed, how do you it up? is it all done via command line? is there a gui...
- Feb 12, 2017
Thank you all! it works. This is the commands I used, with
VBoxHeadless --startvm <uuid|name> --vrde on
to run the script.
unzip ReadyNASOS_V6.6.0_WW_src.zip
cp -rp linux-4.1.30-x86_64 /data/.apps
ln -s /data/.apps/linux-4.1.30-x86_64 /usr/src/linux-4.1.30-x86_64apt-get update
apt-get install build-essential
apt-get install vim git lm-sensors telnet
apt-get install bc
apt-get install libqt4-opengl libvpx1
apt-get install -f
export KERN_DIR=/usr/src/linux-4.30-x86_64
cd /usr/src/linux-4.1.30-x86_64
cp /data/VirtualBox/tmp/linux-4.1.30-x86_64/arch/x86/configs/defconfig.x86 /usr/src/linux-4.1.30-x86_64/.config
# ** Check kernel install options and modules
make ARCH=x86_64 oldconfig && make ARCH=x86_64
## Installation of VirtualBox
cd /data/VirtualBox/
dpkg -i virtualbox-4.3_4.3.20-96996~Debian~wheezy_amd64.deb
apt-get -f install
/etc/init.d/vboxdrv setup
modprobe vboxdrvcd
## Upgrade VirtualBox Extension Pack
VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.20-96996.vbox-extpack
funglenn
Feb 03, 2017Luminary
to get the phpVirtualbox piece working, did you also have to install the PHP addons offered in the apps section or just the php software?
What apache config are you refering to? i think this may be a problem for some other software I am trying to install but the web interface does notwork!
Apreciate the help, eventually i will get this working!
thanks
jpearn
Feb 03, 2017Star
I have coped back some of the editing I did to help you out; it may not be complete but should get you going in the right direction ! You need to follow some of the online instructions to get it unzipped into /var/www/phpvirtualbox and setup the config.php and the vbox user. For Apache (using commands as root):
apt-get install php5 php5-mysql libapache2-mod-php5 php-soap
nano /etc/apache2/sites-available/phpvbox.conf
Put this into the phpvbox.conf :
Alias /phpvirtualbox "/var/www/phpvirtualbox/"
<Directory /var/www/phpvirtualbox/>
Options +FollowSymlinks
AllowOverride All
SetEnv HOME /var/www/phpvirtualbox
SetEnv HTTP_HOME /var/www/phpvirtualbox
</Directory>
Make the site active :
ln -s /etc/apache2/sites-available/phpvbox.conf /etc/apache2/sites-enabled/phpvbox.conf
systemctl restart apache2
- funglennFeb 04, 2017Luminary
Thanks. still working on the VirtualBox installation.
however on a new install, where do i get the right .config file? on many of the examples that is not addressed, or at least I have not figured out where to find it.
i really have little experience and trying to learn how to compile code--choosing this non standard box to learn.....
i would pay good money for a simple file to load into the readynas GUI and give me a web icon like the standard apps.....vmware or virtualbox
- jpearnFeb 04, 2017Star
Using the instructions I linked above, these are a couple of steps that were missing :
For the .config
cp /data/VirtualBox/tmp/linux-4.1.30-x86_64/arch/x86/configs/defconfig.x86 /usr/src/linux-4.1.30-x86_64/.config
Missing packages leading to compile errors
apt-get install libncurses5-dev libncursesw5-dev
- SandsharkFeb 05, 2017Sensei - Experienced User
Once you get it installed (can't help you there doing it on a ReadyNAS), you use VRDP to access it. See here: Chapter 7. Remote virtual machines.
- funglennFeb 05, 2017Luminary
this is great infomration! thank you. this makes it easier once i have it running.
- funglennFeb 06, 2017Luminary
this is what i have done so far:
unzip ReadyNASOS_V6.6.0_WW_src.zip
cp -rp linux-4.1.30-x86_64 /data/.apps
ln -s /data/.apps/linux-4.1.30-x86_64 /usr/src/linux-4.1.30-x86_64
apt-get updateapt-get install build-essential
apt-get install vim git lm-sensors telnet
apt-get install libncurses5-dev libncursesw5-dev
apt-get install libqt4-opengl libvpx1export KERN_DIR=/usr/src/linux-4.1.30-x86_64
cd /usr/src/linux-4.1.30-x86_64
cp /data/VirtualBox/tmp/linux-4.1.30-x86_64/arch/x86/configs/defconfig.x86 /usr/src/linux-4.1.30-x86_64/.config
make menuconfig
make ARCH=x86_64 oldconfig && make ARCH=x86_64however it errors out at:
/bin/sh: 1: bc: not found
kernel/time/Makefile:30: recipe for target 'kernel/time/timeconst.h' failed
make[2]: *** [kernel/time/timeconst.h] Eror 127
scripts/Makefile.build:403: recipe for target 'kernel/time' failed
make[1]: *** [kernel/time] Error 2
Makefile:948: recipe for rarget 'kernel' failed
make: *** [kernel] Error 2
any thoughts on what i am missing?
- jpearnFeb 07, 2017Star
Have you tried :
apt-get install bc
I think it was also missing from the other instructions.
- funglennFeb 09, 2017Luminary
so after this command:
dpkg -i virtualbox-4.3_4.3.20-96996~Debian~wheezy_amd64.deb
I got the following errors:
It seems that some may be through apt-get, but what about hte old verison of python? is that the one on the readynas? i thought that verion 2.x was no longer offered for us?
dpkg: dependency problems prevent configuration of virtualbox-5.1:
virtualbox-5.1 depends on libpython2.7 (>= 2.7); however:
Package libpython2.7 is not installed.
virtualbox-5.1 depends on libqt5core5a (>= 5.3.0); however:
Package libqt5core5a is not installed.
virtualbox-5.1 depends on libqt5gui5 (>= 5.3.0); however:
Package libqt5gui5 is not installed.
virtualbox-5.1 depends on libqt5opengl5 (>= 5.0.2); however:
Package libqt5opengl5 is not installed.
virtualbox-5.1 depends on libqt5printsupport5 (>= 5.0.2); however:
Package libqt5printsupport5 is not installed.
virtualbox-5.1 depends on libqt5widgets5 (>= 5.2.0); however:
Package libqt5widgets5 is not installed.
virtualbox-5.1 depends on libqt5x11extras5 (>= 5.1.0); however:
Package libqt5x11extras5 is not installed.
virtualbox-5.1 depends on libsdl1.2debian (>= 1.2.11); however:
Package libsdl1.2debian is not installed.
virtualbox-5.1 depends on libxcursor1 (>> 1.1.2); however:
Package libxcursor1 is not installed.
virtualbox-5.1 d
dpkg: error processing package virtualbox-5.1 (--install):
dependency problems - leaving unconfigured
Processing triggers for systemd (230-7~bpo8+2.netgear2) ...
Processing triggers for mime-support (3.58) ...
Errors were encountered while processing: - jpearnFeb 09, 2017Star
Have you tried an :
apt-get install -f
this should fix the dependencies and install the package
- funglennFeb 12, 2017Luminary
Thank you all! it works. This is the commands I used, with
VBoxHeadless --startvm <uuid|name> --vrde on
to run the script.
unzip ReadyNASOS_V6.6.0_WW_src.zip
cp -rp linux-4.1.30-x86_64 /data/.apps
ln -s /data/.apps/linux-4.1.30-x86_64 /usr/src/linux-4.1.30-x86_64apt-get update
apt-get install build-essential
apt-get install vim git lm-sensors telnet
apt-get install bc
apt-get install libqt4-opengl libvpx1
apt-get install -f
export KERN_DIR=/usr/src/linux-4.30-x86_64
cd /usr/src/linux-4.1.30-x86_64
cp /data/VirtualBox/tmp/linux-4.1.30-x86_64/arch/x86/configs/defconfig.x86 /usr/src/linux-4.1.30-x86_64/.config
# ** Check kernel install options and modules
make ARCH=x86_64 oldconfig && make ARCH=x86_64
## Installation of VirtualBox
cd /data/VirtualBox/
dpkg -i virtualbox-4.3_4.3.20-96996~Debian~wheezy_amd64.deb
apt-get -f install
/etc/init.d/vboxdrv setup
modprobe vboxdrvcd
## Upgrade VirtualBox Extension Pack
VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.20-96996.vbox-extpack - funglennFeb 12, 2017Luminary
i spoke to soon! it was fine for about a day and one of my interfaces stopped working. So I used the other interface, shut down the VM gracefully. Then i rebooted the NAS gracefully.
then it came back and said:
ot@ReadyNAS:~/VirtualBox VMs/Windows10_64/Logs# vboxheadless
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (4.1.30.x86_64.1) or it failed to
load. Please recompile the kernel module and install it bysudo /sbin/vboxconfig
You will not be able to start VMs until this problem is fixed.
VBoxHeadless: Error -1908 in suplibOsInit!
VBoxHeadless: Kernel driver not installedVBoxHeadless: Tip! Make sure the kernel module is loaded. It may also help to reinstall VirtualBox.
What on earth happened? Oh yeah, the interface did come back on reboot.....
- jpearnFeb 12, 2017Star
A couple of things noted there, did you switch back to the older version of Virtualbox ? And did you run
make menuconfig
andcd /usr/src/linux-4.1.30-x86_64
make modules_install ARCH=x86_64
The modules_install I think is the bit you are missing. If you compare what you did versus the previous instructions you'll see what the difference is.
- funglennFeb 12, 2017Luminary
i did not change versions. however i could not get menuconfig to work, so i did skip that step--to my detriment i see.
i am not familiar with make modules_install...
thanks
- funglennFeb 14, 2017Luminary
so i retraced my steps and used the make module command--Virtualbox seems to be very stable and survives a reboot.
However my main problem now is that the network connection on the readynas and in the VM seems to die after a few hours and only cure is a reboot. I am using the vm exclusively to send my readynas backups to amazon via an app called Goodsync on a Win10 VM--thus very heavy and consistent network usage. (granted it is only a 1mb/sec uplink, so i know i have another 7 mb/sec capability, so it is not link saturation) Strangely, the transfer continues on, but no other app in the VM, nor outside the VM can use the connection.
any thoughts on what network config change i need to make? i am using everything default, thus NAT.
should i looked at bridged networking as an option?
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!