Installing SteamOS on a virtual machine
- From the sandbox
- Tutorial

This Saturday morning, news appeared on Habré about the release of SteamOS. Valve offers users 2 installation options: restore from an image (2.4Gb) and use the Debian Installer (960Mb). There are also links to brief instructions for each installation method. In the same short article I want to tell how to install SteamOS on a virtual machine.
We will install using the Debian Installer. In fact, this method is not particularly difficult when using automatic installation.
First, we need to download the installer itself and VirtualBox directly .
The installer needs to unpack and make an ISO image from it. How - decide for yourself, in this case it does not matter.
After that, we create a virtual machine for 64-bit Debian:
In the settings you need to enable EFI and 3D acceleration. Allocate operational and video memory to your taste; I personally used 2GB of operational and 128MB of video. We install the installer image into the virtual machine drive.
Settings in pictures for those who are not familiar with virtualbox
1:

2:

3:

4:


2:

3:

4:

We start the virtual machine, we do not pay attention to the error "prefix is not set". After a short delay, grub should start, from which you can start the automatic installation. Before starting the installation, grub will down a bit, do not panic.
Installation really goes completely automatically, so you can distract from the process for a while. Personally, it took me about 30 minutes to install.
After installation, we boot into the recovery and put VboxAdditions:
- We connect the add-on disk image (Host + D or through the menu. For those who are not in the know, the host key is written in the lower right corner of the virtual machine screen, by default - Right Ctrl)
- Create a folder for mounting the disk:
mkdir ~/vboxadds/ - We look id cd-rom'a:
ls /dev/disk/by-id/ - Directly install:
mount /dev/disk/by-id/ata-[cdrom id] ~/vboxadds/. - Go to the vboxadds folder
cd ~/vboxadds/and run the installation script./VBoxLinuxAdditions.run - reboot:
reboot
After rebooting the system, we see the Debian authorization window: we enter the system through the “steam” account (login:,
steampass:) steam, we use Gnome as a shell. Run steam through the terminal (as because he refuses to run the menu, at least for me)
steam. Next, we accept the agreement and wait until steam is updated. We go into your steam account, indicating the verification code and remembering the computer. We close steam and exit (log out) from the account in the system, go to the desktop account (login:
desktop pass:) desktop. Open the terminal and execute the command ~/post_logon.sh.After running the script, the system will automatically reboot and try to perform the Capture System Partition. I don’t know why this is necessary, but in any case this process will fail and we will again fall into grub. From it, you can immediately boot into SteamOS recovery mode and reinstall VboxAdditions: you no longer need to create a folder, just connect the disk, mount it, run the script and reboot.
This time full SteamOS will boot. When I first started, for some reason I always had problems with the network, so if necessary, reboot again.
Some screenshots
Main screen:

Browser:

Desktop:


Browser:

Desktop:

Also, after restarting the virtual machine, instead of grub, the UEFI Interactive Shell will boot. You can run grub from it with the command
FS1:\EFI\steamos\grubx64(instead of FS1 it can be FS0).