Skip to main content

Virtualized

This page is for installing TempleOS on a virtual machine. If you wish to install on Bare Metal; skip this page.

Virtual machines provide a substitute for a real machine (in contrast to bare metal). Virtual machines are based on computer architectures and provide functionality of a physical computer. Installing a virtual machine is a relatively simple process.

First you'll need to select which virtual machine software suits you, each one has their own quirks, which will be touched on breifly.

  • VMWare Player: Free/Paid, Audio Support, GUI, Win/Linux
  • Oracle VirtualBox: Free, Open Source, GUI, Mac(Intel-only)/Win/Linux
  • QEMU: Free, Open Source, Audio Support, CLI, Mac/Win/Linux/Other(Unix)

Next you'll need to acquire the TempleOS ISO from here, Or curl it:

curl https://templeos.org/Downloads/TempleOS.ISO -o templeos.iso

From this point forward, the steps required for an install depends on the VM software you have selected. Below you can find the sections corresponding to the respective software.

VMWare Workstation

  1. Upon launching VMWare Player, select Create a new virtual machine and select "Typical".
  2. Select the "Use ISO Image" option then "Browse" and open the TempleOS.ISO that you downloaded.
  3. On the next menu; select "3. Other", then make sure to edit the version and set it to "Other 64-bit".
  4. Now you can enter the name for your VM and an install location.
  5. Select the HDD space; a couple of GBs is fine, now select how you want your disks setup.
  6. Finally you'll be greeted with a review of your Virtual Machine. Before finishing, press customize Hardware and increase your RAM to a minimum of 512MB or a recommended 2GBs. While you're here you can increase your cores.

Now it's time to actually boot into TempleOS. Once booted, you'll be granted with a dialogue. Press "Y" to the first option, and "Y" again for the latter. TempleOS will now be installing on the virtual disk. Once finished, you'll be prompted with two additional dialogues, simply press "N" for both. To exit VMWare you'll need to press Ctrl+Alt to unlock your mouse, and exit the virtual machine. Once you've exited the virtual machine:

  1. Re-open VMWare Workstation if it was closed, reselect the virtual machine and press "edit virtual machine settings" at the bottom.
  2. Select "CD/DVD" and change it to "use a physical drive".
  3. Start the virtual machine, if granted with a warning message, just select "No".

Congratulations, you've just installed TempleOS in VMWare Workstation.

VirtualBox

Upon opening VirtualBox, select the "New" button:

  1. Enter a name for your virtual machine, you can name it anything. For Type select "Other" and the version, select "Other/Unknown (64-bit)".

  2. Next, you'll be required to enter the amount memory to use; generally TempleOS only needs 512MB to boot, however, be safe and give it around 2 to 4 Gigabytes of RAM.

  3. After memory, you'll be prompted for a hard disk, select "Create a virtual hard disk now". On the next screen select "VDI", next "Dynamically allocated". Finally, for the HD size, just enter in 2GBs and create.

  4. You should now be able to launch, open doing so select the TempleOS ISO that you downloaded.

  5. On the left panel, you should be prompted to install TempleOS, all you'll need to do is press y 3 times (Easier than installing Linux). At this point, you're all good to go.

  6. Remove the live CD by selecting the Virtual Machine, going to "Settings", "Storage" and removing the ISO. This will allow you to boot into the fresh installation.

QEMU

This sections is designed specifically for Linux (and possibly MacOS), I usually recommend using QEMU as it's completely free and cross-platform. Additionally, QEMU supports audio output for TempleOS.

  1. Once you have the ISO saved somewhere on your disk, we can create a Virtual Disk Image:

    qemu-img create -f qcow2 temple 2G
    qemu-img is the program for managing disks, create will create a disk, -f is a file flag and we chose a qcow2 file, temple will be the name of the file, and 2G means 2 gigabytes in size.
  2. Now time to load the live CD: (It's also worth mentioning if you ever mess up your install of TempleOS, just re-run this to get the base version).

    qemu-system-x86_64 -m 512M -enable-kvm -drive file=temple -cdrom templeos.iso -boot order=d -audiodev alsa,id=snd0 -machine pcspk-audiodev=snd0
    Don't worry too much about the audio paramaters at the end unless something goes wrong, if you need change `alsa` to `pa`. Feel free to change around certain settings, for example the ram.
  3. Installing onto the Virtual Disk. Upon starting up TempleOS, follow the prompts and install to the CD, after doing so, boot into the CD run:

    qemu-system-x86_64 -m 512M -enable-kvm -drive file=temple -audiodev alsa,id=snd0 -machine pcspk-audiodev=snd0
    You can see here that we have effectively removed the CD-ROM and the boot order

QEMU Side Note:

  • The sound is incredibly loud sometimes; turn down your output for the love of God. I found this out the hard way; screaming "Fuck my ears", as I had an error and subsequently the screeching of the error sound at 100%, my ears are still recovering to this day.
  • Also in case you can't exit TempleOS, just press CONTROL + ALT + G to bring your mouse back (this won't work in fullscreen; so probably don't use fullscreen). I mean I was honestly stuck twice, I couldn't kill the program using my Linux shortcut, nor could I switch windows on my WM; ended up having to just turn my PC's power off. 😅
  • I'd like to thank u/tinkeros on Reddit for the updated QEMU commands.

Moving Forward

If everything has gone to plan, you should now have TempleOS installed on a virtual machine, ready to access at anytime. If you're ready to continue learning, move ahead to the next chapter, otherwise if you'd like you can play around with TempleOS a little more.