× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Virtualbox on OS6 NAS

horim80
Guide

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.
Message 1 of 49
mdgm-ntgr
NETGEAR Employee Retired

Re: Virtualbox on OS6 NAS

I have heard that it is possible. I haven't tried it. What model do you want to run VirtualBox on?
Message 2 of 49
horim80
Guide

Re: Virtualbox on OS6 NAS

mdgm wrote:
I have heard that it is possible. I haven't tried it. What model do you want to run VirtualBox on?


I have RN516. I think that it has enough performance for running Virtualbox.
Message 3 of 49
mdgm-ntgr
NETGEAR Employee Retired

Re: Virtualbox on OS6 NAS

It should work, but I don't know how to do it. Steps should be somewhat similar to those for 4.2.x
Message 4 of 49
horim80
Guide

Re: Virtualbox on OS6 NAS

mdgm wrote:
It should work, but I don't know how to do it. Steps should be somewhat similar to those for 4.2.x


Thanks. I will try.
Message 5 of 49
horim80
Guide

Re: Virtualbox on OS6 NAS

Ah...I give up. Is there anyone who has tried this?
Message 6 of 49
JMehring
Apprentice

Re: Virtualbox on OS6 NAS

I was finally able to get the latest VirtualBox running on OS 6.1.4 last night. It only runs 32 bit guest systems at this time until I can figure out how to enable 'VT-x' since I get this error when trying to run a 64 bit guest (VERR_VMX_NO_VMX). I am assuming this may need to be enabled in BIOS???

I am running it on a ReadyNAS Ultra 6 Plus with 4 Gb memory on 6.1.4.

I will list my notes I wrote down to get it going. There may be other dependencies I had installed previous to this so I will list all my dependencies I have in next post (IE x-windows)

The following is just a text file of notes I use so I can restore a system at a later date; it is not a shell script.

apt-get update
apt-get install build-essentials

# Install ReadyNas kernel headers from
# *** 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
#
mkdir tmp
mv ReadyNASOS_V6.1.4_WW_src.zip tmp
cd tmp
unzip /ReadyNASOS_V6.1.4_WW_src.zip
cp -rp linux-3.0.93 /data/.apps
ln -s /data/.apps/linux-3.0.93 /usr/src/linux-3.0.93

# Need to build kernel since autoconf.h is not in include/generated/autoconf.h yet
# Need .config file; select No to new options 6.1.4 has .config I can use; 6.1.2 does not so get from .4
export KERN_DIR=/usr/src/linux-3.0.93
cd /usr/src/linux-3.0.93
make ARCH=x86_64 oldconfig && make ARCH=x86_64

# more virtualbox dependancies
apt-get install libqt4-opengl libvpx1

# Get the latest from virtualbox.org (debian build)
dpkg -i virtualbox-4.3_4.3.4-91027~Debian~wheezy_amd64.deb

/etc/init.d/vboxdrv setup

modprobe vboxdrv
modinfo misc/vboxdrv.ko
Message 7 of 49
JMehring
Apprentice

Re: Virtualbox on OS6 NAS

Here are the other dependencies I mentioned in post above. More that likely you will only need 'x-window-system' and maybe 'xvfb'


#!/bin/sh

apt-get update

#General
#--------
apt-get install vim git sensors telnet

#For Bitcasa
#-----------
apt-get install x-window-system
apt-get install xvfb
apt-get install liblog4cxx10 libprotobuf7 libqtgui4
dpkg -i bitcasa_0.9.6.99_amd64.deb

cp Xvfb /etc/init.d/
cp bitcasa /etc/init.d/
update-rc.d Xvfb defaults
update-rc.d bitcasa default
Message 8 of 49
mdgm-ntgr
NETGEAR Employee Retired

Re: Virtualbox on OS6 NAS

JMehring thank you for these instructions.

If you download the logs (Status > Logs > Download all logs), what are the contents of bios_ver.log ? Your unit might have an old BIOS and simply need a BIOS update which you can install via SSH using flashrom.
Message 9 of 49
JMehring
Apprentice

Re: Virtualbox on OS6 NAS

@mdgm, here is a copy of that log, bios_ver.log

