DragonFly BSD

varialus

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

    • Shell/Console/Command-Line-Prompt: tcsh/bash, ctrl-d/tab-tab, partial-previous-command-up-key/ctrl-r-partial-previous-command, rehash
    • Package-Management: pkgin/apt-get
    • Administration/root su/sudo/wheel
    • Text-Editor: vi :q!
    • Manual: man man
    • Networking: hosts
    • Power-Down: shutdown -p now
    • File-System: Hammer
    • Operating System: DragonFly BSD
    • Graphical-User-Interface: Xfce
    • Programming: Dissonance/Apache Harmony
    • Programming: Jython/Python
    • Text-Editor: ee/nano
    • Networking: Debian resolv.conf
  3. 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
  4. 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
  6. Not Yet Formatted Text Dump

    • Project HAMMER Debian

Featured

Walkthrough of Xfce 4.6 Installation via Custom DVD/IMG Installer

There is a new Xfce based DVD/IMG installer which is built by one of the DragonFly BSD team members. 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.
  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               .
    
  9. The bottom line changes depending on which option is selected.

  10. Highlight the option < Install DragonFly BSD > and press enter.
  11. 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 |---------------------------- .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
    
  12. Highlight the option < Install DragonFly BSD > and press enter.

  13. 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 <VBOX HARDDISK 1.0> at ata0-master UDMA33 >_|         .
             | < Return to Begin Installation >                          |         .
              -----------------------------------------------------------          .
                                                                `|'                .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
    
  14. Highlight the disk on which to install DragonFly BSD and press Enter.

  15. 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 <VBOX HARDDISK 1.0> at ata0-master UDMA33           |     .
           |                                                                 |     .
           |            < Use Entire Disk >_ < Use Part of Disk >            |     .
           |                    < Return to Select Disk >                    |     .
            -----------------------------------------------------------------      .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
    
  16. If you would like to use your entire disk, then highlight < Use Entire Disk > and press enter.

  17. The following menu will be displayed.

    F10=Refresh Display                                                            .
                                                                                   .
                                                  ,--,           |           ,--,  .
                                                  |   `-,       ,^,       ,-'   |  .
                        ------| Are you absolutely sure? |------/ \)   ,-'    ,'   .
                       |                                        |  \,-'    ,-'     .
                       | WARNING! ALL data in ALL partitions on |  )------'        .
                       | the disk                               |  )----------,    .
                       |                                        |  )-,_        |   .
                       | ad1: 1337TB <VBOX HARDDISK 1.0> 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 >           |                  .
                        ----------------------------------------                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
    
  18. If you are absolutely sure, highlight < OK > and press enter.

  19. The following menu will be displayed.

    F10=Refresh Display                                                            .
                                                                                   .
                                                  ,--,           |           ,--,  .
                                                  |   `-,       ,^,       ,-'   |  .
                                                   `,    `-,   (/ \)   ,-'    ,'   .
                                                     `-,    `-,/   \,-'    ,-'     .
                                                        `------(   )------'        .
                          ---------| Information |-------------(   )----------,    .
                         |                                    |(   )-,_        |   .
                         | The disk                           |\   /   `-,__,-'    .
                         |                                    | | |                .
                         | ad1: 1337TB <VBOX HARDDISK 1.0> at | | |                .
                         | ata0-master UDMA33                 | | |                .
                         |                                    | | |                .
                         | was formatted.                     | | |                .
                         |                                    | | |                .
                         |                < OK >              | `|'                .
                          ------------------------------------                     .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
    
  20. Press enter.

  21. 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 >  |          .
               ---------------------------------------------------------           .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
    
  22. If you want to use HAMMER, and honestly why wouldn't you, then highlight HAMMER and press enter.

  23. 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 |-------------------------       .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
    
  24. Highlight < Accept and Create > and press enter.

  25. 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 >  |      .
           -----------------------------------------------------------------       .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
    
  26. Highlight < Begin Installing Files > and press enter.

  27. The following progress bar will be displayed.

    F10=Refresh Display                                                            .
                                                                                   .
                                                  ,--,           |           ,--,  .
                                                  |   `-,       ,^,       ,-'   |  .
                                                   `,    `-,   (/ \)   ,-'    ,'   .
                                                     `-,    `-,/   \,-'    ,-'     .
                                                        `------(   )------'        .
                                                    ,----------(   )----------,    .
              -------------------| Executing Commands |-------------------     |   .
             |                                                            |_,-'    .
             | /bin/cpdup -o -vvv -u /usr/pkg /mnt/usr/pkg                |        .
             |                                                            |        .
             |          [*#################58%#                ]          |        .
             |                                                            |        .
             |                         < Cancel >_                        |        .
              ------------------------------------------------------------         .
                                                                `|'                .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
                                                                                   .
    
  28. Go brush your teeth. And don't forget to floss.

  29. 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                              .
    
  30. Highlight < Accept and Install Bootblocks > and press enter.

  31. An Information dialog box will be displayed which says: Bootblocks were successfully installed!
  32. Press enter.
  33. 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 >
     ---
    
  34. Highlight < Configure this System > and press enter.

  35. 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 >
     ---
    
  36. Highlight < Select timezone > and press enter.

(The only purpose of this line is to reduce the indentation of the following bullet points.)

Tidbits

Issues

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.

Install from a snapshot version of DragonFly. 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

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. 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.

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 before continuing. Update the pkgsrc tree.

cd /usr/
make pkgsrc-update

Notes

Install Xfce 4.8

WARNING: This workaround is not yet complete. Contributions are welcome.

Install Xfce 4.10

WARNING: This workaround is not yet complete. Contributions are welcome.

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)
        - If outgoing connections to port 5999 are blocked, here are a few possible solutions which I have not yet tried.
           - http://lists.freebsd.org/pipermail/freebsd-stable/2005-August/017991.html
           - http://lists.freebsd.org/pipermail/freebsd-questions/2004-February/034761.html
           - http://lists.freebsd.org/pipermail/freebsd-questions/2004-March/041566.html
        - 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  >            <Cancel>
        - Highlight <  OK  > and press enter.
           - 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  >            <Cancel>
        - 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  >            <Cancel>
        - 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

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
 - 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)

Not Yet Formatted Text Dump

Project HAMMER Debian The goal of project HAMMER Debian is to recreate Debian Squeeze using the MATE desktop environment, the DragonFly BSD kernel, and the newer of the frozen Debian testing repository or the Debian stable repository.

Parallel Sub-Project Documentation 0. Setup Common to Subsequent Sub-Project Documentation 1. Recreate Debian Squeeze using the MATE desktop environment and the newer of the frozen Debian testing repository or the Debian stable repository. 2. Recreate Debian Squeeze using the MATE desktop environment and DragonFly BSD. 3. Recreate Debian Squeeze using the MATE desktop environment and the newer of the frozen kFreeBSD testing repository or the kFreeBSD stable repository. 4. Recreate Debian Squeeze using the MATE desktop environment and FreeBSD. 5. Recreate Debian Squeeze using the MATE desktop environment, the DragonFly BSD kernel, and the newer of the frozen Debian testing repository or the Debian stable repository.

0.1. Default values implied where steps are skipped. 0.2. Installation steps are given using the apt command, but using the aptitude command instead of apt is recommended. 0.3. These instructions sudo for root user authentication, but some systems may use su or some other method instead. 0.4.0. The use of the nano terminal command is implied for steps which involve editing text files. 0.4.1. The Ctrl-x shortcut can be used to bring up the save prompt and then exit from nano. 0.5.0. Set up a development machine. 0.5.1.0. The Oracle build of VirtualBox is recommended for its ease of use and highly active development. 0.5.1.1. Here's a link to the VirtualBox download page. https://www.virtualbox.org/wiki/Downloads 0.5.1.2. Here's a link to the VirtualBox Linux download page. https://www.virtualbox.org/wiki/Linux_Downloads 0.5.1.3. Here's the /etc/apt/sources.list repository line for Debian Wheezy. deb http://download.virtualbox.org/virtualbox/debian wheezy contrib 0.5.1.4. Here's the command to authenticate the Oracle Virtualbox repository. wget -q http://download.virtualbox.org/virtualbox/debian/oracle_vbox.asc -O- | sudo apt-key add - 0.5.1.5. Here's the authentication fingerprint for the Oracle Virtualbox repository. 7B0F AB3A 13B9 0743 5925 D9C9 5442 2A4B 98AB 5139 Oracle Corporation (VirtualBox archive signing key) info@virtualbox.org 0.5.1.6. Here are the commands to install VirtualBox. sudo apt-get update sudo apt-get install dkms sudo apt-get install virtualbox-4.2 0.5.1.7. It's recommended to add your regular user to the vboxusers group and the following is the recommended method. Gnome 2 Menu > System > Administration > Users and Groups > Manage Groups > vboxusers > Properties > Select Check Box of Your Regular User > OK > Password: > Your Regular User Password > Authenticate > Close > Close 0.5.2. The recommended host software environment is a recreation of Debian Squeeze using the MATE desktop environment and the newer of the frozen Debian testing repository or the Debian stable repository. 0.5.3. The recommended host hardware environment is an x64 computer with at least a dual core processor, 2 GB memory, a 250 GB hard disk and an Internet connection. 0.6.