Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@momh167-gjp4-hpelitebook8570p-freebsd:/usr/local/poudriere/ports/freebsd-ports-kde # pkg-static install -r trueos-packages virtualbox-ose virtualbox-ose-kmod
- Updating trueos-packages repository catalogue...
- trueos-packages repository is up to date.
- All repositories are up to date.
- The following 2 package(s) will be affected (of 0 checked):
- New packages to be INSTALLED:
- virtualbox-ose: 5.1.26_1 [trueos-packages]
- virtualbox-ose-kmod: 5.1.26 [trueos-packages]
- Number of packages to be installed: 2
- The process will require 410 MiB more space.
- 96 MiB to be downloaded.
- Proceed with this action? [y/N]: y
- [1/2] Fetching virtualbox-ose-5.1.26_1.txz: 100% 96 MiB 877.6kB/s 01:55
- [2/2] Fetching virtualbox-ose-kmod-5.1.26.txz: 100% 122 KiB 125.1kB/s 00:01
- Checking integrity... done (0 conflicting)
- [1/2] Installing virtualbox-ose-kmod-5.1.26...
- [1/2] Extracting virtualbox-ose-kmod-5.1.26: 100%
- kldload_vbox: vboxdrv -> vboxdrv
- vboxnet_enable: YES -> YES
- kldload: an error occurred while loading module vboxdrv. Please check dmesg(8) for more details.
- /usr/local/etc/rc.d/vboxnet: WARNING: Can't load vboxdrv module.
- /bin/sh: rc-update: not found
- [2/2] Installing virtualbox-ose-5.1.26_1...
- ===> Creating groups.
- Using existing group 'vboxusers'.
- ===> Creating users
- Using existing user 'vboxusers'.
- Extracting virtualbox-ose-5.1.26_1: 100%
- Message from virtualbox-ose-5.1.26_1:
- =============================================================================
- VirtualBox was installed.
- You need to load the vboxdrv kernel module via /boot/loader.conf:
- vboxdrv_load="YES"
- You also have to add all users to your vboxusers group in order to use vbox.
- % pw groupmod vboxusers -m jerry
- Reboot the machine to load the needed kernel modules.
- Bridging Support:
- =================
- For bridged networking please add the following line to your /etc/rc.conf:
- vboxnet_enable="YES"
- USB Support:
- ============
- For USB support your user needs to be in the operator group and needs read
- and write permissions to the USB device.
- % pw groupmod operator -m jerry
- Add the following to /etc/devfs.rules (create if it doesn't exist):
- [system=10]
- add path 'usb/*' mode 0660 group operator
- To load these new rule add the following to /etc/rc.conf:
- devfs_system_ruleset="system"
- Then restart devfs to load the new rules:
- % /etc/rc.d/devfs restart
- Troubleshooting:
- ================
- Running VirtualBox as non-root user may fail with a fatal error
- NS_ERROR_FACTORY_NOT_REGISTERED. In this case delete /tmp/.vbox-*-ipc file.
- If you experience "Network: write Failed: Cannot allocate memory" errors
- try to increase net.graph.maxdata in /boot/loader.conf
- Check wiki page for known issues and troubleshooting:
- http://wiki.freebsd.org/VirtualBox
- Please report any problems to emulation@. Thanks!
- =============================================================================
- root@momh167-gjp4-hpelitebook8570p-freebsd:/usr/local/poudriere/ports/freebsd-ports-kde # git pull
- Already up-to-date.
- root@momh167-gjp4-hpelitebook8570p-freebsd:/usr/local/poudriere/ports/freebsd-ports-kde # cd
- root@momh167-gjp4-hpelitebook8570p-freebsd:~ # exit
- logout
- [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% date ; uname -v
- Sun 15 Oct 2017 12:49:29 BST
- FreeBSD 12.0-CURRENT #0 r320869: Mon Jul 10 13:57:55 UTC 2017 [email protected]:/usr/obj/usr/src/sys/GENERIC
- [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% pkg -vv | grep -A 100 Repositories\:
- Repositories:
- FreeBSD: {
- url : "pkg+http://pkg.FreeBSD.org/FreeBSD:12:amd64/latest",
- enabled : yes,
- priority : 0,
- mirror_type : "SRV",
- signature_type : "FINGERPRINTS",
- fingerprints : "/usr/share/keys/pkg"
- }
- area51: {
- url : "http://meatwad.mouf.net/rubick/poudriere/packages/head-amd64-kde",
- enabled : yes,
- priority : 5
- }
- poudriere: {
- url : "file:///usr/local/poudriere/data/packages/current-freebsd-ports-kde",
- enabled : yes,
- priority : 7,
- mirror_type : "SRV"
- }
- trueos-base: {
- url : "http://pkg.cdn.trueos.org/unstable/amd64-base/",
- enabled : no,
- priority : 0
- }
- trueos-packages: {
- url : "http://pkg.cdn.trueos.org/packages/unstable/amd64/",
- enabled : yes,
- priority : 0
- }
- [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% kldstat | grep -i vb
- [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% virtualbox
- VirtualBox: Error -610 in supR3HardenedMainInitRuntime!
- VirtualBox: dlopen("/usr/local/lib/virtualbox/VBoxRT.so",) failed: Shared object "libssl.so.44" not found, required by "VBoxRT.so"
- VirtualBox: Tip! It may help to reinstall VirtualBox.
- [grahamperrin@momh167-gjp4-hpelitebook8570p-freebsd] ~% su -
- Password:
- root@momh167-gjp4-hpelitebook8570p-freebsd:~ # pkg remove virtualbox-ose virtualbox-ose-kmod
- Checking integrity... done (0 conflicting)
- Deinstallation has been requested for the following 2 packages (of 0 packages in the universe):
- Installed packages to be REMOVED:
- virtualbox-ose-5.1.26_1
- virtualbox-ose-kmod-5.1.26
- Number of packages to be removed: 2
- The operation will free 410 MiB.
- Proceed with deinstalling packages? [y/N]: y
- [1/2] Deinstalling virtualbox-ose-5.1.26_1...
- [1/2] Deleting files for virtualbox-ose-5.1.26_1: 100%
- ==> You should manually remove the "vboxusers" user.
- ==> You should manually remove the "vboxusers" group
- [2/2] Deinstalling virtualbox-ose-kmod-5.1.26...
- [2/2] Deleting files for virtualbox-ose-kmod-5.1.26: 100%
- root@momh167-gjp4-hpelitebook8570p-freebsd:~ # nano /usr/local/etc/pkg/repos/trueos-packages.conf
Add Comment
Please, Sign In to add comment