bios_date=10/03/2008
bios_vendor=American Megatrends Inc.
bios_version=080014
board_asset_tag=To Be Filled By O.E.M.
board_name=To be filled by O.E.M.
board_serial=To be filled by O.E.M.
board_vendor=To be filled by O.E.M.
board_version=To be filled by O.E.M.
chassis_asset_tag=To Be Filled By O.E.M.
chassis_serial=To Be Filled By O.E.M.
chassis_type=3
chassis_vendor=To Be Filled By O.E.M.
chassis_version=To Be Filled By O.E.M.
modalias=dmi:bvnAmericanMegatrendsInc.:bvr080014:bd10/03/2008:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvr10/03/2008FLAME6-MBV1.6:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
product_name=To Be Filled By O.E.M.
product_serial=To Be Filled By O.E.M.
product_sku=To Be Filled By O.E.M.
product_uuid=00020003-0004-0005-0006-000700080009
product_version=10/03/2008 FLAME6-MB V1.6
sys_vendor=To Be Filled By O.E.M.
uevent=MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvr080014:bd10/03/2008:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvr10/03/2008FLAME6-MBV1.6:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
Message 10 of 49
mdgm-ntgr
NETGEAR Employee Retired

Re: Virtualbox on OS6 NAS

Yes. You need an update: http://www.readynas.com/forum/viewtopic.php?p=387035#p387035

The Ultra 6 Plus uses the same BIOS as the Pro 6: "Pro(6)/FLAME6-MB (0726/v2.0)"

1. Download the add-on e.g. using wget
2. # dd if=BIOS_Update_Package_0.5-x86.bin bs=16384 skip=1 | tar -xv
3. # tar -xvf files.tgz
4. Install flashrom and its dependencies via apt-get
5. Use the flashrom command from the install.sh script to update the BIOS.
Message 11 of 49
JMehring
Apprentice

Re: Virtualbox on OS6 NAS

Thanks @mdgm

I'm on OS 6.1.4 now. That plugin looks like its for the 4.x series or will it also work?
Message 12 of 49
mdgm-ntgr
NETGEAR Employee Retired

Re: Virtualbox on OS6 NAS

You have to extract the contents of it, install flash-rom via apt-get and run the flashrom command manually. 4.2.x add-ons won't install on 6.x
Message 13 of 49
JMehring
Apprentice

Re: Virtualbox on OS6 NAS

Does it look like I'm running the correct command to flash since I am getting an error from the apt-get installed flashrom.

Looks like I can use W25X80 instead of w25x80


#/usr/sbin/flashrom -c W25x80 -w ./opt/biosflash/RN_NV6_072610.ROM > /tmp/bios.flash
Error: Unknown chip 'W25x80' specified.
Run flashrom -L to view the hardware supported in this flashrom version.

#/usr/sbin/flashrom -L | grep W25
Winbond W25Q80 PREW 1024 SPI
Winbond W25Q16 PREW 2048 SPI
Winbond W25Q32 PREW 4096 SPI
Winbond W25Q64 PREW 8192 SPI
Winbond W25Q128 P 16384 SPI
Winbond W25X10 128 SPI
Winbond W25X20 256 SPI
Winbond W25X40 PREW 512 SPI
Winbond W25X80 PREW 1024 SPI
Winbond W25X16 PREW 2048 SPI
Winbond W25X32 P 4096 SPI
Winbond W25X64 P 8192 SPI
Message 14 of 49
mdgm-ntgr
NETGEAR Employee Retired

Re: Virtualbox on OS6 NAS

Either that or without specifying the chip. Your NAS might have a different chip to what the addon expects. The main thing is to make sure you flash the correct BIOS which you are doing.
Message 15 of 49
JMehring
Apprentice

Re: Virtualbox on OS6 NAS

Great. Just wanted to be really careful since I was updating BIOS 🙂

BIOS upgrade was a success but I am still unable to run a 64 bit guest. Getting same error as my first post ('VT-x' is not available (VERR_VMX_NO_VMX)). Is there a way to enable that BIOS option without having a monitor set up, or do I need to get a cable for the VGA header in the ReadyNAS?

Here is the ouyput of bios_ver.log now:

