To work on a virtual machine, we will need a virtualization software product (in our case, VirtualBox) and a boot disk, which we will make using Windows OS. Setting up a virtual disk is very close to setting up a USB drive described on Qubic-World .
Installing Virtual Box (graphical representation of text material)
You can download VirtualBox from any website, but I advise you to use the official website.
- Download VirtualBox by clicking on the big blue
Download
button- After selecting the desired operating system
- Start the installation by double-clicking on the installer shortcut.
next -> next -> next -> yes -> Install
Preparing the boot disk (graphical representation of text material)
We create a virtual disk using standard Windows tools.
- Opening Computer Management -> Disk Management
- Action -> Create VHD
- In the
location
field, specify the full path to the file and its name- In the Virtual hard disk size line, specify the required volume of the disk being created
- Specify
VHD
as the disk format- Specify
Fixed size
as the disk type (There were problems with the file system markup with dynamic volume, I'm deciding how to get around it)- Click OK
After the completed actions, a new space will appear in Computer Management. For further configuration, we do the following steps.
- Right-click on Disk* (Unknown)
- Initialize disk
- Choose the markup style
MBR
-> OK- Right-click on the free space of the new disk (Unallocated)
- New Simple Volume -> next -> next -> next ->
- File system -
FAT32
- Next -> Finish
The new memory space will appear in explorer as a separate disk. After writing the required files, you need to disconnect the created virtual disk from the system.
- Opening Computer Management -> Disk Management
- Right-click on the created disk -> Detach VHD -> OK
Only after these steps can you attach the disk to the VM. To make changes to the files located on this virtual disk, it needs to be connected back to the system (if the disk is connected to a virtual machine, you need to stop it before starting actions with the disk, in order to avoid problems with a busy device).
- Opening Computer Management -> Disk Management
- Action -> Attach VHD
- Select the disk by its location -> OK The disk will appear in explorer.
VM settings (graphical representation of text material)
We will touch not only the configuration of the virtual machine, but also the creation.
- Machine -> New
- Specify the name of the virtual machine and the desired location
- Type ->
Other
- Version ->
Other/Unknown (64-bit)
-> next- Allocate the possible amount of RAM -> next
- Hard Disk -> Do not add virtual hard drive -> Create -> Continue
Go to the settings of the virtual machine itself.
- Right-click on the created machine -> Settings
- System ->
Enable EFI (special Forces only)
- System -> Processor -> Specify the number of processor cores
- Network -> Attached to:
NAT
-> Advanced -> Adapter type:Paravirtualized Network (virtio-net)
- Network -> Advanced ->
Port Forwarding
-> Right-click -> Add New Rule ->Host port: 21841
->Guest Port: 21841
-> OK- Storage ->
Controller: IDE
-> Right-click -> Hard Disk -> Select a previously created disk -> OK
Below I describe exactly the files that I use. You can do it differently. All these files (except Qubic.efi) can be downloaded here. If you are afraid to open it .zip from a stranger - I will place a folder with the same files next to the archive :) The Qubic.efi file itself is the result of compiling the code (insert your own).
└── mining.data
└── solution.data
└── system.data
└── efi
└── boot
└── bootaa64.efi
└── bootarm.efi
└── bootia32.efi
└── bootriscv64.efi
└── bootx64.efi
└── HttpDxe.efi
└── Qubic.efi
└── startup.nsh
Each screenshot shows a sequence of actions.
Each screenshot shows a sequence of actions.
Each screenshot shows a sequence of actions.