From 9b3baec917e4abf94f59d4e986a094403b715642 Mon Sep 17 00:00:00 2001 From: varialus Date: Thu, 13 Sep 2012 09:30:44 -0700 Subject: [PATCH] Added notes about building and half installing guest additions on GhostBSD as preparation for dfly port. --- varialus/index.mdwn | 54 +++++++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 24 deletions(-) diff --git a/varialus/index.mdwn b/varialus/index.mdwn index 3c81397b..c5d884dd 100644 --- a/varialus/index.mdwn +++ b/varialus/index.mdwn @@ -724,32 +724,38 @@ Tested in DragonFly 3.0.2. - [X] X11 X11 support (graphics) - < OK > - Highlight < OK > and press enter. - - Get an error that it can't download ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/VirtualBox-4.1.22.tar.bz2 - - Sure enough, that file doesn't exist, but that directory does have version 4.1.20, with a date of 8/24/2012, so hopefully the new version will be uploaded soon. - - I have asked the FreeBSD VirtualBox folks on IRC when it's expected or how is best to proceed. Idly awaiting their reply. - - Here's the error in case you're curious. - - ===> License GPLv2 accepted by the user - ===> Found saved configuration for virtualbox-ose-additions-4.1.22 - => VirtualBox-4.1.22.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/. - => Attempting to fetch http://download.virtualbox.org/virtualbox/4.1.22/VirtualBox-4.1.22.tar.bz2 - fetch: http://download.virtualbox.org/virtualbox/4.1.22/VirtualBox-4.1.22.tar.bz2: Moved Temporarily - => Attempting to fetch http://tmp.chruetertee.ch/VirtualBox-4.1.22.tar.bz2 - fetch: http://tmp.chruetertee.ch/VirtualBox-4.1.22.tar.bz2: Not Found - => Attempting to fetch http://disasterarea.chruetertee.ch/VirtualBox-4.1.22.tar.bz2 - fetch: http://disasterarea.chruetertee.ch/VirtualBox-4.1.22.tar.bz2: Not Found - => Attempting to fetch ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/VirtualBox-4.1.22.tar.bz2 - fetch: ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/distfiles/VirtualBox-4.1.22.tar.bz2: File unavailable (e.g., file not found, no access) - => Couldn't fetch it - please try to retrieve this - => port manually into /usr/ports/distfiles/ and try again. - *** [do-fetch] Error code 1 - - Stop in /usr/ports/emulators/virtualbox-ose-additions. - *** [install] Error code 1 + - The first time I ran this I got a missing dependency error because there had been a minor version update recently. The dependency error was fixed a few hours later. Right after that, the official version of 4.2 was released. To see the original error error, see the edit from 01:48:39 09/13/12. + - The following console dialog will be be displayed. + - Options for help2man1.40.11 + - [X] NLS Native Language Support + - < OK > + - Highlight < OK > and press enter. + - The following console dialog will be be displayed. + - Options for m4 1.4.16_1,1 + - [ ] LIBSIGSEGV Use libsigsegv for better diagnostics + - < OK > + - Highlight < OK > and press enter. + - Wait for a little while until it successfully finishes. + - Restart virtual machine. (This probably wasn't needed yet.) + - Screen resolution increased, but no mouse integration nor copy and paste. Host is Debian Squeeze. + - ee /etc/rc.conf (as root) + - Add the following lines - Stop in /usr/ports/emulators/virtualbox-ose-additions. - root@ghostbsd:/usr/ports/emulators/virtualbox-ose-additions # + vboxguest_enable="YES" + vboxservice_enable="YES" + - The notes at the URL above mention adding lines to xorg.conf for mouse integration, but I didn't see an xorg.conf in /etc/X11 or in /etc so I skipped this step for now. + - The notes also mentioned creating a file for HAL users or copying it, but I didn't see a file at /usr/local/share/hal/fdi/policy/10osvendor/90-vboxguest.fdi so I am skipping this step for the moment. + - Restart. + - I just noticed that the lines had already been added to /etc/rc.conf, so I removed the extra ones that I had added. + - Changed to terminal without X server. Host+F2 in VirtualBox, Ctrl-Alt-F2 on hardware. + - Log in as root. + - The following didn't work. + - killall -9 gdm gdm-binary Xorg + - Xorg -configure + - Xorg -config /root/xorg.conf.new + - X started with black screen, no mouse. + - I've run out of time to look into this at the moment. I'll return to it later. - Build VirtualBox - Initialize build environment (See above) - Build Guest Additions -- 2.41.0