bios_date=07/26/2010
bios_vendor=American Megatrends Inc.
bios_version=080014
board_asset_tag=To Be Filled By O.E.M.
board_name=To be filled by O.E.M.
board_serial=To be filled by O.E.M.
board_vendor=To be filled by O.E.M.
board_version=To be filled by O.E.M.
chassis_asset_tag=To Be Filled By O.E.M.
chassis_serial=To Be Filled By O.E.M.
chassis_type=3
chassis_vendor=To Be Filled By O.E.M.
chassis_version=To Be Filled By O.E.M.
modalias=dmi:bvnAmericanMegatrendsInc.:bvr080014:bd07/26/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvr07/26/2010FLAME6-MBV2.0:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
product_name=To Be Filled By O.E.M.
product_serial=To Be Filled By O.E.M.
product_sku=To Be Filled By O.E.M.
product_uuid=00020003-0004-0005-0006-000700080009
product_version=07/26/2010 FLAME6-MB V2.0
sys_vendor=To Be Filled By O.E.M.
uevent=MODALIAS=dmi:bvnAmericanMegatrendsInc.:bvr080014:bd07/26/2010:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvr07/26/2010FLAME6-MBV2.0:rvnTobefilledbyO.E.M.:rnTobefilledbyO.E.M.:rvrTobefilledbyO.E.M.:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
Message 16 of 49
mdgm-ntgr
NETGEAR Employee Retired

Re: Virtualbox on OS6 NAS

What CPU is in your U6P? The stock E2160 doesn't support VT-x. That would be the issue not the BIOS.
Message 17 of 49
JMehring
Apprentice

Re: Virtualbox on OS6 NAS

Ahh, Yes I have the stock E2160.


model name : Intel(R) Pentium(R) Dual CPU E2160 @ 1.80GHz


Thanks so much for all you help @mdgm! Guess its time for an upgraded chip then (if I can find any in Canada) 🙂
Message 18 of 49
mdgm-ntgr
NETGEAR Employee Retired

Re: Virtualbox on OS6 NAS

Yes. There is a long thread on CPUs for the Pro/Ultra 6 Plus/Pro 6: http://www.readynas.com/forum/viewtopic.php?t=29284

The BIOS update is still a help as some CPUs would not be supported by the older BIOS. The new BIOS has other useful improvements as well.
Message 19 of 49
horim80
Guide

Re: Virtualbox on OS6 NAS

I hope someone knows how to enable VT-X on the BIOS. 😄
Message 20 of 49
chirpa
Luminary

Re: Virtualbox on OS6 NAS

On the 4.2 systems (Ultra/Pro), it can be done with VGA header or serial port (search the forums).

The newer 3xx/5xx systems have more locked down BIOS, and appear to brick themselves when attempting to change these settings, causing the systems not to boot at all. Hopefully they will have VT-x on by default instead.
Message 21 of 49
mdgm-ntgr
NETGEAR Employee Retired

Re: Virtualbox on OS6 NAS

The 3xx systems have soldered on Atom CPUs which don't support VT-x.

The 516 has a CPU that supports VT-x. I think the 716X would as well.
Message 22 of 49
horim80
Guide

Re: Virtualbox on OS6 NAS

I have Pro BE also. I have ordered VGA port cable and audio cable. I will try to connect monitor and speaker, keyboard and mouse to Pro.

Referred sites below:
http://www2.warwick.ac.uk/fac/sci/csc/p ... o-jailfix/
http://nexentastor.org/boards/9/topics/8238

I think that I could install Windows on Pro. HAHA
Can I use multi-booting then? Windows and RAIDiator? If it's possible, it would be nice!
I will post a picture when I get done. 😄
Message 23 of 49
chirpa
Luminary

Re: Virtualbox on OS6 NAS

Yes, any x86 OS can run on it, its just a standard PC. Possibly, but the disks wouldn't be compatible in between. Data would be lost on reboots.
Message 24 of 49
fastfwd
Virtuoso

Re: Virtualbox on OS6 NAS

horim80 wrote:
I have ordered VGA port cable

The VGA header cable that everyone recommends -- the MA-BK01-LP1K -- is too short to reach from the motherboard to the knockout on the rear of the case. Here's a 12-inch cable that does reach: http://www.pccables.com/cgi-bin/orders6.cgi?action=Showitem&partno=07129.
Message 25 of 49
Top Contributors
Discussion stats
  • 48 replies
  • 12738 views
  • 1 kudo
  • 8 in conversation
Announcements