Vagrantfile for ops-class.org
(On Windows) Download Git for Windows. This includes a
bashshell which you should use in lieu of the terrible Windows shell.
(Required) If you already have VirtualBox installed, upgrade to the latest version.
(Required) Install Vagrant
(Suggested) Install two Vagrant plugins:
vagrant plugin install vagrant-vbguest. This ensure that your VirtualBox Guest Additions are up to date.
vagrant plugin install vagrant-timezone. This synchronizes time between your VM guest and host.
Note that these plugins may be required to get certain Windows systems to work.
The default user and hostname is
The OS/161 toolchain is installed from the ops-class OS/161 toolchain PPA.
An up-to-date version of Git is also preinstalled.
The default machine configuration is fairly lightweight. You may want to beef it up a bit. Or not.
sys161is pretty lightweight itself.
You are encouraged virtual machine to your liking—either by editing the
Vagrantfileor by modifying the machine directly.
Known Problems and Workarounds for Windows
vagrant up failed with empty error message like:
It’s probably because your Windows OS is missing the
MSVCR100.dllfrom http://fix4dll.com/msvcr100_dll based on your OS.
C:\Windows\SysWOW64\based on your System version 32-bit/64-bit.
Video help can be found: https://www.youtube.com/watch?v=6GZH_zObpmg
SSH Connection Issues in Windows Command Prompt
vagrant ssh hangs while connecting.
Solution: Vagrant cannot connect over ssh using Windows Command Prompt. Please use Git Bash or Cygwin instead.
Windows Virtualization Issues
vagrant up Hangs While Connecting
Make sure virtualization is enabled in your BIOS.
If Hyper-V is enabled, disable it. Vagrant cannot coexist with Hyper-V.
bmake fails with symbolic link errors
ln: failed to create symbolic link …
Solution: Windows requires users to have special privileges for creating symbolic links. Follow instructions listed here.