Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (Not For Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (Not For Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #61  
Old 13th November 2015, 10:04 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: In your closet
Posts: 15,520
windows_98_nt_2000firefox
Re: Oracle VirtualBox installation script

I honestly think that the problem is with VirtualBox and not the script.

Run the script again but this time choose the "t" option. This will tell you if all necessary packages are installed / were installed.

The "t" option makes no changes to your system. It is merely a simple test.
__________________
Glenn
The Bassinator
© ®
Reply With Quote
  #62  
Old 13th November 2015, 10:17 AM
MrNice Offline
Registered User
 
Join Date: Nov 2014
Location: Ireland
Posts: 84
linuxfedorafirefox
Re: Oracle VirtualBox installation script

Code:
===== TEST ONLY. NO PACKAGES ARE BEING INSTALLED.=====
Checking Fedora release version... Fedora 22 ✓
Checking for necessary packages...
==> kernel-devel-4.2.5-201.fc22.x86_64: ✓
==> gcc: ✓
==> qt: ✓
==> qt-x11: ✓
==> libpng15: ✓
==> libXmu: ✓
==> libXt: ✓
==> libvpx: ✓
==> dkms: ✓
==> SDL: ✓
==> Nothing new to install.
I'll upgrade and see if it's better. I'll let you know
Reply With Quote
  #63  
Old 13th November 2015, 10:28 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: In your closet
Posts: 15,520
windows_98_nt_2000firefox
Re: Oracle VirtualBox installation script

As you wish.
__________________
Glenn
The Bassinator
© ®
Reply With Quote
  #64  
Old 15th November 2015, 02:39 PM
MrNice Offline
Registered User
 
Join Date: Nov 2014
Location: Ireland
Posts: 84
linuxfedorafirefox
Re: Oracle VirtualBox installation script

Hi glennzo,

I am back with
Code:
uname -r
4.2.5-300.fc23.x86_64
I changed the script
Code:
VB_REL_VER="5.0-"$current_version"_104061"
VB_EXT_VER="$current_version"-104061
Unfortunately I still get the same error
Code:
Creating group 'vboxusers'. VM users must be member of that group!

No precompiled module for this kernel found -- trying to build one. Messages
emitted during module compilation will be logged to /var/log/vbox-install.log.

Stopping VirtualBox kernel modules                         [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS[  OK  ]
Starting VirtualBox kernel modules                         [FAILED]
  (modprobe vboxdrv failed. Please use 'dmesg' to find out why)
Installing Oracle VirtualBox extension pack.
WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (4.2.5-300.fc23.x86_64) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

         You will not be able to start VMs until this problem is fixed.
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Successfully installed "Oracle VM VirtualBox Extension Pack".
Oracle VirtualBox is now installed.
Script run complete.
Code:
 dmesg | tail
[20976.027872] audit: type=1131 audit(1447597569.939:311): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[21023.383106] audit: type=1107 audit(1447597617.337:312): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[21023.383693] audit: type=1107 audit(1447597617.338:313): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[21023.432143] audit: type=1107 audit(1447597617.386:314): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[21023.432382] audit: type=1107 audit(1447597617.387:315): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[21023.475104] audit: type=1107 audit(1447597617.429:316): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[21023.475342] audit: type=1107 audit(1447597617.430:317): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[21023.853701] audit: type=1107 audit(1447597617.808:318): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[21023.854016] audit: type=1107 audit(1447597617.809:319): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
[21023.982420] audit: type=1107 audit(1447597617.937:320): pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='Unknown permission stop for class system exe="/usr/lib/systemd/systemd" sauid=0 hostname=? addr=? terminal=?'
Any idea?
Reply With Quote
  #65  
Old 15th November 2015, 03:17 PM
MrNice Offline
Registered User
 
Join Date: Nov 2014
Location: Ireland
Posts: 84
linuxfedorafirefox
Re: Oracle VirtualBox installation script

I found this thread
https://forums.virtualbox.org/viewtopic.php?f=7&t=69356
Look at the last post
Quote:
Solved it. I just had to change the boot mode from 'UEFI' to 'UEFI with CSM'. Virtualbox now works fine.
I'll find how is my boot.
What do you think?
Reply With Quote
  #66  
Old 15th November 2015, 04:15 PM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: In your closet
Posts: 15,520
linuxfedorafirefox
Re: Oracle VirtualBox installation script

Boot mode where, in the system BIOS?
__________________
Glenn
The Bassinator
© ®
Reply With Quote
  #67  
Old 15th November 2015, 04:33 PM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: In your closet
Posts: 15,520
linuxfedorafirefox
Re: Oracle VirtualBox installation script

On my new EFI/UEFI laptop, minutes ago.

__________________
Glenn
The Bassinator
© ®
Reply With Quote
  #68  
Old 15th November 2015, 04:56 PM
MrNice Offline
Registered User
 
Join Date: Nov 2014
Location: Ireland
Posts: 84
linuxfedorafirefox
Re: Oracle VirtualBox installation script

I can't find CSM, moreover this could jeopardize the security.
Reply With Quote
  #69  
Old 15th November 2015, 08:23 PM
MrNice Offline
Registered User
 
Join Date: Nov 2014
Location: Ireland
Posts: 84
linuxfedorafirefox
Re: Oracle VirtualBox installation script

I found another track
http://gorka.eguileor.com/category/technology/linux/
Code:
$ su -c 'systemctl status vboxdrv'
Password: 
● vboxdrv.service - VirtualBox Linux kernel module
   Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: disabled)
   Active: active (exited) since Sun 2015-11-15 18:26:54 GMT; 1h 30min ago
  Process: 866 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=0/SUCCESS)

Nov 15 18:26:54 bla.bla systemd[1]: Starting VirtualBox Linux kernel module...
Nov 15 18:26:54 bla.bla vboxdrv.sh[866]: Starting VirtualBox kernel modules [FAILED]
Nov 15 18:26:54 bla.bla vboxdrv.sh[866]: (modprobe vboxdrv failed. Please use 'dmesg' to find out why)
Nov 15 18:26:54 bla.bla systemd[1]: Started VirtualBox Linux kernel module.
Code:
 $ su -c 'modprobe -v vboxdrv'
Password: 
insmod /lib/modules/4.2.5-300.fc23.x86_64/extra/vboxdrv.ko 
modprobe: ERROR: could not insert 'vboxdrv': Required key not available
Code:
openssl req -new -x509 -newkey rsa:2048 -keyout MOK.priv -outform DER -out MOK.der -nodes -days 36500 -subj "/CN=Akrog/"
Generating a 2048 bit RSA private key
..............................................................+++
.....+++
writing new private key to 'MOK.priv'
-----

$ modinfo vboxdrv
filename:       /lib/modules/4.2.5-300.fc23.x86_64/extra/vboxdrv.ko
version:        5.0.10 (0x00240000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     342F9F95905EFBCEFD26E63
depends:        
vermagic:       4.2.5-300.fc23.x86_64 SMP mod_unload 
signer:         Akrog
sig_key:        CE:CF:93:26:C4:B3:A7:3F:47:BC:CF:EE:DB:CD:1B:A3:13:FA:B8:C1
sig_hashalgo:   sha256
parm:           force_async_tsc:force the asynchronous TSC mode (int)

$ su -c '/usr/src/kernels/$(uname -r)/scripts/sign-file sha256 ./MOK.priv ./MOK.der $(modinfo -n vboxdrv)'

$ modinfo vboxdrv
filename:       /lib/modules/4.2.5-300.fc23.x86_64/extra/vboxdrv.ko
version:        5.0.10 (0x00240000)
license:        GPL
description:    Oracle VM VirtualBox Support Driver
author:         Oracle Corporation
srcversion:     342F9F95905EFBCEFD26E63
depends:        
vermagic:       4.2.5-300.fc23.x86_64 SMP mod_unload 
signer:         Akrog
sig_key:        01:48:C2:35:2B:E2:F3:51:C1:E3:79:89:06:93:01:72:7D:F7:FA:BA
sig_hashalgo:   sha256
parm:           force_async_tsc:force the asynchronous TSC mode (int)

$ mokutil --import MOK.der
input password: 
input password again: 
Failed to enroll new keys

ATTENTION:
This last command need to be run as root !!!
$ su -c 'mokutil --import MOK.der'
I don't know what is the last requested password. Is it a new to set or a previous to access rights?
MokManager.efi is installed in boot partition.
What did I miss?

Last edited by MrNice; 16th November 2015 at 08:30 AM. Reason: Correct the command line
Reply With Quote
  #70  
Old 16th November 2015, 08:09 AM
MrNice Offline
Registered User
 
Join Date: Nov 2014
Location: Ireland
Posts: 84
linuxfedorafirefox
Re: Oracle VirtualBox installation script

I found the answer of my previous question
https://access.redhat.com/documentat...cure-boot.html
26.8.4.3. System Administrator Manually Adding Public Key to the MOK List

However I am wondering why I have to do all that manually. This should be done by the system in the same way here
https://ask.fedoraproject.org/en/que...roll-new-keys/

Where is my mistake?

Edit:
Second answer
https://ask.fedoraproject.org/en/que...o-write-mokpw/
mokutil needs to be run as root, have you tried sudo?

Did it, accepted, now I'll reboot

Edit 2:
In the boot, I had a new screen to enroll the key. I had to enter the MOK password created with mokutil then reboot.
Now Virtualbox is running fine.
I hope I'll NOT have to do this every time I'll have an update...
However I have the way to do.

At least solved for now.
Hope this will help other.

Many thanks glennzo for your help

Last edited by MrNice; 16th November 2015 at 08:26 AM. Reason: New info
Reply With Quote
  #71  
Old 9th January 2016, 03:35 PM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: In your closet
Posts: 15,520
linuxfedorafirefox
Re: Oracle VirtualBox installation script

Latest version of my script. Tested minutes ago for Fedora 23 / LXDE / X86_64.

PHP Code:
#!/bin/bash
# 22_oracle_virtualbox.sh

# Glenn A. Johnson
# Started January 18, 2015
# Updated January 9, 2016

# A tip of the fedora to Fedora Forum members Sea, Skull One, marko, Dangermouse
# for help with code

<< COMMENT
 
Install and configure the Oracle version of VirtualBox for Fedora 22 or later.
 * 
Install the Oracle VirtualBox Extension Pack.
 * 
Handle all platformsi686PAE and x86_64 .
 * 
Clean up when finished.
 * 
Remove previously installed VirtualBox.
 * 
Support color no color (sudo NOCOLOR=1 22_oracle_virtualbox.sh)

Additional packages needed for a successful install of VirtualBox over the different platformsx86_64i686 and i686+PAE include
kernel-devel-$(uname -r), gccqtqt-x11libpng15libXmulibXtlibvpxcompat-libvpx1dkms, and SDL
COMMENT

# Determine OS platform and install correct packages.
# PAE or no?
GETVERS=$(uname -grep "PAE")
if [[ 
$GETVERS ]] ; then
    PACKFILES
="kernel-PAE-devel gcc qt qt-x11 libpng15 libXmu libXt libvpx compat-libvpx1 dkms SDL"
else
    
PACKFILES="kernel-devel-$(uname -r) gcc qt qt-x11 libpng15 libXmu libXt libvpx compat-libvpx1 dkms SDL"
fi

# Determine the current version of VirtualBox
curl -Os [url]http://download.virtualbox.org/virtualbox/LATEST.TXT[/url]
current_version=$(cat LATEST.TXT)
echo 
$current_version
rm LATEST
.TXT

# We can easily make changes to the source file versions by changing a few variables below.
# Most recent is [url]http://download.virtualbox.org/virtualbox/5.0.10/VirtualBox-5.0-5.0.10_104815_fedora22-1.x86_64.rpm[/url]
# [url]http://download.virtualbox.org/virtualbox/5.0.10/VirtualBox-5.0-5.0.10_104815_fedora22-1.x86_64.rpm[/url]

VB_REL_VER="5.0-"$current_version"_104815"
VB_EXT_VER="$current_version"-104815
VB_REL_DIST
="fedora22-1"
VBOX_SRC_FILE="VirtualBox-${VB_REL_VER}_${VB_REL_DIST}."`uname -m`".rpm" 
VBOX_EXT_SRC="Oracle_VM_VirtualBox_Extension_Pack-${VB_EXT_VER}.vbox-extpack"
SRC_PATH="http://download.virtualbox.org/virtualbox/$current_version"
PUB_KEY="oracle_vbox.asc"

# Color definitions; the variables are null if the option NOCOLOR is set.
# Thanks Skull One!

if [ -"$NOCOLOR]; then
    OKB
=$(tput bold;tput setaf 6)
    
OK=$(tput setaf 6)
    
ERRB=$(tput bold;tput setaf 1)
    
ERR=$(tput setaf 1)
    
RST=$(tput sgr0)
else
    
OKB=
    
OK=
    
ERRB=
    
ERR=
    
RST=
fi

# Need elevated permissions at some point, might as well do it now.
if [[ $EUID -ne 0 ]] ; then
    clear
       printf $OK
"You're going to need elevated permissions at some point. Let's get that out of the way now.\nUse \"sudo\" or \"su -c\"\n"$RST
       
exit 0
fi

# Release 22 or later
function get_release()
{
    
printf $OK"Checking Fedora release version... "$RST
    RELNUM
=$(rpm -qa --queryformat '%{version}\n' fedora-release)
    if [[ 
$RELNUM -lt "22" ]] ; then
        clear
        printf $ERR
"This script is for Fedora release 22 or later.\n"$RST
           
exit 0
    
else printf $OK"Fedora $RELNUM $OKB✓"$RST
fi
echo
}

# Clear screen and print a headline.
function headline()
{
    
clear
    printf $OK
"==>$OKB VirtualBox installation script for Fedora 22.\n"$RST
    printf $OK
"==>$OKB Oracle VirtualBox and Oracle VirtualBox Extension Pack will be installed.\n"$RST
    printf $OK
"==>$OKB VirtualBox release $VB_REL_VER\n"$RST
}

# Remove Oracle VirtualBox source files if they exist in the current working directory.
function remove_source()
{
    for 
i in $VBOX_SRC_FILE $VBOX_EXT_SRC $PUB_KEY; do
        
rm -f $i
    done
}

# Remove any installed version of VirtualBox.
function remove_fed_vbox()
{
VBOX_INSTALLED=$(rpm -qa grep VirtualBox)
if [[ 
$VBOX_INSTALLED ]] ; then
    printf $OK
"Removing previously installed instance of VirtualBox. Please wait..."$RST
    dnf 
--q erase $VBOX_INSTALLED 2>/dev/null
    printf $OKB
" ✓\n\n"$RST
fi
}

# Download and import the Oracle public key.
function get_public_key()
{
printf $OK"Installing the Oracle public key.\n"$RST
curl 
-Os https://www.virtualbox.org/download/$PUB_KEY
rpm --import $PUB_KEY
}

# Install Oracle VirtualBox from the downloaded source RPM.
function install_source()
{
    if [[ -
f $VBOX_SRC_FILE ]] ; then
        printf $OK
"Installing Oracle VirtualBox\n"$RST
        rpm 
-Uvh $VBOX_SRC_FILE
    
else
        
printf $ERR"The source file missing.\nThere was an error downloading the file.\n"$RST
        
exit 0
    fi
}

# Install the Oracle VirtualBox Extension Pack.
function install_extpack()
{
    if [[ -
f $VBOX_EXT_SRC ]] ; then
        
echo $OK"Installing Oracle VirtualBox extension pack."$RST
        VBoxManage extpack install 
--replace $VBOX_EXT_SRC
    
else
        
printf $ERR"Oracle VirtualBox extension pack source file missing!\n"$RST
    fi
}

# Get any Fedora packages typically needed to complete the VirtualBox installation without errors.
function get_packages()
{
printf $OK"Checking for necessary packages..."$RST
echo
NEWPKGS=""
for i in $PACKFILES ; do
    
printf $OK"==> $i: "
       
rpm -q $i > /dev/null
    
if [ $? -eq 0 ] ; then
        printf $OKB
"✓\n"$RST
    
else
        
printf $ERR"✗\n"$RST
        NEWPKGS
="${NEWPKGS} $i"
    
fi
done
if [ -"${NEWPKGS}]; then
    
echo --n $OK"==> Installing necessary packages$OKB "${NEWPKGS}"... "$RST
    dnf 
--q install ${NEWPKGS2>/dev/null
       
echo -e $OKB"\nDone installing packages.\n"$RST
else
       
printf $OK"==>$OKB Nothing new to install.\n"$RST
fi
}

# Test retrieval of any Fedora packages typically needed to complete the VirtualBox installation without errors.
function test_get_packages()
{
printf $OK"Checking for necessary packages..."$RST
echo
NEWPKGS=""
for i in $PACKFILES ; do
    
printf $OK"==> $i: "
       
rpm -q $i > /dev/null
    
if [ $? -eq 0 ] ; then
        printf $OKB
"✓\n"$RST
    
else
        
printf $ERR"✗\n"$RST
        NEWPKGS
="${NEWPKGS} $i"
    
fi
done
if [ -"${NEWPKGS}]; then
    
echo --n $OK"==> Packages that need to be installed are: $OKB "${NEWPKGS}"... "$RST
    
echo
else
       
printf $OK"==>$OKB Nothing new to install.\n"$RST
    
echo
fi
}

# Get the VirtualBox source files from Oracle
function get_source()
{
    
printf $OK"Getting the VirtualBox source RPM from the Oracle download site..."$RST
    remove_source
    curl 
-Os $SRC_PATH/$VBOX_SRC_FILE
    printf $OKB
" ✓\n"$RST
    printf $OK
"Getting the VirtualBox Extension Pack source file..."$RST
    curl 
-Os $SRC_PATH/$VBOX_EXT_SRC
    printf $OKB
" ✓\n"$RST
echo
}

# The script run has completed. Print a short message stating same.
function script_complete()
{
    
#remove_source
    
printf $OKB"Oracle VirtualBox is now installed.\n"
    
printf $OKB"Script run complete.\n"$RST
}

# The test script run has completed.
function script_test_complete()
{
    
remove_source
    printf $OKB
"This script test is now complete.\n"
    
#printf $OKB"All necessary Fedora packages are installed.\n"$RST
}

# Script execution has been cancelled by the user.
function script_cancel()
{
    
clear
    printf $OK
"Script execution cancelled.\n"$RST
}

# Testing only. Show value of all variables
function show_vars()
{
        echo
        
printf $OK"VB_REL_VER is $OKB$VB_REL_VER\n"$RST
        printf $OK
"VB_EXT_VER is $OKB$VB_EXT_VER\n"$RST
        printf $OK
"VB_REL_DIST is $OKB$VB_REL_DIST\n"$RST
        printf $OK
"VBOX_SRC_FILE is $OKB$VBOX_SRC_FILE\n"$RST
        printf $OK
"VBOX_EXT_SRC is $OKB$VBOX_EXT_SRC\n"$RST
        printf $OK
"SRC_PATH is $OKB$SRC_PATH\n"$RST
}

function 
testonly()
{
clear
printf $ERRB
"===== TEST ONLY. NO PACKAGES ARE BEING INSTALLED.=====\n"$RST
}

# Main script flow
function menu()
{
clear
headline
printf $OK
"\nFor this script to succeed you need to be running the newest available and installed kernel.\n\nIf you aren't running the newest available and installed kernel please exit this script\nand update your system. Then boot into the newest kernel and run this script again.\n"$RST
printf $OKB
"\nShall we continue? <y/n/t/v> "$RST
read yn
case $yn in
    y
)    get_release
        remove_fed_vbox
           get_packages
        get_public_key
           get_source
           install_source
           install_extpack
           script_complete
           
;;

    
n)    script_cancel
           
exit 0
           
;;
# Test menu entry used for development. End user should ignore this menu option.
# All this does is install missing packages. It also downloads VirtualBox and the Extension Pack.
    
t)     testonly
        get_release
           test_get_packages
           get_source
           script_test_complete
        
;;
# Test menu entry used for development. End user should ignore this menu option.
# All this does is show the current value of all of the variables.
    
v)  get_release
        show_vars
        
;;
    *)    
script_cancel
           
exit 0
           
;;
esac
}
menu    # Call the main menu. 
__________________
Glenn
The Bassinator
© ®
Reply With Quote
  #72  
Old 14th January 2016, 10:21 AM
romu70 Offline
Registered User
 
Join Date: Dec 2013
Location: Nantes, France
Posts: 50
linuxfedorafirefox
Re: Oracle VirtualBox installation script

Doesn't work for me Glenn, here is an extract of the output:

Code:
Installing the Oracle public key.
Getting the VirtualBox source RPM from the Oracle download site... ✓
Getting the VirtualBox Extension Pack source file... ✓

Installing Oracle VirtualBox
error: open of <html> failed: No such file or directory
error: open of <head> failed: No such file or directory
...
Reply With Quote
  #73  
Old 17th January 2016, 11:18 AM
glennzo Offline
Un-Retired Administrator
 
Join Date: Mar 2004
Location: In your closet
Posts: 15,520
linuxarchfirefox
Re: Oracle VirtualBox installation script

Did the virtuabox rpm and the extension pack download as expected? Do those files exist in your working folder?

Possible cause and solution here.
__________________
Glenn
The Bassinator
© ®
Reply With Quote
  #74  
Old 18th January 2016, 11:38 AM
romu70 Offline
Registered User
 
Join Date: Dec 2013
Location: Nantes, France
Posts: 50
linuxfedorafirefox
Re: Oracle VirtualBox installation script

Hi Glenn,
I managed to get VB thanks to another way, but here is what I remembered:
- yes, both files (VB and VB Extension Pack) did exist in my home folder
- The VB RPM was not completely downloaded, because at the script crash, the file was less than 60 kB.
Reply With Quote
  #75  
Old 19th January 2016, 04:17 AM
roundboy Offline
Registered User
 
Join Date: Dec 2004
Posts: 32
linuxchrome
Re: Oracle VirtualBox installation script

Hi Glenn,

I had 2 problems with the script, both easy to fix:

1) I cut and past of the script into a 22_oracle_virtualbox.sh file using gedit. The copy included a space at the end of each line. For some reason COMMENT didn't like this. I do not know why. All I did was remove the spaces at the end of lines 11 thru 21.

2) The invocation of curl on line 33 is causing a problem. The copy expands the link's markup. I took out the {url} and {/url} and the script worked for me.

I had fun debugging this script. I haven't done this in at least 10 years and I now know how the rust builds up in the brain.

Great script. Works great. Thanks.

Dave

Last edited by roundboy; 19th January 2016 at 04:37 PM. Reason: markup converted
Reply With Quote
Reply

Tags
installation, oracle, script, virtualbox

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
oracle virtualbox not working pythonkr11 Wibble 1 7th September 2012 07:48 PM
oracle virtualbox not working pythonkr11 Fedora Focus 1 7th September 2012 07:20 PM
Oracle Virtualbox clueless Using Fedora 5 17th May 2011 10:39 AM
[SOLVED] oracle vm virtualbox postmanpat Using Fedora 5 24th November 2010 11:51 AM
Update Oracle VM VirtualBox error JValeck Using Fedora 2 12th October 2010 05:42 AM


Current GMT-time: 22:21 (Sunday, 28-05-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat