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

Running VirtualBox VM host on ReadyNAS Pro

chirpa
Luminary

Re: Running VirtualBox VM host on ReadyNAS Pro

Updated mine to 3.0.6 the other day, working good.
Message 101 of 442
posure
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

chirpa wrote:
Referring to this?

I will need to test it out. The script works manually, so its probably a path/environment when running it from the automated system control.

I was able to get the startup/shutdown script to work eventually, but not as an addon (it failed as an addon because the vbox kernel extensions weren't loaded when the addon tries to start):

# mv /root/vboxctrl.sh /etc/init.d/
# cd /etc/init.d
# update-rc.d vboxctrl.sh defaults 99 10
Message 102 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

I have read the thread and the best I can tell is the following:

1. Obtain root access I think by root@192.168.1.x and entering admin pw.
2. I guess the next step would be to copy and paste the following however I would wonder whether I will screw up the box.

Copy and paste this into terminal after obtaining root access:

# echo "deb http://download.virtualbox.org/virtualbox/debian etch non-free" >> /etc/apt/sources.list
# wget -q http://download.virtualbox.org/virtualb ... n_vbox.asc -O- | apt-key add -
# apt-get update && apt-get install build-essential
# wget -q http://www.readynas.com/download/GPL/RN ... WW_src.zip
# unzip -q RNDP6xxx_4.2.5_WW_src.zip -d ./GPL
# cd GPL/linux-x86-2.6/
# cp arch/x86/configs/tolapai_defconfig arch/x86/configs/i386_defconfig
# make menuconfig (I do this otherwise I've this error : (missing kernel .config file))
# make clean;make all
# ln -s /c/backup/GPL/linux-x86-2.6/ /usr/src/linux
# KERN_DIR=/usr/src/linux
# wget http://download.virtualbox.org/virtualb ... ux_x86.run
# chmod +x VirtualBox-3.0.4-50677-Linux_x86.run
# ./VirtualBox-3.0.4-50677-Linux_x86.run


I have used telnet to hack a directv tivo but I just do not want to clutter up the box and brick it. Thanks for any help. I would like to enable VB on the RNPP in order to eliminate having to have a computer on 24/7 in order to hopefully play music, pix and video to Directv HR2x boxes using mediashare. Am I barking up the wrong tree?

BigBearf
Message 103 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

Have gotten down to apt get update step but get the following errors

nas-EA-33-DF:/# apt-get install build-essential
Reading package lists... Done
Building dependency tree... Done
build-essential is already the newest version.
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
build-essential: Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: make but it is not going to be installed
Depends: dpkg-dev (>= 1.13.5) but it is not going to be installed
g++-4.1: Depends: libstdc++6-4.1-dev (= 4.1.1-21) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
nas-EA-33-DF:/# apt-get -f install
Reading package lists... Done
Building dependency tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
dpkg-dev libc6-dev libstdc++6-4.1-dev make
Suggested packages:
debian-keyring glibc-doc manpages-dev libstdc++6-4.1-doc make-doc-non-dfsg
Recommended packages:
bzip2
The following NEW packages will be installed:
dpkg-dev libc6-dev libstdc++6-4.1-dev make
0 upgraded, 4 newly installed, 0 to remove and 41 not upgraded.
11 not fully installed or removed.
Need to get 0B/4899kB of archives.
After unpacking 23.5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!
libc6-dev libstdc++6-4.1-dev make dpkg-dev
Install these packages without verification [y/N]? y
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 17645 files and directories currently installed.)
Unpacking libc6-dev (from .../libc6-dev_2.3.6.ds1-13etch9+b1_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libc6-dev_2.3.6.ds1-13etch9+b1_i386.deb (--unpack):
unable to create `./usr/lib/libnsl.a': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking libstdc++6-4.1-dev (from .../libstdc++6-4.1-dev_4.1.1-21_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/libstdc++6-4.1-dev_4.1.1-21_i386.deb (--unpack):
unable to create `./usr/include/c++/4.1.2/bits/stl_construct.h': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking make (from .../archives/make_3.81-2_i386.deb) ...
dpkg: error processing /var/cache/apt/archives/make_3.81-2_i386.deb (--unpack):
error creating directory `./usr/share/locale/be/LC_MESSAGES': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Unpacking dpkg-dev (from .../dpkg-dev_1.13.26_all.deb) ...
dpkg: error processing /var/cache/apt/archives/dpkg-dev_1.13.26_all.deb (--unpack):
unable to create `./usr/bin/dpkg-gencontrol': No space left on device
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/libc6-dev_2.3.6.ds1-13etch9+b1_i386.deb
/var/cache/apt/archives/libstdc++6-4.1-dev_4.1.1-21_i386.deb
/var/cache/apt/archives/make_3.81-2_i386.deb
/var/cache/apt/archives/dpkg-dev_1.13.26_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
nas-EA-33-DF:/#


When I try to proceed using the make menuconfig or make clean step I obviously get "no command error". Any help would be appreciated.
BigBearf
Message 104 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

OK tried VB install but no luck so far. I think I have filled up the Root partition and would like to know what I can safely delete. Here is a "du" output.

nas-EA-33-DF:/# du --max-depth=1 -h -x
16K ./lost+found
1.7G ./GPL
3.1M ./bin
0 ./sys
0 ./ramfs
4.0K ./mnt
6.7M ./etc
28K ./tmp
0 ./USB
11M ./lib
480K ./__MACOSX
420K ./_READYNAS_CONFIG-1
4.0K ./c
4.0K ./initrd
3.8M ./sbin
11M ./frontview
28K ./root
0 ./dev
2.4M ./opt
217M ./usr
0 ./proc
111M ./var
16K ./.Dekoh
228K ./home
2.5G .
nas-EA-33-DF:/# cd /GPL
nas-EA-33-DF:/GPL# du --max-depth=1 -h -x
36M ./apache2-2.2.6
128K ./pwauth-2.3.6
476K ./sysklogd-1.4.1
368K ./mktemp-1.5
84K ./libfile-remove-perl-0.31
68K ./libtext-wrapi18n-perl-0.06
3.5M ./rsync-3.0.5
2.7M ./bzip2-1.0.3
20K ./libreadynas_lgpl
544K ./libhtml-parser-perl-3.55
1.1M ./iscsitarget-0.4.17
355M ./linux-x86-2.6
3.5M ./bash-3.1dfsg
644K ./liburi-perl-1.35
4.0M ./iptables-1.3.6.0debian1
1.9M ./libevent-1.1a
5.6M ./openssh-4.3p2
756K ./libedit-2.9.cvs.20050518
23M ./libxml2-2.6.27.dfsg
14M ./flac-1.2.1
3.5M ./lvm2-2.02.06
4.1M ./libgd2-2.0.33
1.6M ./mdadm-2.6.4
2.9M ./sudo-1.6.8p12
1.1M ./vlan-1.9
1.1M ./pciutils-2.2.4~pre4
104K ./libdevel-symdump-perl-2.03
2.4M ./smartmontools-5.38
308K ./base-files-4.0.1~bpo40+1
92K ./lcd
340K ./miniupnpd
44K ./gpio
2.4M ./libmad-0.15.1b
14M ./busybox-1.7.0
1.7M ./libdbi-perl-1.53
1.5M ./gzip-1.3.5
3.6M ./zip-2.32
600K ./ethtool-5
264K ./portmap-5
20M ./cupsys-1.1.14
18M ./proftpd-1.3.2
14M ./shadow-4.0.18.1
3.1M ./ntfs-3g-1.2531
340K ./hdparm-6.9
1.3M ./mawk-1.3.3
48K ./debian-backports-keyring-2007.06.10
536K ./host-20000331
208K ./makedev-2.3.1
8.4M ./cyrus-sasl2-2.1.22.dfsg1
200K ./libnet-daemon-perl-0.38
73M ./gcc-4.1-4.1.1ds2
2.7M ./expat-1.95.8
2.0M ./slang2-2.0.6
11M ./tar-1.16
424K ./ucf-2.0020
484K ./at-3.1.10
1.5M ./libnfsidmap-0.18
10M ./libapache2-mod-perl2-2.0.2
696K ./udev-0.105
664K ./debianutils-2.17
4.3M ./devmapper-1.02.08
308K ./netbase-4.29
5.9M ./unzip-5.52
5.9M ./libvorbis-1.1.2.dfsg
11M ./fuppes-4.01c1-p3
256K ./mod_authnz_external-3.1.0
224K ./libapache2-mod-auth-pam-1.1.1
1.2M ./wireless-tools-28
9.8M ./netatalk-2.0.3
4.2M ./nfs-utils-1.1.2
2.8M ./libjpeg6b-6b
1.2M ./readynas-x86-kernel-modules
61M ./perl-5.8.8
15M ./ncurses-5.5
7.4M ./findutils-4.2.28
688K ./zlib-1.2.3
112K ./lvm-common-1.5.20
24M ./gnutls13-1.4.4
50M ./db4.3-4.3.29
3.1M ./file-4.17
60K ./debian-archive-keyring-2007.07.31~etch1
2.4M ./popt-1.10
2.3M ./gdbm-1.8.3
588K ./nv6memtest
3.4M ./libsepol-1.14
148K ./libplrpc-perl-0.2017
17M ./dpkg-1.13.25
63M ./samba
19M ./glibc-2.3.6.ds1
828K ./grep-2.5.1.ds2
1.7M ./db3-3.2.9+dfsg
240K ./acpid-1.0.4
648K ./iputils-20020927
4.3M ./libexif-0.6.16
260K ./base-passwd-3.5.11
5.7M ./exim-3.36
424K ./dosfstools-2.11
56M ./db4.4-4.4.20
4.8M ./wget-1.10.2
3.0M ./ncftp-3.2.0
436K ./logrotate-3.7.1
2.9M ./libid3tag-0.15.1b
124K ./libident-0.22
2.7M ./tzdata-2008h
1.6M ./ifupdown-0.6.8
120K ./liblocale-gettext-perl-1.05
168K ./libnet-netmask-perl-1.9012
4.5M ./apr-util-1.2.7+dfsg
96K ./ddrescue-1.10
1.9M ./libusb-0.1.12
6.2M ./nv6bootloader
876K ./sysfsutils-2.1.0
168K ./mime-support-3.39
8.2M ./apt-0.6.46.4
4.3M ./libpng-1.2.15~beta5
4.7M ./libgcrypt11-1.2.3
2.2M ./libogg-1.1.3
68K ./hostname-2.93
888K ./minidlna
16M ./ffmpeg-debian-0.svn20080206
396K ./cracklib2-2.7
1.4M ./sysvinit-2.86.ds1
96K ./libfile-ncopy-perl-0.34
688K ./libpci2-2.1.11
1.7M ./libdaemon-0.12
2.5M ./opencdk8-0.5.9
2.0M ./tct-1.11
12M ./sqlite3-3.5.9
3.3M ./cpio-2.6
1.5M ./net-tools-1.60
4.1M ./gphoto2-2.2.0
5.5M ./mt-daapd
4.7M ./libgpg-error-1.4
6.2M ./apr-1.2.7
25M ./net-snmp-5.2.3
948K ./noflushd
4.4M ./lzo-1.08
468K ./udhcp-0.9.8cvs20050303
76K ./libtext-iconv-perl-1.4
11M ./ntp-4.2.2.p4+dfsg
1.2M ./libwww-perl-5.805
2.2M ./librpcsecgss-0.17
21M ./openssl-0.9.8c
88K ./libhtml-tagset-perl-3.10
1.4M ./procps-3.2.7
23M ./e2fsprogs-1.41.3
14M ./openldap2-2.1.30
16M ./util-linux-2.13.1.1
348K ./libcap-1.10
912K ./tftp-hpa-0.43
2.4M ./iproute-20061002
49M ./krb5-1.4.4
3.4M ./diffutils-2.8.1
5.2M ./libapreq2-2.08
4.9M ./libtasn1-3-0.3.6
1.7M ./freetype-2.2.1
2.3M ./libgssglue-0.1
1.9M ./libdvdread-0.9.7
612K ./libdbd-mysql-perl-3.0008
6.1M ./readline5-5.2
472K ./cron-3.0pl1
4.3M ./linux-atm-2.4.1
12M ./postgresql-8.1-8.1.11
640K ./attr-2.4.32
196K ./openbsd-inetd-0.20050402
5.0M ./nut
508K ./tcp-wrappers-7.6.dbs
2.8M ./msmtp-1.4.9
1.1M ./mdadm-2.6.7
132K ./memtester-2.93.1
2.4M ./iscsitarget-0.4.16+svn162
4.5M ./sed-4.1.5
11M ./libidn-0.6.5
1.1M ./ifplugd-0.28
18M ./gnupg-1.4.6
31M ./db4.2-4.2.52+dfsg
84K ./libtext-charwidth-perl-0.04
64K ./dd_rescue
28M ./squeezecenter-7.3.2
89M ./mysql-dfsg-5.0-5.0.32
1.5M ./adduser-3.102
68K ./update-inetd-4.27
3.6M ./libselinux-1.32
20M ./libgphoto2-2.2.1
16M ./busybox-1.10.1
5.2M ./lm-sensors-2.10.1
928K ./bvi-1.3.2
7.0M ./dbus-1.1.2
5.8M ./faad2-2.6.1
496K ./libhtml-tree-perl-3.19.01
264K ./lsb-3.1
12M ./gsasl-0.2.12
1.1M ./acl-2.2.41
5.2M ./pcre3-6.7+7.4
2.0M ./wizd
5.4M ./coreutils-5.97
1.5M ./quota-3.14
6.9M ./avahi-0.6.21
3.4M ./debconf-1.5.11etch2
456K ./module-init-tools-3.3-pre4
3.5M ./pam-0.79
1.5M ./psmisc-22.3
1.7G .

Looks like GPL has a bunch of extra stuff. Any thoughts on what to delete?
Thanks,
BigBearf
Message 105 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

I think I answered my own question. I used Fetch and the "Get" command to copy the RNDP6xxx_4.2.5_WW_src.zip file to my desktop and then deleted most of the files in the GPL folder on the RNPP. Things are running OK but I am back to square one. Does the new firmware beta have the updated kernel and would VB install be easier with the new firmware?
BigBearf
Message 106 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

Have made some progress with the VB install but I get the following error when trying to run the VB

nas-EA-33-DF:/GPL/linux-x86-2.6# ./VirtualBox-3.0.4-50677-Linux_x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.........
VirtualBox Version 3.0.4 r50677 (2009-08-04T17:38:26Z) installer
Please install the build and header files for your current Linux kernel.
The current kernel version is 2.6.27.6.RNx86.2.1
Problems were found which would prevent VirtualBox from installing.
Please correct these problems and try again.


Chirpa or anyone with any suggestions?
Message 107 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

Updated to 4.2.7 T55 looks OK except for inability to perform add ons locally the button for local add ons does not function however that is a different deal.

I have been trying to install VB but now after the upgrade I get the following error message.

nas-EA-33-DF:/GPL/linux-x86-2.6# ./VirtualBox-3.0.4-50677-Linux_x86.run
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.........
VirtualBox Version 3.0.4 r50677 (2009-08-04T17:38:26Z) installer
Detected unsupported amd64 environment.
nas-EA-33-DF:/GPL/linux-x86-2.6#


Any thoughts or suggestions would be appreciated.

BigBearf
Message 108 of 442
beisser1
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

did you try an apt-get install virtualbox-3.0 ?

thats how i always install my virtualbox

edit: just tried it. together with the kernel-sources provided by chirpa i was easily able to install vbox via apt-get and compile the kernel modules

edit2: just use chirpas kernel-sources and follow the instructions on page 1
Message 109 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

Forgive me for being dense. Are you telling me to do the following?

$ mkdir /lib/modules/`uname -r`/misc
$ cd /lib/modules/`uname -r`/misc
$ wget http://www.readynas.com/contributed/chi ... vboxdrv.ko
$ wget http://www.readynas.com/contributed/chi ... xnetflt.ko
$ echo "deb http://download.virtualbox.org/virtualbox/debian etch non-free" >> /etc/apt/sources.list
$ wget -q http://download.virtualbox.org/virtualb ... n_vbox.asc -O- | apt-key add -
$ apt-get update
$ apt-get install virtualbox-2.1
$ /etc/init.d/vboxdrv start


Should I replace the virtualbox-2.1 with virtualbox-3.08? Is this all there is to it?
What about the following?

# wget -q http://www.readynas.com/download/GPL/RN ... WW_src.zip
# unzip -q RNDP6xxx_4.2.4_WW_src.zip -d ./GPL
# cd GPL/linux-x86-2.6/
# make && make prepare
# ln -s /c/backup/GPL/linux-x86-2.6/ /usr/src/linux
# export KERN_DIR=/usr/src/linux
# apt-get install libfontconfig1 libglib2.0-0 libice6 libsdl1.2debian libsm6 libx11-6 libxcursor1 libxext6 libxi6 libxmu6 libxrandr2 libxrender1 libxslt1.1 libxt6 python2.4
# wget -q http://download.virtualbox.org/virtualb ... h_i386.deb
# dpkg -i virtualbox-2.2_2.2.2-46594_Debian_etch_i386.deb
Setting up virtualbox-2.2 (2.2.2-46594_Debian_etch) ...
Recompiling VirtualBox kernel module: done.
Starting VirtualBox kernel module: done.


I guess I am confused about whether I should run the first set of command and then run the last set of commands. When I have tried it before I have run into a large GPL directory from unzipping the large zip file. I would appreciate further advice.
Thanks
BigBearf
Message 110 of 442
beisser1
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

i will compile a set of instructions i used when im at work.

its really quite easy 🙂
Message 111 of 442
chirpa
Luminary

Re: Running VirtualBox VM host on ReadyNAS Pro

First option won't work on 4.2.7, it is using pre-compiled binaries I made on 4.2.4 kernel.

The second way will work, if you adjust VB 2.2 for 3.0.8.

If you get the compiling environment setup and the kernel tree ready, you can install it even easier now on 4.2.7. I will try and get full details in the next few days for installing from a clean system. I've already messed with my personal box too much to make it a reliable installation base. Basically, just download and install http://download.virtualbox.org/virtualb ... _amd64.run. Upon installation, it will compile the needed modules, if you have the kernel tree ready to go (apt-get install build-essential, and drop the GPL/linux-kernel-2.6 files in /usr/src/linux)
Message 112 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

@beisser Thank you for your reply. I look forward getting your instructions and getting this to work.
BigBearf
Message 113 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

@chirpa

The second way will work, if you adjust VB 2.2 for 3.0.8.

If you get the compiling environment setup and the kernel tree ready, you can install it even easier now on 4.2.7. I will try and get full details in the next few days for installing from a clean system. I've already messed with my personal box too much to make it a reliable installation base. Basically, just download and install http://download.virtualbox.org/virtualb ... _amd64.run. Upon installation, it will compile the needed modules, if you have the kernel tree ready to go (apt-get install build-essential, and drop the GPL/linux-kernel-2.6 files in /usr/src/linux)


Thank you for your help. I have tried the installation and have a large GPL directory. I will have to probably delete the GPL directory and then follow your advice. Do you think I am going to have to do a firmware reinstall to clean up my machine? Thanks to all who have tried to help.
BigBearf
Message 114 of 442
chirpa
Luminary

Re: Running VirtualBox VM host on ReadyNAS Pro

What I usually do is unzip the GPL to /c/backup or something, then symlink (ln -s /c/backup/Projects/GPL/linux-kernel-2.6 /usr/src/linux), so that compiling should work out of the box.
Message 115 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

@chirpa

Deleted the GPL folder and unzipped to /c/backup/GPL and then did "make && make prepare" command and this is the error code I got.

nas-EA-33-DF:/backup/GPL/linux-x86-2.6# make && make prepare
HOSTCC scripts/basic/fixdep
HOSTCC scripts/basic/docproc
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
***
*** You have not yet configured your kernel!
*** (missing kernel .config file)
***
*** Please run some configurator (e.g. "make oldconfig" or
*** "make menuconfig" or "make xconfig").
***
make[2]: *** [silentoldconfig] Error 1
make[1]: *** [silentoldconfig] Error 2
make: *** No rule to make target `include/config/auto.conf', needed by `include/config/kernel.release'. Stop.
nas-EA-33-DF:/backup/GPL/linux-x86-2.6#


When and how should I run this download? I can download the file and then do I then "Put" the .run file in the which directory and sh it to run and compile the needed modules?

Basically, just download and install http://download.virtualbox.org/virtualb ... _amd64.run. Upon installation, it will compile the needed modules, if you have the kernel tree ready to go (apt-get install build-essential, and drop the GPL/linux-kernel-2.6 files in /usr/src/linux)


I think I am getting there and thanks for your help. I am determined to get this going just keep the suggestions coming.
Thanks,
BigBearf
Message 116 of 442
chirpa
Luminary

Re: Running VirtualBox VM host on ReadyNAS Pro

Try 'make oldconfig' first.

If 'make prepare' works, you can 'chmod +x' the .run file, then './blah.run'.
Message 117 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

@chirpa

Try 'make oldconfig' first.

If 'make prepare' works, you can 'chmod +x' the .run file, then './blah.run'.


Thanks for the reply. I will try it tonight doing the following:
1. #make oldconfig
2. #make prepare
3. 'chmod +x' the .run file. I downloaded it to the MBP desktop and then using Fetch "Put" in in the Backup directory. Is that the proper place or should it be in the / directory along with the download .zip file that I unzipped into the /c/backup/GPL directory. Where to put file or does it matter?
4. Then './xxx.run' the file that I "Put" with Fetch and made executable with 'chmod +x' command.

Please let me know where to place the .run file and I will post results tonight or tomorrow.
Thanks.
BigBearf
Message 118 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

Here is my most recent attempt and results doing the previously mentioned steps.

nas-EA-33-DF:/backup# ./VirtualBox-3.0.8-53138-Linux_amd64.run.sh
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.........
VirtualBox Version 3.0.8 r53138 (2009-10-02T09:38:05Z) installer
Installing VirtualBox to /opt/VirtualBox
ln: creating symbolic link `/usr/share/applications/virtualbox.desktop' to `/opt/VirtualBox/virtualbox.desktop': No such file or directory
Python found: python, installing bindings...
/bin/bash: python: command not found
Building the VirtualBox vboxdrv kernel module
Failed to build the vboxdrv kernel module.
Please check the log file /var/log/vbox-install.log for more information.

VirtualBox has been installed successfully, but the kernel module could not
be built. When you have fixed the problems preventing this, execute
/etc/init.d/vboxdrv setup
as administrator to build it.

You will find useful information about using VirtualBox in the user manual
/opt/VirtualBox/UserManual.pdf
and in the user FAQ
http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.

nas-EA-33-DF:/backup#


Any further suggestions?
BigBearf
Message 119 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

@chirpa

Here are VB install log per the "Please check the log file /var/log/vbox-install.log for more information."

VirtualBox 3.0.8 r53138 installer, built 2009-10-02T09:38:05Z.

Testing system setup...
System setup appears correct.

Installing VirtualBox to /opt/VirtualBox

Output from the module build process (the Linux kernel build system) follows:

Makefile:150: Warning: using /usr/src/linux as the source directory of your Linux kernel. If this is not correct, specify KERN_DIR=<directory> and run Make again.
Makefile:158: *** Error: /usr/src/linux (version 2.6.27.6.RNx86.2.1) does not match the current kernel (version 2.6.30.9.RNx86_64.2.1). Stop.

End of the output from the Linux kernel build system.
Installation successful


I feel like we are close. Let me know your thoughts or suggestions. Thanks
BigBearf
Message 120 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

@chirpa
One final piece of the puzzle

nas-EA-33-DF:/opt/VirtualBox# sh VBox.sh
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
available for the current kernel (2.6.30.9.RNx86_64.2.1) or it failed to
load. Please recompile the kernel module and install it by

sudo /etc/init.d/vboxdrv setup

You will not be able to start VMs until this problem is fixed.
basename: missing operand
Try `basename --help' for more information.
Unknown application -
nas-EA-33-DF:/opt/VirtualBox# sudo /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel module ...done.
Recompiling VirtualBox kernel module ...failed!
(Look at /var/log/vbox-install.log to find out what went wrong)
nas-EA-33-DF:/opt/VirtualBox#


Thanks for your help. Time to crash, will check forum in AM.
BigBearf
Message 121 of 442
chirpa
Luminary

Re: Running VirtualBox VM host on ReadyNAS Pro

BigBearf wrote:
Makefile:158: *** Error: /usr/src/linux (version 2.6.27.6.RNx86.2.1) does not match the current kernel (version 2.6.30.9.RNx86_64.2.1). Stop.

You have to use matching GPL. You are using the beta firmware, but GPL kernel tree from 4.2.5. Use this kernel tree: viewtopic.php?p=188401#p188401
Message 122 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

@chirpa

You have to use matching GPL. You are using the beta firmware, but GPL kernel tree from 4.2.5. Use this kernel tree: viewtopic.php?p=188401#p188401


OK. I will download the .gz file. Where is the best place to PUT, chmod and install it? Sorry to be dense but trying.
Let me know how I can proceed. I will do a firmware install if necessary but really like 4.2.7 better.
Thanks,
BigBearf
Message 123 of 442
chirpa
Luminary

Re: Running VirtualBox VM host on ReadyNAS Pro

Untar/gzip it whereever you like. I usually keep it on /c somewhere, to avoid filling up the OS partition. Then do the symlink to /usr/src/linux as I mentioned previously.

The VirtualBox*.run file can be anywhere, it is just the installer for it. Once installed, you can delete the .run file.
Message 124 of 442
Bigbearf
Aspirant

Re: Running VirtualBox VM host on ReadyNAS Pro

@chirpa
Thanks for your response.
1. downloaded the .gz file and chmod to 777
2. #tar xvf RAIDiator-x86-4.2.7-T51-Kernel.tar
3. #make && make prepare and got error to run make oldconfig and got "configuration written to .config"
4. Ran #make oldconfig and got "configuration written to .config"
5. Ran #make prepare (OK no errors)
6. Ran # ln -s /c/backup/GPL/linux-x86-2.6/ /usr/src/linux (OK I think.)
7. Ran #./VirtualBox-3.0.8-53138-Linux_amd64.run.sh


nas-EA-33-DF:/backup# ./VirtualBox-3.0.8-53138-Linux_amd64.run.sh
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.........
VirtualBox Version 3.0.8 r53138 (2009-10-02T09:38:05Z) installer
Removing previous installation of VirtualBox 3.0.8 r53138 from /opt/VirtualBox
Installing VirtualBox to /opt/VirtualBox
ln: creating symbolic link `/usr/share/applications/virtualbox.desktop' to `/opt/VirtualBox/virtualbox.desktop': No such file or directory
Python found: python, installing bindings...
/bin/bash: python: command not found
Building the VirtualBox vboxdrv kernel module
Failed to build the vboxdrv kernel module.
Please check the log file /var/log/vbox-install.log for more information.

VirtualBox has been installed successfully, but the kernel module could not
be built. When you have fixed the problems preventing this, execute
/etc/init.d/vboxdrv setup
as administrator to build it.

You will find useful information about using VirtualBox in the user manual
/opt/VirtualBox/UserManual.pdf
and in the user FAQ
http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.

nas-EA-33-DF:/backup# export KERN_DIR=/usr/src/linux
nas-EA-33-DF:/backup# ./VirtualBox-3.0.8-53138-Linux_amd64.run.sh
Verifying archive integrity... All good.
Uncompressing VirtualBox for Linux installation.........
VirtualBox Version 3.0.8 r53138 (2009-10-02T09:38:05Z) installer
Removing previous installation of VirtualBox 3.0.8 r53138 from /opt/VirtualBox
Installing VirtualBox to /opt/VirtualBox
ln: creating symbolic link `/usr/share/applications/virtualbox.desktop' to `/opt/VirtualBox/virtualbox.desktop': No such file or directory
Python found: python, installing bindings...
/bin/bash: python: command not found
Building the VirtualBox vboxdrv kernel module
Failed to build the vboxdrv kernel module.
Please check the log file /var/log/vbox-install.log for more information.

VirtualBox has been installed successfully, but the kernel module could not
be built. When you have fixed the problems preventing this, execute
/etc/init.d/vboxdrv setup
as administrator to build it.

You will find useful information about using VirtualBox in the user manual
/opt/VirtualBox/UserManual.pdf
and in the user FAQ
http://www.virtualbox.org/wiki/User_FAQ

We hope that you enjoy using VirtualBox.

nas-EA-33-DF:/backup# nas-EA


Any further suggestions or directions?
BigBearf
Message 125 of 442
Top Contributors
Announcements