# et # Anisoptera *The following is an unpaid personal wiki page. The views and opinions expressed herein do not necessarily reflect those of the DragonFly BSD mascot nor its management.* ## Table of Contents 1. **Featured** * Walkthrough of Xfce 4.6 Installation via Custom DVD/IMG Installer 2. **Tidbits** * Hammer * DragonFly BSD * Xfce * Dissonance/Apache Harmony * Jython/Python * ee/nano * pkgin/apt-get 3. **Reminders** * DNS Settings in Debian Squeeze * Shutdown command in DragonFly BSD 4. **Issues** * Disclaimer * Default GUI Too Bare * Early Keyboard Selection * GUI Keyboard Selection * Encryption Keyboard Selection * Disabled Caps Lock in GUI * Random Key for Encrypted Swap * Stay Decrypted for Configuration * No Confirmation for Decryption * Plain Text Password in Install Log * USB Installation Media Named Uniquely * 3TB+ HD Install * Overwrite 3TB+ Partition Table * Lackluster Default Shell * Wiki Centered Text * XOrg Quit Errors 5. **Workarounds** * Enable Caps Lock in GUI * Install Non-GUI on 3TB+ Hard Drive * Install Xfce 4.6 (Notes) * Install Xfce 4.8 (Stub) * Install Xfce 4.10 (Stub) * Set GUI Keyboard Layout 5. **Contribute** * Port VirtualBox to DragonFly BSD * Port Xfce 4.10 to DragonFly BSD * DragonFly BSD Network Shares Walkthrough * Port bxpkg to DragonFly BSD ## Featured **Walkthrough of Xfce 4.6 Installation via Custom DVD/IMG Installer** There is a new [Xfce based DVD/IMG installer](http://island.quantumachine.net/~swildner/LiveDVD/x86_64/) which is built by [one of](http://leaf.dragonflybsd.org/mailarchive/users/2012-07/msg00123.html) the [DragonFly BSD team members](http://www.dragonflybsd.org/team/). As far as I can tell it is functionally identical to the official GUI installer except that it includes the Xfce 4.6 desktop environment rather than the FVWM window manager. Please help test it out so that we can hopefully get it included in the next stable release! 1. Download and extract the [Xfce installer](http://island.quantumachine.net/~swildner/LiveDVD/). 2. If the version of the installer is less than or equal to 20120826-2055, then installing onto a uniprocessor computer may not work. 3. If installng onto a VirtualBox virtual machine, the recommended operating system type is FreeBSD (64 bit). 4. If installing onto a VirtualBox virtual machine, set the hardware clock to UTC time. 5. After starting the computer but before it finishes booting, you will be greeted with the following boot menu. DragonFly/i386 bootstrap loader, Revision 1.1 (s@advancer.yo, Sun Aug 26 21:24:11 CEST 2012) | 1. Boot DragonFly [kernel] | ,--, | ,--, 2. Boot DragonFly in Safe Mode | | `-, ,^, ,-' | 3. Boot DragonFly without AHCI driver | `, `-, (/ \) ,-' ,' 4. Boot DragonFly without ACPI driver | `-, `-,/ \,-' ,-' 9. Escape to loader prompt (also ESC) | `------( )------' s. Boot DragonFly in single user mode | ,----------( )----------, v. Boot DragonFly with verbose logging | | _,-( )-,_ | R. Reboot | `-,__,-' \ / `-,__,-' | | | | | | | | | | | | | | | | | | | `|' | Booting in 10 seconds... _ 6. After the computer finishes booting, you will be greeted with the following welcome message and login prompt. Welcome to DragonFly! To Start the installer, login as 'installer'. To just get a shell prompt, login as 'root'. To start a root gui, login as 'root' and run 'startx'. DragonFly/x86_64 (dflyd.yo) (ttyv0) login: _ 7. Type 'installer' without quotes and press enter. 8. You will be greeted with the following menu. F10=Refresh Display . . ,--, | ,--, . ------------------------| Welcome to DragonFly BSD |------------------------- . | |. | Welcome to the DragonFly BSD Live CD. |. | |. | DragonFly BSD is an efficient and elegant BSD Unix-derived operating |. | system. For more information, see http://www.dragonflybsd.org |. | |. | From this CD, you can boot into DragonFly BSD ``live'' (without installing |. | it) to evaluate it, to install it manually, or to troubleshoot problems |. | with an existing installation, using either a command prompt or menu-driven |. | utilities. |. | |. | Also, you can use this automated application to assist you in installing |. | DragonFly BSD on this computer and configuring it once it is installed. |. | |. | < Install DragonFly BSD >_ < Configure an Installed System > |. | < Live CD Utilities > < Exit to Live CD > < Reboot this Computer > |. | < Setup NetBoot Install Services > |. ----------------------------------------------------------------------------- . . . Install DragonFly BSD on a HDD or HDD partition on this computer . 10. The bottom line changes depending on which option is selected. 11. Highlight the option < Install DragonFly BSD > and press enter. 12. You will then be greeted by the following menu. F10=Refresh Display . . ,--, | ,--, . | `-, ,^, ,-' | . `, `-, (/ \) ,-' ,' . --------------------------| Begin Installation |----------------------------- . | |. | This application will install DragonFly BSD on one of the hard disk drives |. | attached to this computer. It has been designed to make it easy to install |. | DragonFly BSD in the typical case. If you have special requirements that |. | are not addressed by this installer, or if you have problems using it, you |. | are welcome to install DragonFly BSD manually. To do so select Exit to Live |. | CD, login as root, and follow the instructions given in the file /README . |. | |. | NOTE! As with any installation process, YOU ARE STRONGLY ENCOURAGED TO BACK |. | UP ANY IMPORTANT DATA ON THIS COMPUTER BEFORE PROCEEDING! |. | |. | < Install DragonFly BSD >_ < Return to Welcome Menu > < Exit to Live CD > |. ----------------------------| Press F1 for Help |---------------------------- . . . . . . . . 13. Highlight the option < Install DragonFly BSD > and press enter. 14. The following menu, specific to your hardware, will be displayed. F10=Refresh Display . . ,--, | ,--, . | `-, ,^, ,-' | . `, `-, (/ \) ,-' ,' . `-, `-,/ \,-' ,-' . `------( )------' . ,----------( )----------, . | _,-( )-,_ | . ----------------------| Select Disk |----------------------,__,-' . | | . | Select a disk on which to install DragonFly BSD | . | | . | < ad1: 1337TB at ata0-master UDMA33 >_| . | < Return to Begin Installation > | . ----------------------------------------------------------- . `|' . . . . . . . . . 15. Highlight the disk on which to install DragonFly BSD and press Enter. 16. The following menu will be displayed. F10=Refresh Display . . ,--, | ,--, . | `-, ,^, ,-' | . `, `-, (/ \) ,-' ,' . `-, `-,/ \,-' ,-' . `------( )------' . ,----------( )----------, . ----------------------------| Select Disk |---------------------- | . | |' . | Select how much of this disk you want to use for DragonFly BSD | . | | . | ad1: 1337TB at ata0-master UDMA33 | . | | . | < Use Entire Disk >_ < Use Part of Disk > | . | < Return to Select Disk > | . ----------------------------------------------------------------- . . . . . . . . . 17. If you would like to use your entire disk, then highlight < Use Entire Disk > and press enter. 18. The following menu will be displayed. F10=Refresh Display . . ,--, | ,--, . | `-, ,^, ,-' | . ------| Are you absolutely sure? |------/ \) ,-' ,' . | | \,-' ,-' . | WARNING! ALL data in ALL partitions on | )------' . | the disk | )----------, . | | )-,_ | . | ad1: 1337TB at | / `-,__,-' . | ata0-master UDMA33 | | . | | | . | will be IRREVOCABLY ERASED! | | . | | | . | Are you ABSOLUTELY SURE you wish to | | . | take this action? This is your LAST | | . | CHANCE to cancel! ||' . | | . | < OK >_ < Cancel > | . ---------------------------------------- . . . . . . 19. If you are absolutely sure, highlight < OK > and press enter. 20. The following menu will be displayed. F10=Refresh Display . . ,--, | ,--, . | `-, ,^, ,-' | . `, `-, (/ \) ,-' ,' . `-, `-,/ \,-' ,-' . `------( )------' . ---------| Information |-------------( )----------, . | |( )-,_ | . | The disk |\ / `-,__,-' . | | | | . | ad1: 1337TB at | | | . | ata0-master UDMA33 | | | . | | | | . | was formatted. | | | . | | | | . | < OK > | `|' . ------------------------------------ . . . . . . . . 21. Press enter. 22. The following menu will be displayed. F10=Refresh Display . . ,--, | ,--, . | `-, ,^, ,-' | . `, `-, (/ \) ,-' ,' . `-, `-,/ \,-' ,-' . `------( )------' . -----------------| Select file system |------------------------, . | | | . | Please select the file system you want to use with |,__,-' . | DragonFly BSD. | . | | . | HAMMER is the new DragonFly BSD file system. UFS is the | . | traditional BSD file system. | . | | . | < Use HAMMER >_ < Use UFS > < Return to Select Disk > | . --------------------------------------------------------- . . . . . . . . . 23. If you want to use HAMMER, and honestly why wouldn't you, then highlight HAMMER and press enter. 24. The following menu will be displayed. F10=Refresh Display . . ,--, | ,--, . --------------------| Create Subpartitions |--------------------- | . | | ,' . | Set up the partitions (also knows as just `partitions' in |' . | BSD tradition) you want to have on this primary partition. In | . | most cases you should be fine with the default settings. |-, . | | | . | For Capacity, use 'M' to indicate megabytes, 'G' to indicate |-' . | gigabytes, or a single '*' to indicate 'use the remaining space | . | on the primary partition'. | . | | . | Mountpoint Capacity Encrypted | . | [/boot_ ] [768M ] [ ] < Ins > < Del > | . | [swap ] [2048M ] [ ] < Ins > < Del > | . | [/ ] [* ] [ ] < Ins > < Del > | . | < Add > | . | | . | < Accept and Create > < Return to Select Disk > | . -------------------| Press F1 for Help |------------------------- . . . . . 25. Highlight < Accept and Create > and press enter. 26. The following menu will be displayed. F10=Refresh Display . . ,--, | ,--, . | `-, ,^, ,-' | . `, `-, (/ \) ,-' ,' . `-, `-,/ \,-' ,-' . -------------------------| Install OS |-------------------------- . | |-, . | Everything is now ready to install the actual files which | | . | comprise the DragonFly BSD operating system on the selected |-' . | partition of the selected disk. | . | | . | Note that this process will take quite a while to finish. You | . | may wish to take a break now and come back to the computer in a | . | short while. | . | | . | < Begin Installing Files >_ < Return to Create Subpartitions > | . ----------------------------------------------------------------- . . . . . . . . . 27. Highlight < Begin Installing Files > and press enter. 28. The following progress bar will be displayed. F10=Refresh Display . . ,--, | ,--, . | `-, ,^, ,-' | . `, `-, (/ \) ,-' ,' . `-, `-,/ \,-' ,-' . `------( )------' . ,----------( )----------, . -------------------| Executing Commands |------------------- | . | |_,-' . | /bin/cpdup -o -vvv -u /usr/pkg /mnt/usr/pkg | . | | . | [*#################58%# ] | . | | . | < Cancel >_ | . ------------------------------------------------------------ . `|' . . . . . . . . . 29. Go brush your teeth. And don't forget to floss. 30. When it finishes, the following menu will be displayed. F10=Refresh Display . . ,--, | ,--, . | `-, ,^, ,-' | . ---------------| Install Bootblock(s) |----------------,-' ,' . | | ,-' . | You may now wish to install bootblocks on one or more |--' . | disks. If you already have a boot manager installed, |------, . | you can skip this step (but you may have to configure | | . | your boot manager separately.) If you installed |-,__,-' . | DragonFly BSD on a disk other than your first disk, | . | you will need to put the bootblock on at least your | . | first disk and the DragonFly disk. | . | | . | Disk Drive Install Bootblock? Packet Mode? | . | [ad1_ ] [X] [X] | . | | . | < Accept and Install Bootblocks > | . | < Skip this Step > | . -----------------| Press F1 for Help |----------------- . . . . . The disk on which you wish to install a bootblock . 31. Highlight < Accept and Install Bootblocks > and press enter. 32. An Information dialog box will be displayed which says: Bootblocks were successfully installed! 33. Press enter. 34. The following menu will be displayed. ---| DragonFly BSD is Installed! |-- | | Congratulations! | | DragonFly BSD has successfully been installed on this computer. | You may now proceed to configure the installation. Alternately, | you may wish to reboot the computer and boot into the installed | system to confirm that it works. | | < Configure this System >_ < Reboot > | < Return to Welcome Menu > --- 35. Highlight < Configure this System > and press enter. 36. The following menu will be displayed. ---| Configure an Installed System |-- | | The options on this menu allow you to | configure a DragonFly BSD system after | it has already been installed. | < Select timezone >_ | < Set date and time > | < Set keyboard map > | < Set root password > | < Add a user > | < Configure network interfaces > | < Configure hostname and domain > | < Set console font > | < Set screen map > | < Remove software packages > | < Return to Welcome Menu > --- 37. Highlight < Select timezone > and press enter. (The only purpose of this line is to reduce the indentation of the following bullet points.) * Highlight < Set keyboard map > and press enter. * Highlight < Set root password > and press enter. * changeme * Highlight < Add a user > and press enter. * Password: changeme * Highlight < Configure network interfaces > and press enter. * Highlight < Configure hostname and domain > and press enter. * Highlight < Return to Welcome Menu > and press enter. * Highlight < Reboot this Computer > and press enter. * Highlight < Reboot > and press enter. * Remove installation media. * The operating system has halted. * Please press any key to reboot. * Log in as root. * Change password. * ee /etc/hosts * # Replace hostname and domain with the ones that you chose during configuration. * ::1 localhost hostname.domain * 127.0.0.1 localhost hostname.domain * Ctrl-[ * a) leave editor * a) save changes * exit * Log in as user. * Change password. * startxfce4 (I think that running startx from the root user starts Xfce, but running it from a regular user starts the non-Xfce GUI.) ## Tidbits * **Hammer** is hands down the best file system currently in existence. It has block level deduplication, it is supported out of the box by operating system with great underpinnings, and it runs great on regular hardware. * **DragonFly BSD** is an awesome operating system for many reasons other than that it's the only OS with Hammer, but Hammer is why I'm making the switch. DragonFly's default GUI configuration is a bit rough around the edges for everyday use. But it's nothing that a little ironing can't fix. * **[Xfce](http://xfce.org/)** is a lightweight yet feature rich desktop environment. It has maintains an excellent balance between [innovation and compatibility](http://lwn.net/Articles/430598/). * **[Dissonance](https://bitbucket.org/varialus/dissonance)** is my fork of Apache Harmony, which is a clean room implementation of Java with a permissive license. Sun and now Oracle refuse to license the TCK, a tool used to validate Java compatibility, for use with Harmony. As a result of the dissonance caused by this refusal to cooperate with the community, Apache retired Harmony and resigned from the Java Community Process Executive Committee. I would have preferred for Apache and the community to have instead just written their own TCK, but I don't know what effects the dissonance had on their organization and it was their decision to make, so I can't blame them. It's unfortunate that such a great project has been effectively abandoned, and so it it is with that in mind that I call on the community to support Dissonance; make your own TCK and make it so much better so as to make passing Oracle's TCK effectively meaningless. * **[Jython](http://www.jython.org/)** is Python written in Java. It's not included in DragonFly BSD by default, but it's a great tool and I use it. * **ee** is roughly equivalent to **nano**. They are both easy to use command line text editors. The exit option will ask you whether you want to save. You can get to the exit confirmation by pressing Ctrl-[ and selecting 'a) leave editor'. * **pkgin** is roughly equivalent to **apt-get**. They are both fairly straightforward command line package management utilities. ## Reminders * If NetworkManager Applet is installed, use it to override an unreliable DNS server rather than editing /etc/resolv.conf directly. Observed in NetworkManager 0.8.1 on Debian Squeeze. * In DragonFly BSD the command *shutdown -p now* will shutdown and turn off your computer. Using the -h switch instead of -p will shutdown and halt the computer but not turn it off. In Debian and probably other Linux distributions, the command *shutdown -h now* will shutdown and turn off your computer. The -p switch isn't available, but there may be a way to shutdown and halt without turning off your computer. ## Issues * Varialus should ensure that these issues are properly logged. Yes, I know that they should be properly logged and I intend to eventually get them all logged. In the mean time hopefully my notes will help someone still trying to find the answers to life's persistent questions. * The installer should offer the Xfce desktop environment as a supported option. Observed in DragonFly 3.0.2. See workaround below. * The installer should set the keyboard layout before any typing is required. Observed in DragonFly 3.0.2. * The installer should set the keyboard layout for the GUI. Observed in DragonFly 3.0.2. See workaround below. * The installer should set the keyboard layout for the encryption password prompt. Observed in DragonFly 3.0.2. * The installer should configure the keyboard within the GUI to be able to use the caps lock key. Observed in DragonFly 3.0.2. See workaround below. * When encrypting the swap partition, the installer should configure the boot loader to generate a random key each time the system is booted so that the password doesn't have to be typed twice when the system is booted. Observed in DragonFly 3.0.2. * When configuring the system from the installer, if the system just finished installing with encryption, the hard drive should stay unlocked so that the user doesn't have to type in his password again. Observed in DragonFly 3.0.2. * When configuring the system from the installer, if the system is encrypted but was not just barely installed, the user should only have to type in his password once, not twice. Observed in DragonFly 3.0.2. * When creating a user password in the installer, the password should not be written to a plain text installation log. Observed in DragonFly BSD 3.0.2. * When installing from a USB device onto a USB device, the installer should ensure that installed media is named such that when booted without the USB installer, the installed device name doesn't change. Observed in DragonFly 3.0.2. * When installing onto a 3TB+ hard drive, the default partition table should be able to handle that size. Observed in DragonFly 3.0.2. Fixed and tested in snapshot on 8/14/2012. See workaround below. * After selecting to install using all of a 3TB+ hard drive that already has an MS-DOS/MBR partition table on it, the installer should overwrite the partition table with an adequate partition table such as GPT. Observed in snapshot on 8/14/2012. * The default shell provided by the installer should list valid auto completion options after typing a partial command and then pressing tab two or more times. Observed in DragonFly 3.0.2. * ->Excepting the bullet point, this syntax should center text in this wiki.<- Observed on 8/25/2012. * The following errors should not occur when quitting from the GUI. waiting for X server to shut down xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server ":0.0" xterm: fatal IO error 35 (Resource temporarily unavailable) or KillClient on X server "0.0" failed to unset mtrr: Device not configured xauth: (argv):1: bad display name "myhostname.mysubdomain.mytld:0" in "remove" command Observed in DragonFly BSD 3.0.2 64-bit on VirtualBox 4.1.20 in Debian Squeeze. ## Workarounds **Enable the Caps Lock Key within the GUI** Edit the file /etc/X11/xorg.conf. ee /etc/X11/xorg.conf Delete the ctrl:nocaps XkbOptions option from the InputDevice section with the identifier Keyboard0 of the xorg.conf file. Or comment it out by prefixing the line with the # symbol. Section "InputDevice" Identifier "Keyboard0" Driver "kbd" #Option "XkbOptions" "ctrl:nocaps" EndSection Observed in DragonFly BSD 3.0.2. **Install Non-GUI on 3TB+ Hard Drive** *WARNING:* This workaround includes instructions which will delete all data from a hard drive. Delete the partition table from the hard drive. There are various tools with which to do this, one particularly easy to use tool is the [GParted Live CD/USB](http://gparted.sourceforge.net/livecd.php). Install from a [snapshot version of DragonFly](http://avalon.dragonflybsd.org/snapshots/). Be aware that snapshot versions are less thoroughly tested than stable releases. Tested in snapshot on 8/14/2012. **Install Xfce 4.6** *WARNING:* This workaround is not yet complete. Contributions are welcome. The following testing is being done with a root account and no user account. Additional testing with a regular user account will be done later. *DragonFly BSD 3.1-DEVELOPMENT Non-GUI Instructions* Summary * Install XOrg if it's not already installed. * Ensure that mouse works. * Get the xfce4 meta-package make file. * Install binary files listed in xfce4 meta-package make file. These instructions are currently a mess. They're currently just a rough outline of how I got it working. I'll go through and clean it up later. Get a list of which packages would be included if Xfce was installed from source. If you haven't already done so, [create and update the pkgsrc tree](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index2h2). Running make pkgsrc-create failed for me when I ran it in my virtual machine with 2 GB, but succeeded when I ran it with 3171 MB. cd /usr/ make pkgsrc-create make pkgsrc-update cd /usr/pkgsrc/meta-pkgs/xfce4 pkgin update pkgin in `cat Makefile | grep -E "xfce4.*mk" | sed -e 's/.include.*\/xf/xf/g' -e 's/\/.*/ /g' | tr -d "\n"` pkg_radd modular-xorg ls /dev/ Log into another console window by pressing Ctrl-Alt-F2 or in VirtualBox, Alt-F2. man moused Scroll down until you find where it mentions mouse dev names. ee /etc/X11/xorg.conf Comment out the /dev/sysmouse line by putting a # in front of it. Add the following line. Option "Device" "/dev/psm0" Except replace psm0 with whichever mouse you've got listed in /dev. Then save the file. startxfce4 *DragonFly BSD 3.0.2 GUI Instructions* I got the message Error Code 1 while creating and updating my pkgsrc tree. I haven't yet looked into it further. Get a list of which packages would be included if Xfce was installed from source. If you haven't already done so, [create and update the pkgsrc tree](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index2h2). cd /usr/ make pkgsrc-create make pkgsrc-update Get a list of which packages would be included if Xfce was installed from source. The pkgsrc tree was maybe already created by default on this version of DragonFly BSD. If it has not already been created, you'd first want to [create it](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index2h2) before continuing. Update the pkgsrc tree. cd /usr/ make pkgsrc-update *Notes* * [XFCE based LiveDVD/IMG](http://leaf.dragonflybsd.org/mailarchive/users/2012-07/msg00123.html) * [Installing a Desktop Environment: Xfce4](http://www.dragonflybsd.org/docs/how_to_get_to_the_desktop/#index11h3) * [Desktop Environments: Xfce](http://www.dragonflybsd.org/docs/newhandbook/X/#index9h3) * [Longest DragonFly BSD Review: Running Xfce in DragonFlyBSD 3.0.1](http://insidesocal.com/click/2012/04/review-dragonflybsd-301----the-5.html) * [Instructions via Google Translate](http://www.google.com/translate_c?langpair=en&u=http://dragonflybsd.fr/index.php?page=Installation+de+Xfce4) * [Installing pkgsrc](http://www.dragonflybsd.org/docs/howtos/HowToPkgsrc/#index2h2) pkgin search xfce **Install Xfce 4.8** *WARNING:* This workaround is not yet complete. Contributions are welcome. * [Choosing between portability and innovation](http://lwn.net/Articles/430598/) * [Xfce 4.8 on BSD flavors](http://gezeiten.org/post/2011/01/Xfce-4.8-on-BSD-flavors) * [Xfce 4.8 tour](http://xfce.org/about/tour48) **Install Xfce 4.10** *WARNING:* This workaround is not yet complete. Contributions are welcome. * [Xfce 4.10 released](http://www.xfce.org/about/news/?post=1335571200) * [Xfce 4.10 tour](http://xfce.org/about/tour) **Set the GUI Keyboard Layout** Edit the file /etc/X11/xorg.conf. ee /etc/X11/xorg.conf Set the XkbVariant option to your keyboard variant. Section "InputDevice" Identifier "Keyboard0" Driver "kbd" Option "XkbVariant" "dvorak" EndSection Valid keyboard options can be found by searching through /usr/pkg/share/X11/xkb/symbols/ for example to find references to the dvorak keyboard layout, run the following command. grep --color -n -r dvorak /usr/pkg/share/X11/xkb/symbols If too many lines scroll by, you can use your arrow buttons to scroll back within the non-graphical console screen by pressing the Scroll Lock button on your keyboard. Tested in DragonFly 3.0.2. ## Contribute **Port VirtualBox to DragonFly BSD** - Build VirtualBox in GhostBSD (GhostBSD is FreeBSD with Gnome or LXDE installed out of the box.) - Install GhostBSD (Gnome version 3.0 RC1 in VirtualBox) - It's easier to change the keyboard layout in the Gnome version. - If your keyboard stops working during the install then do the following. - Restart GhostBSD LiveCD/LiveUSB - Applications > Accessories > Text Editor - Type your answers to the following fields. - root password - username - full name of user - user password - hostname. - Copy and paste your answers into the installer. - Initialize build environment: http://www.freebsd.org/doc/handbook/updating-upgrading-portsnap.html - Handbook Instructions: http://www.freebsd.org/doc/handbook/updating-upgrading-portsnap.html - portsnap fetch (68 MB as root) - portsnap extract (as root) - portsnap update (as root) - Install Guest Additions (from FreeBSD, not from Oracle) - Initialize build environment (See above) - Wiki Instructions: http://wiki.freebsd.org/VirtualBox#Installing_Guest_Additions_for_FreeBSD_guests - Handbook Instructions: http://www.freebsd.org/doc/handbook/virtualization-guest.html - Notes: http://forums.ghostbsd.org/viewtopic.php?f=8&t=693 - More Notes: http://forums.freebsd.org/showthread.php?t=29172 - Create a supfile. - ee /root/9rel-supfile (as root) - Firefox within VM http://www.dragonflybsd.org/varialus/ - Copy and paste the following into your supfile. *default host=CHANGE_THIS.FreeBSD.org *default base=/var/db *default prefix=/usr *default release=cvs tag=RELENG_9_1 *default delete use-rel-suffix *default compress src-all - Firefox http://www.freebsd.org/doc/en/books/handbook/cvsup.html#CVSUP-MIRRORS - Pick close server and change line *default host=CHANGE_THIS.FreeBSD.org - Optionally pick fastest server: http://www.freshports.org/sysutils/fastest_cvsup - Ctrl-[ - a) leave editor - a) save changes - cd /root/ (as root) - csup 9rel-supfile (as root) - cd /usr/ports/emulators/virtualbox-ose-additions && make install clean (as root) - The following console dialog will be be displayed. - Options for virtualbox-ose-additions 4.1.22 - [ ] DEBUG Install debug symbols - [ ] OPENGL OpenGL support - [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 Stop in /usr/ports/emulators/virtualbox-ose-additions. root@ghostbsd:/usr/ports/emulators/virtualbox-ose-additions # - Build VirtualBox - Initialize build environment (See above) - Build Guest Additions - Build VirtualBox in DragonFly BSD - Install DragonFly BSD (Xfce IMG/ISO Installer) - Build VirtualBox - Install VirtualBox - Test VirtualBox - Build Guest Additions - Install Guest Additions - Test Guest Additions - Package for pkgsrc - Upload to pkgsrc **Port Xfce 4.10 to DragonFly BSD** - Install DragonFly BSD (Xfce IMG/ISO Installer in VirtualBox) - Build Instructions: http://docs.xfce.org/xfce/building - Package for pkgsrc - Upload to pkgsrc **DragonFly BSD Network Shares Walkthrough** - Install DragonFly BSD (Xfce IMG/ISO Installer in VirtualBox) **Port bxpkg to DragonFly BSD** - Install DragonFly BSD (Xfce IMG/ISO Installer in VirtualBox)