NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
chirpa
Mar 07, 2009Luminary
Running VirtualBox VM host on ReadyNAS Pro
What is VirtualBox?
So, I got bored while laundry was going... and decided to see how well a virtual OS would run on the Pro. My first choice of VM was VirtualBox, just cause I'm familiar with it after using it for ages, plus its open and free :) Eventually, I may look into VMWare as well.
After a bit of messing around, got it installed. Since the system is based off of Debian, was easy to get VirtualBox itself there (deb package). The trickiest part was getting the kernel modules required installed (see end of post).
In the end, I've got Windows 2003 R2 running on my Pro, interacting with it via RDP, and I am happy with the performance. I've added an extra 1GB memory (for a total of 2GB). I assigned 1GB of ram to my virtual OS, which still leaves the default configuration of 1GB for the NAS itself (which is more than enough still, 800MB+ is always cached).
I made a 10GB virtual disk to install the OS on. If I need more space later for extra applications, I can just add another virtual drive to that installation. And since I always like a bit extra security, I went a bit beyond the usual, and also have TrueCrypt running full disk encryption in the virtual OS. So no one can even boot and read the data in that OS without my bootup password.
I don't really have any screenshots to show, just a standard Windows installation. Here is a few of the steps I used while creating the VM on the console:
VirtualBox 3.1 has changed the CLI configuration. Until I update this how-to, please reference this: http://www.uhleeka.com/blog/2009/12/vir ... 9-04-host/
With the OS booted up and just sitting at the desktop, top reports:
Ad-hoc installation of VirtualBox. Should work for RAIDiator 4.2.4. Download links for the kernel modules, for those who don't want to go through the mess of compiling them.
So, I got bored while laundry was going... and decided to see how well a virtual OS would run on the Pro. My first choice of VM was VirtualBox, just cause I'm familiar with it after using it for ages, plus its open and free :) Eventually, I may look into VMWare as well.
After a bit of messing around, got it installed. Since the system is based off of Debian, was easy to get VirtualBox itself there (deb package). The trickiest part was getting the kernel modules required installed (see end of post).
In the end, I've got Windows 2003 R2 running on my Pro, interacting with it via RDP, and I am happy with the performance. I've added an extra 1GB memory (for a total of 2GB). I assigned 1GB of ram to my virtual OS, which still leaves the default configuration of 1GB for the NAS itself (which is more than enough still, 800MB+ is always cached).
I made a 10GB virtual disk to install the OS on. If I need more space later for extra applications, I can just add another virtual drive to that installation. And since I always like a bit extra security, I went a bit beyond the usual, and also have TrueCrypt running full disk encryption in the virtual OS. So no one can even boot and read the data in that OS without my bootup password.
I don't really have any screenshots to show, just a standard Windows installation. Here is a few of the steps I used while creating the VM on the console:
VirtualBox 3.1 has changed the CLI configuration. Until I update this how-to, please reference this: http://www.uhleeka.com/blog/2009/12/vir ... 9-04-host/
# Creating the Virtual Machine.
$ VBoxManage createvm -name "Windows2003" -register
$ VBoxManage modifyvm "Windows2003" -memory "1024MB" -acpi on -boot1 dvd -nic1 nat
$ VBoxManage createvdi -filename "/c/backup/VirtualBox/Windows2003.vdi" -size 10000 -register
$ VBoxManage modifyvm "Windows2003" -hda "/c/backup/VirtualBox/Windows2003.vdi"
$ VBoxManage registerimage dvd /c/backup/VirtualBox/Windows2003Ent.iso
$ VBoxManage modifyvm "Windows2003" -dvd /c/backup/VirtualBox/Windows2003Ent.iso
$ VBoxHeadless -startvm "Windows2003" &
# Connected via Remote Desktop at this point.
# After the installation, first page requires Ctrl-Alt-Del, so I sent the keycodes.
$ VBoxManage controlvm "Windows2003" keyboardputscancode 1d 38 53
# System is up and running, time to install GuestAdditions for better video, etc.
$ wget http://download.virtualbox.org/virtualbox/2.2.2/VBoxGuestAdditions_2.2.2.iso
$ VBoxManage registerimage dvd /c/backup/VirtualBox/VBoxGuestAdditions_2.2.2.iso
$ VBoxManage controlvm "Windows2003" dvdattach /c/backup/VirtualBox/VBoxGuestAdditions_2.2.2.iso
With the OS booted up and just sitting at the desktop, top reports:
top - 16:17:10 up 1 day, 17:58, 1 user, load average: 0.00, 0.01, 0.00
Tasks: 93 total, 1 running, 92 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.7%us, 0.2%sy, 0.0%ni, 99.2%id, 0.0%wa, 0.0%hi, 0.0%si, 0.0%st
Mem: 2072432k total, 2020100k used, 52332k free, 6120k buffers
Swap: 1048536k total, 144k used, 1048392k free, 784620k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
10297 root 20 0 1104m 1.0g 4720 S 4 52.5 57:31.53 VBoxHeadless
12792 root 20 0 46092 9520 1720 S 1 0.5 59:54.51 motion
12196 root 20 0 9196 7688 980 S 0 0.4 0:57.72 wastesrv
1 root 20 0 1948 600 508 S 0 0.0 0:01.30 init
Ad-hoc installation of VirtualBox. Should work for RAIDiator 4.2.4. Download links for the kernel modules, for those who don't want to go through the mess of compiling them.
$ mkdir /lib/modules/`uname -r`/miscOr, if you want to compile the kernel modules yourself:
$ cd /lib/modules/`uname -r`/misc
$ wget http://www.readynas.com/contributed/chirpa/modules/virtualbox/pro/vboxdrv.ko
$ wget http://www.readynas.com/contributed/chirpa/modules/virtualbox/pro/vboxnetflt.ko
$ echo "deb http://download.virtualbox.org/virtualbox/debian etch non-free" >> /etc/apt/sources.list
$ wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | apt-key add -
$ apt-get update
$ apt-get install virtualbox-2.1
$ /etc/init.d/vboxdrv start
envyious:/c/backup# echo "deb http://download.virtualbox.org/virtualbox/debian etch non-free" >> /etc/apt/sources.listInstall of VirtualBox 2.2.2, before Sun updates the Debian Repository...
envyious:/c/backup# wget -q http://download.virtualbox.org/virtualbox/debian/sun_vbox.asc -O- | apt-key add -
envyious:/c/backup# apt-get update && apt-get install build-essential
...
Setting up build-essential (11.3) ...
envyious:/c/backup# wget -q http://www.readynas.com/download/GPL/RNDP6xxx_4.2.4_WW_src.zip
envyious:/c/backup# unzip -q RNDP6xxx_4.2.4_WW_src.zip -d ./GPL
envyious:/c/backup# cd GPL/linux-x86-2.6/
envyious:/c/backup/GPL/linux-x86-2.6# make && make prepare
...
envyious:/c/backup/GPL/linux-x86-2.6# ln -s /c/backup/GPL/linux-x86-2.6/ /usr/src/linux
envyious:/c/backup/GPL/linux-x86-2.6# KERN_DIR=/usr/src/linux
envyious:/c/backup/GPL/linux-x86-2.6# apt-get install virtualbox-2.1
...
Setting up virtualbox-2.1 (2.1.4-42893_Debian_etch) ...
Adding group `vboxusers' (GID 101) ...
Done.
Messages emitted during module compilation will be logged to /var/log/vbox-install.log.
Success!
Starting VirtualBox kernel module: done.
envyious:/c/backup/GPL/linux-x86-2.6# cd
envyious:/c/backup/GPL/linux-x86-2.6# VBoxManage list vms
VirtualBox Command Line Management Interface Version 2.1.4
(C) 2005-2009 Sun Microsystems, Inc.
All rights reserved.
# wget -q http://www.readynas.com/download/GPL/RNDP6xxx_4.2.4_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/virtualbox/2.2.2/virtualbox-2.2_2.2.2-46594_Debian_etch_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.
441 Replies
Replies have been turned off for this discussion
- posureAspirant
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 - BigbearfAspirantI 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 - BigbearfAspirantHave 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 - BigbearfAspirantOK 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 - BigbearfAspirantI 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 - BigbearfAspirantHave 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? - BigbearfAspirantUpdated 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 - beisser1Tutordid 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 - BigbearfAspirantForgive 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 - beisser1Tutori will compile a set of instructions i used when im at work.
its really quite easy :)
Related Content
NETGEAR Academy

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