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
Nov 28, 2014Guide
# Upgrading VirtualBox (4.3.20-96996) on ReadyNAS OS6 after upgrading to (6.2.0)
# After upgrading to 6.2.0 this included a newer kernel which resulted in VirtualBox not working
# I tried this a few times before I got it working so I am only going to post up what I did the last time rather than including everything I did as some steps may not be needed.
# NOTE: I am assuming you followed the steps in my post above. Modify these notes to meet your configuration.
# After upgrading to 6.2.0 this included a newer kernel which resulted in VirtualBox not working
# I tried this a few times before I got it working so I am only going to post up what I did the last time rather than including everything I did as some steps may not be needed.
# NOTE: I am assuming you followed the steps in my post above. Modify these notes to meet your configuration.
## Cleaning up VirtualBox installation files and directory
# SSH into your NAS
# ** Removing the symbolic link to the old kernel files for OS 6.1.8
cd /usr/src/
rm linux-3.0.101-0.15
# ** Removing the linux-3.0.101-0.15 directory for OS 6.1.8
rm -rf /data/.apps/linux-3.0.101-0.15
cd /data/VirtualBox
rm ReadyNASOS_V6.1.8_WW_src.zip
rm Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack
rm VBoxGuestAdditions_4.3.12.iso
rm virtualbox-4.3_4.3.12-93733~Debian~wheezy_amd64.deb
rm -rf tmp
## Download VirtualBox files to /data/VirtualBox
# http://download.virtualbox.org/virtualbox/4.3.20/
# **This is what I used
# virtualbox-4.3_4.3.20-96996~Debian~wheezy_amd64.deb
# Oracle_VM_VirtualBox_Extension_Pack-4.3.20-96996.vbox-extpack
# VBoxGuestAdditions_4.3.20.iso
## Download Kernel files to /data/VirtualBox
# *** MAKE SURE ITS FOR THE CORRECT KERNEL (uname -a)
# http://kb.netgear.com/app/answers/detail/a_id/2649/~/gpl-open-source-code-for-programmers
# **This is what I used
# ReadyNASOS_V6.2.0_WW_src.zip
## Extract and copy kernel files
mkdir tmp
mv ReadyNASOS_V6.2.0_WW_src.zip tmp
cd tmp
unzip ReadyNASOS_V6.2.0_WW_src.zip
cp -rp linux-3.0.101-0.40 /data/.apps
ln -s /data/.apps/linux-3.0.101-0.40 /usr/src/linux-3.0.101-0.40
## Installation kernel files (NOTE: I did this step a few times before I got it working so let me know if this doesn't work)
apt-get update
apt-get install build-essential
apt-get install vim git lm-sensors telnet
export KERN_DIR=/usr/src/linux-3.0.101-0.40
cd /usr/src/linux-3.0.101-0.40
cp /data/VirtualBox/tmp/linux-3.0.101-0.40/arch/x86/configs/defconfig.x86_64 /usr/src/linux-3.0.101-0.40/.config
# ** Check kernel install options and modules
make menuconfig
make ARCH=x86_64
make modules_install ARCH=x86_64
apt-get install libqt4-opengl libvpx1
## 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 vboxdrv
modinfo misc/vboxdrv.ko
## 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
ChiffaNe
Aug 13, 2015Tutor
Hi!
I want to try instaling VirtualBox on my spanking new RN312
I am following the instructions above and have run into the issue of not being able to recompile the headers.
make fails referencing some object error in slub.c
i am using the latest GPL from ReadyNas.
What can be the issue?
i am far from being a linux guy ;)
- ChiffaNeAug 14, 2015Tutor
Deleted the .config and Tried to restart from scratch.
Used the make ARCH=x86_64 oldconfig && make ARCH=x86_64 command and it started asking me questions on the config (like enable enterprise features, type of compression, etc. )
what options should I choose? I have no idea and am afraid to brick my NAS :)
- mdgm-ntgrAug 14, 2015NETGEAR Employee Retired
Do note that the 312 can only run 32-bit VMs as it does not have VT-x support.
- ChiffaNeAug 14, 2015Tutor
I know and don't care :) as i said, this is just for playing around, nothing serious.
- ChiffaNeAug 14, 2015Tutor
Tried to make the config with all default options. Same issue with the build:
root@atlantis:/usr/src/linux-3.0.101-0.46# make ARCH=x86_64 oldconfig && make ARCH=x86_64
scripts/kconfig/conf --oldconfig Kconfig
#
# configuration written to .config
#
scripts/kconfig/conf --silentoldconfig Kconfig
CHK include/linux/version.h
CHK include/generated/utsrelease.h
CALL scripts/checksyscalls.sh
CHK include/generated/compile.h
VDSOSYM arch/x86/vdso/vdso-syms.lds
VDSOSYM arch/x86/vdso/vdso32-int80-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syscall-syms.lds
VDSOSYM arch/x86/vdso/vdso32-sysenter-syms.lds
VDSOSYM arch/x86/vdso/vdso32-syms.lds
LD arch/x86/vdso/built-in.o
LD arch/x86/built-in.o
CC mm/slub.o
mm/slub.c: In function ‘get_any_partial’:
mm/slub.c:1500:9: error: ‘object’ undeclared (first use in this function)
if (object)
^
mm/slub.c:1500:9: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [mm/slub.o] Error 1
make: *** [mm] Error 2- ChiffaNeAug 16, 2015Tutor
Anybody? please? Pretty please with sprinkles on top?
Related Content
NETGEAR Academy

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