First decide on your VM platform. This can be qemu, VMware Workstation 17, VirtualBox, etc. For this demonstration I am going to use VMware. You can grab VMware workstation player and SHA256 checksums here: https://www.vmware.com/go/downloadplayer
Next make sure you have gcc
and build-essential
:
sudo apt-get update && sudo apt-get install -y gcc build-essential
Verify the file by copying the sha256sum:
and replace the hash below with your packages sha256sum:
bluezr@bluezr:~/Downloads$ echo "31036d3e5c107b8665f9e82e2ea0761f8ebf902e4dfea9e1db0e3295532c30e6 VMware-Player-Full-17.5.1-23298084.x86_64.bundle" | sha256sum -c
VMware-Player-Full-17.5.1-23298084.x86_64.bundle: OK
If you get something like above then you're all good, otherwise your file is not secure and you probably have someone performing a mitm attack on you.
Next steps is to allow execution permissions and run the bundle:
chmod +x ~/Downloads/VMware-Player*
sudo ~/Downloads/VMware-Player*
After installation go to https://www.dragonflybsd.org/download/ and fetch the dragonflybsd iso and perform the same steps to verify but on this time find the md5sum for your file from http://avalon.dragonflybsd.org/iso-images/md5.txt and run:
bluezr@bluezr:~/Downloads$ echo "ff4d500c7c75b1f88ca4237a6aa861d1 dfly-x86_64-6.4.0_REL.iso" | md5sum -c
dfly-x86_64-6.4.0_REL.iso: OK
Now we start configuring our machine. Select Create a New Virtual Machine:
Browse your files for the dragon iso and click Next:
Set the name of your VM and location you want VMware to generate files:
Configure your Disk Size and whether you want the files split into multiple files or as a single file:
Bump up the RAM and Processors. I'm choosing 4gb RAM, 2 Processors and a Network Connection of Bridged
with Replicate physical network connection state
checked:
Finally click Close and Finish:
After it boots login as installer:
I'm choosing Legacy BIOS as it allows an option to install bootblocks:
Choose da0:
You can configure the system and/or simply reboot and configure manually later. I'm going to just configure NIC:
Now reboot:
Login as root:
Check connectivity by running ping -c2 google.com
:
And there you have it, a working copy of DragonFly BSD in VMware Workstation 17 Player.
Note: Installing 6.4 will result in this:
I would recommend using one of the DragonFly BSD daily snapshots:
https://mirror-master.dragonflybsd.org/snapshots/x86_64/