NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
horim80
Nov 22, 2013Guide
Virtualbox on OS6 NAS
Hi all, I know that it's possible to install VirtualBox on legacy x86 NAS. What about OS6? Does anyone knows how to install VirtualBox on OS6? Thanks.
cmassey
Mar 19, 2016Guide
###########################
### ###
### Upgrading NAS to 6.4.2 ###
### Upgrading VirtualBox ###
### to 5.0.16 ###
### ###
###########################
Download to NAS /data/VirtualBox:
http://download.virtualbox.org/virtualbox/5.0.16/
*Oracle_VM_VirtualBox_Extension_Pack-5.0.16.vbox-extpack
*VBoxGuestAdditions_5.0.16.iso
*virtualbox-5.0_5.0.16-105871-Debian-wheezy_amd64.deb
http://kb.netgear.com/app/answers/detail/a_id/2649/~/gpl-open-source-code-for-programmers
*ReadyNASOS_V6.4.2_WW_src.zip
## Installation of NAS update
Either manual or auto install ReadyNAS Update 6.4.2
## Cleanup
SSH to NAS
# ** Removing the symbolic link to the old kernel files for OS 6.2.4 (or 6.2.3)
cd /usr/src
rm linux-3.0.101-0.46
# ** Removing the linux-3.0.101-0.46 directory for OS 6.2.4
rm -rf /data/.apps/linux-3.0.101-0.46
# Cleanup VirtualBox directory
cd /data/VirtualBox
rm ReadyNASOS_V6.2.3_WW_src.zip
rm Oracle_VM_VirtualBox_Extension_Pack-4.3.26-98988.vbox-extpack
rm VBoxGuestAdditions_4.3.26.iso
rm virtualbox-4.3_4.3.26-98988~Debian~wheezy_amd64.deb
rm -rf tmp ## This should only be the extracted version of ReadyNASOS_V6.2.3_WW_src.zip
## Extract and copy kernel files
mkdir tmp
mv ReadyNASOS_V6.4.2_WW_src.zip tmp
cd tmp
unzip ReadyNASOS_V6.4.2_WW_src.zip
cp -rp linux-4.1.16-x86_64/ /data/.apps
ln -s /data/.apps/linux-4.1.16-x86_64 /usr/src/linux-4.1.16-x86_64
## Installation kernel files
apt-get update
** apt-get install build-essential ** You should be able to skip this step but I did it out of habit
export KERN_DIR=/usr/src/linux-4.1.16-x86_64
cd /usr/src/linux-4.1.16-x86_64
cp /data/VirtualBox/tmp/linux-4.1.16-x86_64/arch/x86/configs/defconfig.x86 /usr/src/linux-4.1.16-x86_64/.config
## ** Check kernel install options and modules
apt-get install bc
make menuconfig
make ARCH=x86_64
make modules_install ARCH=x86_64
## Uninstall VirtualBox 4.3
dpkg -r virtualbox-4.3
## Install VirtualBox 5.0.16
dpkg -i virtualbox-5.0_5.0.16-105871-Debian-wheezy_amd64.deb
sudo /sbin/rcvboxdrv setup
VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.16.vbox-extpack
- ChiffaNeMar 23, 2016Tutor
Followed the updated procedure and it seems everything actually worked!
sudo /sbin/rcvboxdrv setup - failed as sudo was not found but I'm not sure it actually is needed, dpkg seems to have installed everything.
- ChiffaNeMar 23, 2016Tutor
Ok, spend the whole afternoon trying to make it work and failing.
It seems to start and work in the background, but when I try to connect via phpvirtualbox it fails, says access denied. I created the user vbox and made him a home directory, added to groub vboxusers and edited the /etc/default/virtualbox to run under him.
Also, interestingly, I can't find the /etc/init.d/vboxweb-service all of the internet is referring to.
- ChiffaNeMar 24, 2016Tutor
Finally got it working - had to disable vbox authentication:
su vbox VBoxManage setproperty websrvauthlibrary null
Related Content
NETGEAR Academy

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