- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- « Previous
-
- 1
- 2
- Next »
Re: Virtualbox on OS6 NAS
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
I confused which pinout is correct.
http://www.pccables.com/cgi-bin/orders6 ... rtno=07129 and http://www2.warwick.ac.uk/fac/sci/csc/p ... o-jailfix/
Can you help me?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
below is correct pinout.
Pin Wiring
IDC16-Female HDDB15-Female
1 1
2 2
3 3
4 4
5 5
6 6
7 7
8 8
9 9 (Sometimes Blocked)
10 10
11 11
12 12
13 13
14 14
15 15
16 Open
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
horim80 wrote: I confused which pinout is correct.
http://www.pccables.com/cgi-bin/orders6 ... rtno=07129 and http://www2.warwick.ac.uk/fac/sci/csc/p ... o-jailfix/
The two pinouts are identical; the author of the warwick.ac.uk page simply misnumbered the 16-pin connector in his photo and table.
It should be numbered like this:
1 3 5 7 9 11 13 15 CORRECT
2 4 6 8 10 12 14 16 CORRECT
but he has mistakenly numbered it like this:
1 2 3 4 5 6 7 8 WRONG
9 10 11 12 13 14 15 16 WRONG
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
Here are the instructions I used, I am more of a weekend warrior when it comes to linux so I reserve the right to make errors below but it worked perfectly for me.
# Installing VirtualBox (4.3.12-93733) on ReadyNAS OS6 (6.1.8)
# feel free and make changes to this as required
# Thanks to JMehring http://www.readynas.com/forum/viewtopic.php?p=412063#p412063
# and Matty Shack http://www.readynas.com/forum/viewtopic.php?f=35&t=72178&p=419623
#
apt-get update
apt-get install build-essential
apt-get install vim git lm-sensors telnet
# 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.8_WW_src.zip tmp
cd tmp
unzip ReadyNASOS_V6.1.8_WW_src.zip
cp -rp linux-3.0.101-0.15 /data/.apps
ln -s /data/.apps/linux-3.0.101-0.15 /usr/src/linux-3.0.101-0.15
# Need to build kernel since autoconf.h is not in include/generated/autoconf.h yet
export KERN_DIR=/usr/src/linux-3.0.101-0.15
cd /usr/src/linux-3.0.101-0.15
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) and run the command below from the path containing the virtualbox .deb file
dpkg -i virtualbox-4.3_4.3.12-93733~Debian~wheezy_amd64.deb
# Run this to fix missing dependancies if the line above flags any (I needed to)
apt-get -f install
# Configure vboxdrv & modules
/etc/init.d/vboxdrv setup
modprobe vboxdrv
modinfo misc/vboxdrv.ko
# Installing the extension pack. Just to be safe, run the uninstall first.
VBoxManage extpack uninstall "Oracle VM VirtualBox Extension Pack"
VBoxManage extpack install Oracle_VM_VirtualBox_Extension_Pack-4.3.12-93733.vbox-extpack
## OPTIONAL settings for VirtualBox (4.3.12-93733)
## OPTIONAL ## Due to space/permission limitations of /root/VirtualBox VMs/ this will setup a symbolic link to a hidden shared I created called VirtualBox
cd ~/
rm -rf VirtualBox\ VMs
ln -s /data/VirtualBox ~/VirtualBox\ VMs
## OPTIONAL ## Export existing VM (This needs to be done on the current host of the VM)
vboxmanage export "VM_NAME" -o VM_NAME.ova
## OPTIONAL ## Importing VM (first line is just a dry run with listing options you can change during import)
vboxmanage import VM_NAME.ova --dry-run -n
vboxmanage import VM_NAME.ova --options
## OPTIONAL ## Don't forget to update the guest additions if you were running an older version
## Start VM ##
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
# 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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
So far I've experienced a couple of issues.
1. This file is corrupts (missing the end) from the Netgear download site -->ReadyNASOS_V6.2.3_WW_src.zip
2. When trying to install the kernel it fails
HOSTCC scripts/kconfig/conf.o
/bin/sh: 1: scripts/basic/fixdep: Permission denied
make[1]: *** [scripts/kconfig/conf.o] Error 126
make: *** [menuconfig] Error 2
I changed the permissions on scripts/basic/fixdep
then received
HOSTCC scripts/kconfig/conf.o
*** Unable to find the ncurses libraries or the
*** required header files.
*** 'make menuconfig' requires the ncurses libraries.
***
*** Install ncurses (ncurses-devel) and try again.
***
make[1]: *** [scripts/kconfig/dochecklxdialog] Error 1
make: *** [menuconfig] Error 2
I decided to rollback to 6.2.2 and now
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
build-essential : Depends: libc6-dev but it is not going to be installed or
libc-dev
Depends: g++ (>= 4:4.4.3) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
So I seem to be left in no mans land, I haven't really had enough time to look into it in detail yet but this is . Anyone have some ideas?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
I would update back to 6.2.3 and try using that.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
------------------------------------------
So here is what I needed to do first to update virtualbox for OS 6.2.3. Then follow the installation guide on page 2, just remember to remove linux-3.0.101-0.40 links and files then install linux-3.0.101-0.46
apt-get install ncurses-dev
cd /usr/src/linux-3.0.101-0.46/scripts/basic/
chmod 777 fixdep
*** You may not need 777 but I was lazy
Now due to me doing a few unnecessary changes you may not need to do the following steps if you so try without first.
apt-get install buid-essential
apt-get -f install
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
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 😉
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
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 🙂
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
Do note that the 312 can only run 32-bit VMs as it does not have VT-x support.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
I know and don't care 🙂 as i said, this is just for playing around, nothing serious.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
Anybody? please? Pretty please with sprinkles on top?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
Did you end up finding a solution?
If not what OS version are you running?
Did you run all of the other command and install the dependencies?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
###########################
### ###
### 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
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
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.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
Finally got it working - had to disable vbox authentication:
su vbox VBoxManage setproperty websrvauthlibrary null
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Virtualbox on OS6 NAS
Rolled out TinyXP and Tiny7 - both work fine, though surprisingly Tiny7 seems to be faster.
- « Previous
-
- 1
- 2
- Next »