- Timestamp:
- Oct 7, 2015 12:49:43 PM (9 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/main.cpp
r57984 r58090 103 103 "there is a permission problem with /dev/vboxdrv. Please reinstall the kernel " 104 104 "module by executing<br/><br/>" 105 " <font color=blue>'/sbin/ rcvboxdrv setup'</font><br/><br/>"105 " <font color=blue>'/sbin/vboxconfig'</font><br/><br/>" 106 106 "as root. If it is available in your distribution, you should install the " 107 107 "DKMS package first. This package keeps track of Linux kernel changes and " … … 120 120 "VirtualBox. The installation of VirtualBox was apparently not " 121 121 "successful. Executing<br/><br/>" 122 " <font color=blue>'/sbin/ rcvboxdrv setup'</font><br/><br/>"122 " <font color=blue>'/sbin/vboxconfig'</font><br/><br/>" 123 123 "may correct this. Make sure that you do not mix the " 124 124 "OSE version and the PUEL version of VirtualBox." -
trunk/src/VBox/Installer/linux/VBox.sh
r57984 r58090 41 41 load. Please recompile the kernel module and install it by 42 42 43 sudo /sbin/ rcvboxdrv setup43 sudo /sbin/vboxconfig 44 44 45 45 You will not be able to start VMs until this problem is fixed. … … 49 49 WARNING: The character device /dev/vboxdrv does not exist. Try 50 50 51 sudo /sbin/ rcvboxdrv restart51 sudo /sbin/vboxconfig 52 52 53 53 and if that is not successful, try to re-install the package. -
trunk/src/VBox/Installer/linux/debian/postinst.in
r57986 r58090 83 83 84 84 if test "${INSTALL_NO_VBOXDRV}" = 1; then 85 POSTINST_START= 85 POSTINST_START=--nostart 86 86 # if INSTALL_NO_VBOXDRV is set to 1, remove all shipped modules 87 87 if [ "$1" = "configure" ]; then … … 92 92 fi 93 93 else 94 POSTINST_START= --start94 POSTINST_START= 95 95 # Disable module compilation with INSTALL_NO_VBOXDRV=1 in /etc/default/virtualbox 96 96 if [ ! -f /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then … … 102 102 though module compilation denied by debconf setting. 103 103 EOF 104 POSTINST_START= 104 POSTINST_START=--nostart 105 105 else 106 106 db_input low virtualbox/module-compilation-allowed || true … … 108 108 db_get virtualbox/module-compilation-allowed 109 109 if [ "$RET" = "false" ]; then 110 POSTINST_START= 110 POSTINST_START=--nostart 111 111 fi 112 112 fi … … 117 117 # Install and start the new service scripts. 118 118 /usr/lib/virtualbox/prerm-common.sh || true 119 /usr/lib/virtualbox/postinst-common.sh /usr/lib/virtualbox "${POSTINST_START}"> /dev/null || true119 /usr/lib/virtualbox/postinst-common.sh ${POSTINST_START} > /dev/null || true 120 120 121 121 exit 0 -
trunk/src/VBox/Installer/linux/debian/templates
r57984 r58090 17 17 by 'uname -r') and execute 18 18 19 /sbin/ rcvboxdrv setup19 /sbin/vboxconfig 20 20 21 21 as root. … … 28 28 'uname -r' herausfinden können) und führen Sie danach 29 29 30 /sbin/ rcvboxdrv setup30 /sbin/vboxconfig 31 31 32 32 mit Root-Rechten aus. … … 46 46 build the module later by executing 47 47 48 /sbin/ rcvboxdrv setup48 /sbin/vboxconfig 49 49 50 50 as root. … … 60 60 später compilieren, indem Sie 61 61 62 /sbin/ rcvboxdrv setup62 /sbin/vboxconfig 63 63 64 64 mit Root-Rechten ausführen. … … 72 72 of the module later by executing 73 73 74 /sbin/ rcvboxdrv setup74 /sbin/vboxconfig 75 75 76 76 as root. … … 80 80 des Kernmoduls können Sie später durch 81 81 82 /sbin/ rcvboxdrv setup82 /sbin/vboxconfig 83 83 84 84 erzwingen. -
trunk/src/VBox/Installer/linux/install.sh
r57986 r58090 367 367 # script set-up. 368 368 if test "${BUILD_MODULE}" = "true"; then 369 START_SERVICES= "--start"369 START_SERVICES= 370 370 else 371 START_SERVICES= 372 fi 373 ./postinst-common.sh "${INSTALLATION_DIR}" "${START_SERVICES}">> "${LOG}"371 START_SERVICES="--nostart" 372 fi 373 "${INSTALLATION_DIR}/postinst-common.sh" ${START_SERVICES} >> "${LOG}" 374 374 375 375 info "" … … 380 380 info "VirtualBox has been installed successfully, but the kernel module could not" 381 381 info "be built. When you have fixed the problems preventing this, execute" 382 info " /sbin/ rcvboxdrv setup"382 info " /sbin/vboxconfig" 383 383 info "as administrator to build it." 384 384 fi -
trunk/src/VBox/Installer/linux/postinst-common.sh
r57969 r58090 27 27 . "./routines.sh" 28 28 29 START= 30 TARGET= 31 for i in "$@" 32 do 33 case "${i}" in 34 --start) 35 START=true 29 START=true 30 TARGET="${MY_PATH}" 31 while test -n "${1}"; do 32 case "${1}" in 33 --nostart) 34 START= 36 35 ;; 37 36 *) 38 if test -z "${TARGET}" && test -d "${i}"; then 39 TARGET="${i}" 40 else 41 echo "Bad argument ${i}" >&2 42 exit 1 43 fi 37 echo "Bad argument ${1}" >&2 38 exit 1 44 39 ;; 45 40 esac 41 shift 46 42 done 47 48 if test -z "${TARGET}"; then49 echo "$0: no installation target specified." >&250 exit 151 fi52 43 53 44 # Remove any traces of DKMS from previous installations. … … 71 62 addrunlevel vboxweb-service 72 63 64 ln -sf "${MY_PATH}/postinst-common.sh" /sbin/vboxconfig 65 73 66 test -n "${START}" && 74 67 { -
trunk/src/VBox/Installer/linux/prerm-common.sh
r57969 r58090 58 58 delrunlevel vboxnet 2>/dev/null 59 59 remove_init_script vboxnet 2>/dev/null 60 rm -f /sbin/vboxconfig 60 61 exit 0 -
trunk/src/VBox/Installer/linux/rpm/VirtualBox.tmpl.spec
r58010 r58090 291 291 # Disable module compilation with INSTALL_NO_VBOXDRV=1 in /etc/default/virtualbox 292 292 if test "${INSTALL_NO_VBOXDRV}" = 1; then 293 POSTINST_START= 293 POSTINST_START=--nostart 294 294 if lsmod | grep -q "vboxdrv[^_-]"; then 295 295 /usr/lib/virtualbox/vboxdrv.sh stop || true … … 301 301 rm -f /lib/modules/*/misc/vboxpci.ko 302 302 else 303 POSTINST_START= --start303 POSTINST_START= 304 304 if [ ! -f /lib/modules/`uname -r`/misc/vboxdrv.ko ]; then 305 305 # compile problem … … 313 313 # Install and start the new service scripts. 314 314 /usr/lib/virtualbox/prerm-common.sh || true 315 /usr/lib/virtualbox/postinst-common.sh /usr/lib/virtualbox "${POSTINST_START}"> /dev/null || true315 /usr/lib/virtualbox/postinst-common.sh ${POSTINST_START} > /dev/null || true 316 316 317 317 -
trunk/src/VBox/VMM/VMMR3/VM.cpp
r57984 r58090 316 316 "that no kernel modules from an older version of VirtualBox exist. " 317 317 "Then try to recompile and reload the kernel modules by executing " 318 "'/sbin/ rcvboxdrv setup' as root");318 "'/sbin/vboxconfig' as root"); 319 319 break; 320 320 #endif … … 382 382 "was either not loaded or /dev/vboxdrv is not set up properly. " 383 383 "Re-setup the kernel module by executing " 384 "'/sbin/ rcvboxdrv setup' as root");384 "'/sbin/vboxconfig' as root"); 385 385 #else 386 386 pszError = N_("VirtualBox kernel driver not loaded"); … … 424 424 "was either not loaded or /dev/vboxdrv was not created for some " 425 425 "reason. Re-setup the kernel module by executing " 426 "'/sbin/ rcvboxdrv setup' as root");426 "'/sbin/vboxconfig' as root"); 427 427 #else 428 428 pszError = N_("VirtualBox kernel driver not installed");
Note:
See TracChangeset
for help on using the changeset viewer.