Support > User Customizations
VirtualBox in unRAID
bellevillerc:
I am having some issues... I am following the steps on the wikki about getting this VirtualBox installed on my unRAID 4.7 box. After all the attempts and errors I am getting, I think it is the way I am copying the code and pasting it in, to make up the scripts. I tried the individual steps, typing it all out, but even the doinst.sh file I make (by copying the text and pasting in) gives errors. I have tried this on a clean, basic, new 4.7 raid install on another pc, and have the exact same outcome.
Could someone give me the steps to making these script files, so I know if I am doing them wrong. I have to be......
Also when I create the script files, i give them the extension .sh as I am assuming that is what it is supose to be.
It has issues with the script right from the getgo, as it has issues with the first part..
--- Code: ---#!/bin/bash
P="$(dirname "$(readlink -f ${BASH_SOURCE[0]})")"
[ ! -d "$P/packages" ] && mkdir $P/packages
cd $P/packages
--- End code ---
basically says it can't create the directory/doesn't exsist.... where is it trying to create the packages directory exaclty???
--- Code: ---[ ! -e "linux-2.6.32.9.tar.gz" ] && wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.32.9.tar.gz
[ ! -e "gcc-4.2.4-i486-1.tgz" ] && wget http://slackware.oregonstate.edu/slackware-12.2/slackware/d/gcc-4.2.4-i486-1.tgz
[ ! -e "glibc-2.7-i486-17.tgz" ] && wget http://slackware.oregonstate.edu/slackware-12.2/slackware/l/glibc-2.7-i486-17.tgz
[ ! -e "binutils-2.18.50.0.9-i486-1.tgz" ] && wget http://slackware.oregonstate.edu/slackware-12.2/slackware/d/binutils-2.18.50.0.9-i486-1.tgz
[ ! -e "make-3.81-i486-1.tgz" ] && wget http://slackware.oregonstate.edu/slackware-12.2/slackware/d/make-3.81-i486-1.tgz
[ ! -e "cxxlibs-6.0.9-i486-1.tgz" ] && wget http://slackware.oregonstate.edu/slackware-12.2/slackware/a/cxxlibs-6.0.9-i486-1.tgz
[ ! -e "pkgtools-12.1.0-noarch-7.tgz" ] && wget http://slackware.osuosl.org/slackware-12.2/slackware/a/pkgtools-12.1.0-noarch-7.tgz
[ ! -e "perl-5.10.0-i486-1.tgz" ] && wget http://slackware.osuosl.org/slackware-12.2/slackware/d/perl-5.10.0-i486-1.tgz
[ ! -e "cpio-2.5-i486-3.tgz" ] && wget http://slackware.osuosl.org/slackware-12.2/slackware/a/cpio-2.5-i486-3.tgz
[ ! -e "patch-2.5.4-i486-1.tgz" ] && wget http://slackware.osuosl.org/slackware-12.2/slackware/a/patch-2.5.4-i486-1.tgz
[ ! -e "ncurses-5.6-i486-3.tgz" ] && wget http://slackware.osuosl.org/slackware-12.2/slackware/l/ncurses-5.6-i486-3.tgz
--- End code ---
with downloading the files... it seems it connects/finds the file, but then doesn't download and gives a 404 error... The files are there online, as I can download them on my PC using the links.
There is more errors I get from the rest of the code, but if I can't get past the first part, then no sense worrying about the rest.
Is anyone able to help? It must be something I'm doing, as it seems to work for several other people. Or is there steps that should be done before doing the steps in the wiki (http://lime-technology.com/wiki/index.php/Installing_VirtualBox_in_unRAID) on this...?
it's unRAID 4.7
uname -r gives.. 2.6.32.9-unRAID
Thanks in advance,
Pete
(a frustrated individual, with little hair left.... :-[ )
joeshmoe1:
I'm not an expert but for the sake of your hair I'll give it a shot. I think the script is trying to create the "packages" directory in whatever directory you're running the script (preferably a folder on the cache drive). I don't think the scripts need a .sh extension (mine don't have it). They do need to be executable (use chmod). Also take a look at the post by Dace on this page http://lime-technology.com/forum/index.php?topic=10978.135. It helped me out quite a bit. I've attached a zip file with the two scripts. If these work there is probably an issue with how you're creating the scripts. Cutting and pasting can be problematic if you're doing it on a windows machine. Good luck.
bellevillerc:
THanks,
Those sacripts are for UnRAID 5 but I modified it. When I install the VirtualBox file (from the section Installing VirtualBox) , I get some errors (like "ln: creating symbolic link '/usr/share/pixmaps/virtualbox.png' : no such file or directory ) I get a few of these that are similar just different files/locations in this share directory. Is this normal or is this a bad thing?
Thanks again,
Pete
joeshmoe1:
Not sure how that happened. This one should work on 4.7. I've never installed virtualbox on 4.7 but I don't get any errors when I run the scripts on 5x.
bellevillerc:
I may have figured it out, and now have it running... I think... how do you log into the virtualbox? Just trying to find that info now.... guess I need phpVirtualBox now... any good tutorials on installing that?
Thanks,
Pete
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version