Direct to a disk drive system installation.

If there is a computer with no input/output devices. One of the solutions is a direct software installation to its disk drive. And a subsequent configuration of the remote access with help of a virtual machine (QEMU).

The examples below are for Windows workstation against two target systems: x86 (Ubuntu) and ARM (Raspberry Pi).

1. Get a installation media with a operating system for the target computer. In this particular example: Ubuntu server iso file and Rapbian wheezy image;

2. Download and install QEMU;

3. Get out the disk drive from the server and/or SD card from the Rpi.

4. Connect the disk drive to your working station. (SATA to USB converter is needed or a SD card reader in Rpi case);

5. Prepare (format/erase) the disk drive (a console way):

6. Find out a disk device number (DeviceID):


7. Start QEMU and install the operating system.
Script for x86 Ubuntu:

Where “\\.\PHYSICALDRIVE1” is a path obtained on the previous step.
Script for Raspberry Pi:

8. Configure and check a remote control to the emulated target operating system.
e.g. Add this to the start script to test a ssh access through 10022 port:
-redir tcp:10022::22

9. Insert your disk drive in the target system. It will take some time to boot and to autotune all new hardware during the first start.