From a5502bf4530f3d271698ef0b20cc10de902f08b7 Mon Sep 17 00:00:00 2001 From: Dustyr992 Date: Mon, 30 Nov 2026 19:16:17 -0500 Subject: [PATCH 1/5] Update vm_install_using_vagrant.md --- .../vm_install_using_vagrant.md | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/_docs/developer/getting_started/vm_install_using_vagrant.md b/_docs/developer/getting_started/vm_install_using_vagrant.md index 051cee0a..d88130f8 100644 --- a/_docs/developer/getting_started/vm_install_using_vagrant.md +++ b/_docs/developer/getting_started/vm_install_using_vagrant.md @@ -50,6 +50,9 @@ VirtualBox.* platform and prevent VirtualBox from working correctly. It is recommended to not install or use WSL2 alongside VirtualBox for now. However, some Submitty developers have reported no issues using both WSL2 and VirtualBox.* + ***NOTE:*** Due to issues with WSL2 and Hyper-V / Windows hypervisor, + **we highly recommend Windows users to dual boot a Linux operating system.** + 5. The complete installation process could take an hour or more and will probably fail if paused or interrupted. Make sure your internet connection is strong and consistent. You'll @@ -59,6 +62,39 @@ VirtualBox.* --- +## Windows / Linux Dual Boot Guide + +If you plan to use a Windows computer to work on submitty we recommend dual booting a Linux distro +due to issues with WSL2 and Hyper-V / Windows hypervisor. Generally we would recommend using either +[Ubuntu](https://ubuntu.com/download/desktop) or [Fedora](https://fedoraproject.org/kde/download/) +but you are free to use whatever distro you want as long as you can follow the installation +instructions for the developer environment. + +***Pre-Installation Checklist:*** + +1. We recommend you set aside at least a few hours to account for unforeseen troubleshooting. + +2. You will need an 8GB USB Flash Drive and 128GB of available storage. + +***Installation Instructions:*** + +1. Inside settings check if BitLocker is enabled, if so disable it and decrypt your storage device. + +2. Enter your BIOS. + +3. Return to Windows and install your distro of choice. + +4. Install and use either [Rufus](https://rufus.ie/en/) or [balenaEtcher](https://etcher.balena.io/) + to flash your distro onto the Flash Drive. If you are using rufus, verify that the automatically + selected settings are correct for your distro. + +5. Plug in the Flash Drive, enter your BIOS/boot menu and boot into the Flash Drive. + +6. Once you have successfully booted into your distro, install it using the dual boot option and + allocate at least 128GB of space. + +--- + ## Submitty Developer VM Installation From 6653e4cdf55ad485c20c61ef06c86a0764cb2fa8 Mon Sep 17 00:00:00 2001 From: Dustyr992 Date: Fri, 4 Dec 2026 16:53:11 -0500 Subject: [PATCH 2/5] Spelling and capitalization minor edits to spelling / capitalization / wording to a few steps --- .../machines/default/virtualbox/vagrant_cwd | 1 + .vagrant/rgloader/loader.rb | 12 +++ Vagrantfile | 77 +++++++++++++++++++ .../vm_install_using_vagrant.md | 10 +-- 4 files changed, 95 insertions(+), 5 deletions(-) create mode 100644 .vagrant/machines/default/virtualbox/vagrant_cwd create mode 100644 .vagrant/rgloader/loader.rb create mode 100644 Vagrantfile diff --git a/.vagrant/machines/default/virtualbox/vagrant_cwd b/.vagrant/machines/default/virtualbox/vagrant_cwd new file mode 100644 index 00000000..63c5f2d4 --- /dev/null +++ b/.vagrant/machines/default/virtualbox/vagrant_cwd @@ -0,0 +1 @@ +/home/dusty/Documents/GitHub/submitty.github.io \ No newline at end of file diff --git a/.vagrant/rgloader/loader.rb b/.vagrant/rgloader/loader.rb new file mode 100644 index 00000000..b6c81bf3 --- /dev/null +++ b/.vagrant/rgloader/loader.rb @@ -0,0 +1,12 @@ +# Copyright (c) HashiCorp, Inc. +# SPDX-License-Identifier: BUSL-1.1 + +# This file loads the proper rgloader/loader.rb file that comes packaged +# with Vagrant so that encoded files can properly run with Vagrant. + +if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"] + require File.expand_path( + "rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]) +else + raise "Encoded files can't be read outside of the Vagrant installer." +end diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 00000000..0bfa02f2 --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,77 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +# All Vagrant configuration is done below. The "2" in Vagrant.configure +# configures the configuration version (we support older styles for +# backwards compatibility). Please don't change it unless you know what +# you're doing. +Vagrant.configure("2") do |config| + # The most common configuration options are documented and commented below. + # For a complete reference, please see the online documentation at + # https://docs.vagrantup.com. + + # Every Vagrant development environment requires a box. You can search for + # boxes at https://vagrantcloud.com/search. + config.vm.box = "base" + + # Disable automatic box update checking. If you disable this, then + # boxes will only be checked for updates when the user runs + # `vagrant box outdated`. This is not recommended. + # config.vm.box_check_update = false + + # Create a forwarded port mapping which allows access to a specific port + # within the machine from a port on the host machine. In the example below, + # accessing "localhost:8080" will access port 80 on the guest machine. + # NOTE: This will enable public access to the opened port + # config.vm.network "forwarded_port", guest: 80, host: 8080 + + # Create a forwarded port mapping which allows access to a specific port + # within the machine from a port on the host machine and only allow access + # via 127.0.0.1 to disable public access + # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" + + # Create a private network, which allows host-only access to the machine + # using a specific IP. + # config.vm.network "private_network", ip: "192.168.33.10" + + # Create a public network, which generally matched to bridged network. + # Bridged networks make the machine appear as another physical device on + # your network. + # config.vm.network "public_network" + + # Share an additional folder to the guest VM. The first argument is + # the path on the host to the actual folder. The second argument is + # the path on the guest to mount the folder. And the optional third + # argument is a set of non-required options. + # config.vm.synced_folder "../data", "/vagrant_data" + + # Disable the default share of the current code directory. Doing this + # provides improved isolation between the vagrant box and your host + # by making sure your Vagrantfile isn't accessible to the vagrant box. + # If you use this you may want to enable additional shared subfolders as + # shown above. + # config.vm.synced_folder ".", "/vagrant", disabled: true + + # Provider-specific configuration so you can fine-tune various + # backing providers for Vagrant. These expose provider-specific options. + # Example for VirtualBox: + # + # config.vm.provider "virtualbox" do |vb| + # # Display the VirtualBox GUI when booting the machine + # vb.gui = true + # + # # Customize the amount of memory on the VM: + # vb.memory = "1024" + # end + # + # View the documentation for the provider you are using for more + # information on available options. + + # Enable provisioning with a shell script. Additional provisioners such as + # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the + # documentation for more information about their specific syntax and use. + # config.vm.provision "shell", inline: <<-SHELL + # apt-get update + # apt-get install -y apache2 + # SHELL +end diff --git a/_docs/developer/getting_started/vm_install_using_vagrant.md b/_docs/developer/getting_started/vm_install_using_vagrant.md index d88130f8..b274e376 100644 --- a/_docs/developer/getting_started/vm_install_using_vagrant.md +++ b/_docs/developer/getting_started/vm_install_using_vagrant.md @@ -64,8 +64,8 @@ VirtualBox.* ## Windows / Linux Dual Boot Guide -If you plan to use a Windows computer to work on submitty we recommend dual booting a Linux distro -due to issues with WSL2 and Hyper-V / Windows hypervisor. Generally we would recommend using either +If you plan to use a Windows computer to work on Submitty we recommend dual booting a Linux distro +due to issues with WSL2 and Hyper-V / Windows hypervisor. Generally we recommend either [Ubuntu](https://ubuntu.com/download/desktop) or [Fedora](https://fedoraproject.org/kde/download/) but you are free to use whatever distro you want as long as you can follow the installation instructions for the developer environment. @@ -78,14 +78,14 @@ instructions for the developer environment. ***Installation Instructions:*** -1. Inside settings check if BitLocker is enabled, if so disable it and decrypt your storage device. +1. Inside settings, check if BitLocker is enabled. If so disable it and decrypt your storage device. 2. Enter your BIOS. -3. Return to Windows and install your distro of choice. +3. Return to Windows and download the iso for your distro. 4. Install and use either [Rufus](https://rufus.ie/en/) or [balenaEtcher](https://etcher.balena.io/) - to flash your distro onto the Flash Drive. If you are using rufus, verify that the automatically + to flash your distro onto the Flash Drive. If you are using Rufus, verify that the automatically selected settings are correct for your distro. 5. Plug in the Flash Drive, enter your BIOS/boot menu and boot into the Flash Drive. From 470d44713ae1fae6eb9c5703dcf598cda120f4b5 Mon Sep 17 00:00:00 2001 From: Dustyr992 Date: Fri, 4 Dec 2026 17:08:46 -0500 Subject: [PATCH 3/5] deleted accidental commits / vagrant files --- .../machines/default/virtualbox/vagrant_cwd | 1 - .vagrant/rgloader/loader.rb | 12 --- Vagrantfile | 77 ------------------- 3 files changed, 90 deletions(-) delete mode 100644 .vagrant/machines/default/virtualbox/vagrant_cwd delete mode 100644 .vagrant/rgloader/loader.rb delete mode 100644 Vagrantfile diff --git a/.vagrant/machines/default/virtualbox/vagrant_cwd b/.vagrant/machines/default/virtualbox/vagrant_cwd deleted file mode 100644 index 63c5f2d4..00000000 --- a/.vagrant/machines/default/virtualbox/vagrant_cwd +++ /dev/null @@ -1 +0,0 @@ -/home/dusty/Documents/GitHub/submitty.github.io \ No newline at end of file diff --git a/.vagrant/rgloader/loader.rb b/.vagrant/rgloader/loader.rb deleted file mode 100644 index b6c81bf3..00000000 --- a/.vagrant/rgloader/loader.rb +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright (c) HashiCorp, Inc. -# SPDX-License-Identifier: BUSL-1.1 - -# This file loads the proper rgloader/loader.rb file that comes packaged -# with Vagrant so that encoded files can properly run with Vagrant. - -if ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"] - require File.expand_path( - "rgloader/loader", ENV["VAGRANT_INSTALLER_EMBEDDED_DIR"]) -else - raise "Encoded files can't be read outside of the Vagrant installer." -end diff --git a/Vagrantfile b/Vagrantfile deleted file mode 100644 index 0bfa02f2..00000000 --- a/Vagrantfile +++ /dev/null @@ -1,77 +0,0 @@ -# -*- mode: ruby -*- -# vi: set ft=ruby : - -# All Vagrant configuration is done below. The "2" in Vagrant.configure -# configures the configuration version (we support older styles for -# backwards compatibility). Please don't change it unless you know what -# you're doing. -Vagrant.configure("2") do |config| - # The most common configuration options are documented and commented below. - # For a complete reference, please see the online documentation at - # https://docs.vagrantup.com. - - # Every Vagrant development environment requires a box. You can search for - # boxes at https://vagrantcloud.com/search. - config.vm.box = "base" - - # Disable automatic box update checking. If you disable this, then - # boxes will only be checked for updates when the user runs - # `vagrant box outdated`. This is not recommended. - # config.vm.box_check_update = false - - # Create a forwarded port mapping which allows access to a specific port - # within the machine from a port on the host machine. In the example below, - # accessing "localhost:8080" will access port 80 on the guest machine. - # NOTE: This will enable public access to the opened port - # config.vm.network "forwarded_port", guest: 80, host: 8080 - - # Create a forwarded port mapping which allows access to a specific port - # within the machine from a port on the host machine and only allow access - # via 127.0.0.1 to disable public access - # config.vm.network "forwarded_port", guest: 80, host: 8080, host_ip: "127.0.0.1" - - # Create a private network, which allows host-only access to the machine - # using a specific IP. - # config.vm.network "private_network", ip: "192.168.33.10" - - # Create a public network, which generally matched to bridged network. - # Bridged networks make the machine appear as another physical device on - # your network. - # config.vm.network "public_network" - - # Share an additional folder to the guest VM. The first argument is - # the path on the host to the actual folder. The second argument is - # the path on the guest to mount the folder. And the optional third - # argument is a set of non-required options. - # config.vm.synced_folder "../data", "/vagrant_data" - - # Disable the default share of the current code directory. Doing this - # provides improved isolation between the vagrant box and your host - # by making sure your Vagrantfile isn't accessible to the vagrant box. - # If you use this you may want to enable additional shared subfolders as - # shown above. - # config.vm.synced_folder ".", "/vagrant", disabled: true - - # Provider-specific configuration so you can fine-tune various - # backing providers for Vagrant. These expose provider-specific options. - # Example for VirtualBox: - # - # config.vm.provider "virtualbox" do |vb| - # # Display the VirtualBox GUI when booting the machine - # vb.gui = true - # - # # Customize the amount of memory on the VM: - # vb.memory = "1024" - # end - # - # View the documentation for the provider you are using for more - # information on available options. - - # Enable provisioning with a shell script. Additional provisioners such as - # Ansible, Chef, Docker, Puppet and Salt are also available. Please see the - # documentation for more information about their specific syntax and use. - # config.vm.provision "shell", inline: <<-SHELL - # apt-get update - # apt-get install -y apache2 - # SHELL -end From 40dd0504089ced8c1b66bb4e0b4f37ec769ee6cf Mon Sep 17 00:00:00 2001 From: Dustyr992 Date: Fri, 4 Dec 2026 17:26:54 -0500 Subject: [PATCH 4/5] changed minor capitalization minor mistake with needing to capitalize iso. --- .../developer/getting_started/vm_install_using_vagrant.md | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/_docs/developer/getting_started/vm_install_using_vagrant.md b/_docs/developer/getting_started/vm_install_using_vagrant.md index b274e376..145da3e8 100644 --- a/_docs/developer/getting_started/vm_install_using_vagrant.md +++ b/_docs/developer/getting_started/vm_install_using_vagrant.md @@ -65,10 +65,8 @@ VirtualBox.* ## Windows / Linux Dual Boot Guide If you plan to use a Windows computer to work on Submitty we recommend dual booting a Linux distro -due to issues with WSL2 and Hyper-V / Windows hypervisor. Generally we recommend either -[Ubuntu](https://ubuntu.com/download/desktop) or [Fedora](https://fedoraproject.org/kde/download/) -but you are free to use whatever distro you want as long as you can follow the installation -instructions for the developer environment. +due to issues with WSL2 and Hyper-V / Windows hypervisor. we recommend either +[Ubuntu](https://ubuntu.com/download/desktop) or [Fedora](https://fedoraproject.org/kde/download/) as your Linux distro. ***Pre-Installation Checklist:*** @@ -82,7 +80,7 @@ instructions for the developer environment. 2. Enter your BIOS. -3. Return to Windows and download the iso for your distro. +3. Return to Windows and download the ISO for your distro. 4. Install and use either [Rufus](https://rufus.ie/en/) or [balenaEtcher](https://etcher.balena.io/) to flash your distro onto the Flash Drive. If you are using Rufus, verify that the automatically From 0e2a45ac81b248fec1a9be3847e1c373879b6960 Mon Sep 17 00:00:00 2001 From: Dustyr992 Date: Fri, 4 Dec 2026 17:41:03 -0500 Subject: [PATCH 5/5] changed we to We WE --- _docs/developer/getting_started/vm_install_using_vagrant.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_docs/developer/getting_started/vm_install_using_vagrant.md b/_docs/developer/getting_started/vm_install_using_vagrant.md index 145da3e8..7ec5151d 100644 --- a/_docs/developer/getting_started/vm_install_using_vagrant.md +++ b/_docs/developer/getting_started/vm_install_using_vagrant.md @@ -65,7 +65,7 @@ VirtualBox.* ## Windows / Linux Dual Boot Guide If you plan to use a Windows computer to work on Submitty we recommend dual booting a Linux distro -due to issues with WSL2 and Hyper-V / Windows hypervisor. we recommend either +due to issues with WSL2 and Hyper-V / Windows hypervisor. We recommend either [Ubuntu](https://ubuntu.com/download/desktop) or [Fedora](https://fedoraproject.org/kde/download/) as your Linux distro. ***Pre-Installation Checklist:***