Coder Social home page Coder Social logo

for_qubic's Introduction

QUBIC

Various information that helped me in setting up and installing qubic



Table Of Contents


  1. Installation on a VM (Virtual Box) on a WinServer or Win10 host
    1. Installing Virtual Box
    2. Preparing the boot disk
    3. VM settings
    4. How to place Qubic files on disk


Installation on a VM (Virtual Box) on a WinServer or Win10 host

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 .




You can download VirtualBox from any website, but I advise you to use the official website.

  1. Download VirtualBox by clicking on the big blue Download button
  2. After selecting the desired operating system
  3. Start the installation by double-clicking on the installer shortcut. next -> next -> next -> yes -> Install



We create a virtual disk using standard Windows tools.

  1. Opening Computer Management -> Disk Management
  2. Action -> Create VHD
  3. In the location field, specify the full path to the file and its name
  4. In the Virtual hard disk size line, specify the required volume of the disk being created
  5. Specify VHD as the disk format
  6. 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)
  7. Click OK

After the completed actions, a new space will appear in Computer Management. For further configuration, we do the following steps.

  1. Right-click on Disk* (Unknown)
  2. Initialize disk
  3. Choose the markup style MBR -> OK
  4. Right-click on the free space of the new disk (Unallocated)
  5. New Simple Volume -> next -> next -> next ->
  6. File system - FAT32
  7. 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.

  1. Opening Computer Management -> Disk Management
  2. 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).

  1. Opening Computer Management -> Disk Management
  2. Action -> Attach VHD
  3. Select the disk by its location -> OK The disk will appear in explorer.



We will touch not only the configuration of the virtual machine, but also the creation.

  1. Machine -> New
  2. Specify the name of the virtual machine and the desired location
  3. Type -> Other
  4. Version -> Other/Unknown (64-bit) -> next
  5. Allocate the possible amount of RAM -> next
  6. Hard Disk -> Do not add virtual hard drive -> Create -> Continue

Go to the settings of the virtual machine itself.

  1. Right-click on the created machine -> Settings
  2. System -> Enable EFI (special Forces only)
  3. System -> Processor -> Specify the number of processor cores
  4. Network -> Attached to: NAT -> Advanced -> Adapter type: Paravirtualized Network (virtio-net)
  5. Network -> Advanced -> Port Forwarding -> Right-click -> Add New Rule -> Host port: 21841 -> Guest Port: 21841 -> OK
  6. Storage -> Controller: IDE -> Right-click -> Hard Disk -> Select a previously created disk -> OK



How to place Qubic files on disk

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 



Installing Virtual Box (graphical representation)

Each screenshot shows a sequence of actions.

alt text alt text alt text alt text alt text alt text alt text alt text




Preparing the boot disk (graphical representation)

Each screenshot shows a sequence of actions.

Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size




VM settings (graphical representation)

Each screenshot shows a sequence of actions.

Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size Stack size

for_qubic's People

Contributors

the-universe-medic avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.