[GUIDE] Hive OS VM in 10 minutes


zeus83

13 posts in this topic Last Reply

Recommended Posts

Hi guys, I've recently setup a Hive OS VM and ecountered a couple of issues during this. So I've decided to prepare a quick start guide. This guide won't explain you what Hive OS is and used for, neither it will show how to setup your Hive OS account and crypto wallets. There is a lot of guides on this on the web.

 

[Prerequisite]

The only prerequisite is you have to setup your Hive OS account and properly configure at least one farm and worker. You can go through the guide here or just google any appropriate guide you like.

 

[Instructions]

  1. Download the latest Hive OS GPU image here . You should then unpack it and put into your isos share temporarily. For me it was a 7Gb file named hiveos-0.6-97@191128.img .
  2. Normally this image file is supposed to be written to the usb stick, but we instead just use it as our VM disk. You need to copy the image to your VM share.
  3. cd /mnt/disks/vm/
    mkdir hiveos
    cp /mnt/user/isos/hiveos-0.6-97@191128.img hiveos/vdisk1.img
    
  4. Now let's create a VM itself which will use our Hive OS disk image. Use Ubuntu template because Hive OS is ubuntu based distro.
  5. There are however a couple of issues we must to address. First I suggest to leave OVMF bios as default. If the VM won't boot then try the same steps with SeaBIOS. I wasn't able to boot some cards with default OVMF bios. Second it seems that Hive OS doesn't contain the Virtio drivers normally found in Ubuntu and most Linux distros. I could overcome this with setting Primary vdisk bus to SATA . As for CPU and memory don't assign much resources to it. 
  6. hiveos-vm.thumb.PNG.cabdd3be4c98f825ed21980fa35d1f83.PNG
  7. You have to pass your dedicated GPU as well because Hive OS isn't much useful without it. 
  8. hiveos-vm2.PNG.7221a1b96084b1c1bac3b2d2cf7f567a.PNG
  9. Switch to XML view to change the network adapter, because as I told before there are no Virtio drivers preinstalled in Hive OS. I chose rtl8139 and it worked fine for me. You must remember that whenever you edit anything using the form view the XML part would reset and you'll have to add that part once again.
  10. hiveos-vm3.PNG.8fc44cd0a60943c1ada0e46ef5f58e9c.PNG
  11. Now we are ready to start our VM. Once VM is started properly you need to figure out it's assigned IP. I use my router admin page for that.
  12. Then we need connect to our VM and finish the worker configuration. Since we passed through GPU and didn't configure the VNC we'll use Hive OS integrated shellinabox. Open https://YOUR_IP:4200/ in a browser. Default login is user password 1 . If everything is ok you'll see a welcoming screen like this.
  13. hiveos-vm4.PNG.fe9cc2d23b3b3d37d77533d37125e05f.PNG
  14. Your GPU must be present and identified correctly.
  15. It's now time to finish our Hive OS worker setup. Type firstrun and follow the instructions to enter your worker RIG_ID and RIG_PASSWORD .
  16. hiveos-vm5.PNG.89c0902d80c46beb8336dbd5ddc8d6c3.PNG
  17. You'd better reboot your VM after configuration finished.
  18. After completion you might check your Hive dashboard to see that the worker is online and assign a flight sheet to it.
  19. hiveos-vm6.thumb.PNG.7e961a3cd4c00c2978918f6f158cad94.PNG

 

[FAQ]

todo

Edited by zeus83
Link to post
  • 9 months later...
On 3/27/2020 at 4:31 AM, zeus83 said:

Hi guys, I've recently setup a Hive OS VM and ecountered a couple of issues during this. So I've decided to prepare a quick start guide. This guide won't explain you what Hive OS is and used for, neither it will show how to setup your Hive OS account and crypto wallets. There is a lot of guides on this on the web.

 

[Prerequisite]

The only prerequisite is you have to setup your Hive OS account and properly configure at least one farm and worker. You can go through the guide here or just google any appropriate guide you like.

 

[Instructions]

  1. Download the latest Hive OS GPU image here . You should then unpack it and put into your isos share temporarily. For me it was a 7Gb file named hiveos-0.6-97@191128.img .
  2. Normally this image file is supposed to be written to the usb stick, but we instead just use it as our VM disk. You need to copy the image to your VM share.
  3. 
    cd /mnt/disks/vm/
    mkdir hiveos
    cp /mnt/user/isos/hiveos-0.6-97@191128.img hiveos/vdisk1.img
    
  4. Now let's create a VM itself which will use our Hive OS disk image. Use Ubuntu template because Hive OS is ubuntu based distro.
  5. There are however a couple of issues we must to address. First change the bios to SeaBIOS. I wasn't able to boot the system with default OVMF bios. Second it seems that Hive OS doesn't contain the Virtio drivers normally found in Ubuntu and most Linux distros. I could overcome this with setting Primary vdisk bus to SATA . As for CPU and memory don't assign much resources to it. 
  6. hiveos-vm.thumb.PNG.cabdd3be4c98f825ed21980fa35d1f83.PNG
  7. You have to pass your dedicated GPU as well because Hive OS isn't much useful without it. 
  8. hiveos-vm2.PNG.7221a1b96084b1c1bac3b2d2cf7f567a.PNG
  9. Switch to XML view to change the network adapter, because as I told before there are no Virtio drivers preinstalled in Hive OS. I chose rtl8139 and it worked fine for me. You must remember that whenever you edit anything using the form view the XML part would reset and you'll have to add that part once again.
  10. hiveos-vm3.PNG.8fc44cd0a60943c1ada0e46ef5f58e9c.PNG
  11. Now we are ready to start our VM. Once VM is started properly you need to figure out it's assigned IP. I use my router admin page for that.
  12. Then we need connect to our VM and finish the worker configuration. Since we passed through GPU and didn't configure the VNC we'll use Hive OS integrated shellinabox. Open https://YOUR_IP:4200/ in a browser. Default login is user password 1 . If everything is ok you'll see a welcoming screen like this.
  13. hiveos-vm4.PNG.fe9cc2d23b3b3d37d77533d37125e05f.PNG
  14. Your GPU must be present and identified correctly.
  15. It's now time to finish our Hive OS worker setup. Type firstrun and follow the instructions to enter your worker RIG_ID and RIG_PASSWORD .
  16. hiveos-vm5.PNG.89c0902d80c46beb8336dbd5ddc8d6c3.PNG
  17. You'd better reboot your VM after configuration finished.
  18. After completion you might check your Hive dashboard to see that the worker is online and assign a flight sheet to it.
  19. hiveos-vm6.thumb.PNG.7e961a3cd4c00c2978918f6f158cad94.PNG

 

[FAQ]

todo

To be able to see Step 9 it required me to start the VM then shutdown. I could then see the XML page. Thanks for the help. It works great.

Link to post
  • 4 weeks later...

Hello and thanks for posting the guide. 
I managed to get it working with a default OVMF bios just fine. I am running a pair of GTX 1060's on economic settings and it runs clean.

hiveOS is a nice convenient tool for managing miners. I got around 1-2% more hash on windows, but managing mining windows VM on Unraid is crappy.

Link to post

I am having an issue, the GPU is no longer seen by the VM on rebooting the VM, unfortunately I can only position it on Slot 1 on my system.

I am getting this error in hiveos on reboot:

Quote

3s - nvtool error (123)

999;Unknown Error;00000000:00:00.0;;;0;0;0;0.0;0.0;0.0;0;Unknown;999;



GPU Slot 1: Nvidia RT 3070 Gigabyte Vision OC

GPU Slot 2: AMD FirePro 2270
Workstation: HP Z440

Link to post
  • 4 weeks later...
  • 3 weeks later...
  • 3 weeks later...

I have been trying to get this working, but there is some issue with how my GPU is passed through. I have tried this with both a 3090 and 1660 Super, and both end up with the GPU only kind of being recognized (or maybe not being recognized at all)
image.png.1ed0d11dc5f7fc92a57ccc5ff1399760.png
No GPU is listed when I first sign in via ShellInABox, either. Any ideas?

Link to post
  • 4 weeks later...
On 3/27/2020 at 7:31 AM, zeus83 said:

Hi guys, I've recently setup a Hive OS VM and ecountered a couple of issues during this. So I've decided to prepare a quick start guide. This guide won't explain you what Hive OS is and used for, neither it will show how to setup your Hive OS account and crypto wallets. There is a lot of guides on this on the web.

 

[Prerequisite]

The only prerequisite is you have to setup your Hive OS account and properly configure at least one farm and worker. You can go through the guide here or just google any appropriate guide you like.

 

[Instructions]

  1. Download the latest Hive OS GPU image here . You should then unpack it and put into your isos share temporarily. For me it was a 7Gb file named hiveos-0.6-97@191128.img .
  2. Normally this image file is supposed to be written to the usb stick, but we instead just use it as our VM disk. You need to copy the image to your VM share.
  3. 
    cd /mnt/disks/vm/
    mkdir hiveos
    cp /mnt/user/isos/hiveos-0.6-97@191128.img hiveos/vdisk1.img
    
  4. Now let's create a VM itself which will use our Hive OS disk image. Use Ubuntu template because Hive OS is ubuntu based distro.
  5. There are however a couple of issues we must to address. First change the bios to SeaBIOS. I wasn't able to boot the system with default OVMF bios. Second it seems that Hive OS doesn't contain the Virtio drivers normally found in Ubuntu and most Linux distros. I could overcome this with setting Primary vdisk bus to SATA . As for CPU and memory don't assign much resources to it. 
  6. hiveos-vm.thumb.PNG.cabdd3be4c98f825ed21980fa35d1f83.PNG
  7. You have to pass your dedicated GPU as well because Hive OS isn't much useful without it. 
  8. hiveos-vm2.PNG.7221a1b96084b1c1bac3b2d2cf7f567a.PNG
  9. Switch to XML view to change the network adapter, because as I told before there are no Virtio drivers preinstalled in Hive OS. I chose rtl8139 and it worked fine for me. You must remember that whenever you edit anything using the form view the XML part would reset and you'll have to add that part once again.
  10. hiveos-vm3.PNG.8fc44cd0a60943c1ada0e46ef5f58e9c.PNG
  11. Now we are ready to start our VM. Once VM is started properly you need to figure out it's assigned IP. I use my router admin page for that.
  12. Then we need connect to our VM and finish the worker configuration. Since we passed through GPU and didn't configure the VNC we'll use Hive OS integrated shellinabox. Open https://YOUR_IP:4200/ in a browser. Default login is user password 1 . If everything is ok you'll see a welcoming screen like this.
  13. hiveos-vm4.PNG.fe9cc2d23b3b3d37d77533d37125e05f.PNG
  14. Your GPU must be present and identified correctly.
  15. It's now time to finish our Hive OS worker setup. Type firstrun and follow the instructions to enter your worker RIG_ID and RIG_PASSWORD .
  16. hiveos-vm5.PNG.89c0902d80c46beb8336dbd5ddc8d6c3.PNG
  17. You'd better reboot your VM after configuration finished.
  18. After completion you might check your Hive dashboard to see that the worker is online and assign a flight sheet to it.
  19. hiveos-vm6.thumb.PNG.7e961a3cd4c00c2978918f6f158cad94.PNG

 

[FAQ]

How do I use ubuntus template??

 

 

Link to post
Posted (edited)
On 4/28/2021 at 9:44 AM, tcwatson said:

I have been trying to get this working, but there is some issue with how my GPU is passed through. I have tried this with both a 3090 and 1660 Super, and both end up with the GPU only kind of being recognized (or maybe not being recognized at all)
image.png.1ed0d11dc5f7fc92a57ccc5ff1399760.png
No GPU is listed when I first sign in via ShellInABox, either. Any ideas?

Hi, I've prepared the instruction in  a way that you don't have to see this QXL paravirtual graphic card.

If you still see it in the VM then you do something wrong.

 

If you share your VM xml I can be more specific.

Edited by zeus83
Link to post
  • 3 weeks later...

Pl

On 3/27/2020 at 7:31 AM, zeus83 said:

Hi guys, I've recently setup a Hive OS VM and ecountered a couple of issues during this. So I've decided to prepare a quick start guide. This guide won't explain you what Hive OS is and used for, neither it will show how to setup your Hive OS account and crypto wallets. There is a lot of guides on this on the web.

 

[Prerequisite]

The only prerequisite is you have to setup your Hive OS account and properly configure at least one farm and worker. You can go through the guide here or just google any appropriate guide you like.

 

[Instructions]

  1. Download the latest Hive OS GPU image here . You should then unpack it and put into your isos share temporarily. For me it was a 7Gb file named hiveos-0.6-97@191128.img .
  2. Normally this image file is supposed to be written to the usb stick, but we instead just use it as our VM disk. You need to copy the image to your VM share.
  3. 
    cd /mnt/disks/vm/
    mkdir hiveos
    cp /mnt/user/isos/hiveos-0.6-97@191128.img hiveos/vdisk1.img
    
  4. Now let's create a VM itself which will use our Hive OS disk image. Use Ubuntu template because Hive OS is ubuntu based distro.
  5. There are however a couple of issues we must to address. First I suggest to leave OVMF bios as default. If the VM won't boot then try the same steps with SeaBIOS. I wasn't able to boot some cards with default OVMF bios. Second it seems that Hive OS doesn't contain the Virtio drivers normally found in Ubuntu and most Linux distros. I could overcome this with setting Primary vdisk bus to SATA . As for CPU and memory don't assign much resources to it. 
  6. hiveos-vm.thumb.PNG.cabdd3be4c98f825ed21980fa35d1f83.PNG
  7. You have to pass your dedicated GPU as well because Hive OS isn't much useful without it. 
  8. hiveos-vm2.PNG.7221a1b96084b1c1bac3b2d2cf7f567a.PNG
  9. Switch to XML view to change the network adapter, because as I told before there are no Virtio drivers preinstalled in Hive OS. I chose rtl8139 and it worked fine for me. You must remember that whenever you edit anything using the form view the XML part would reset and you'll have to add that part once again.
  10. hiveos-vm3.PNG.8fc44cd0a60943c1ada0e46ef5f58e9c.PNG
  11. Now we are ready to start our VM. Once VM is started properly you need to figure out it's assigned IP. I use my router admin page for that.
  12. Then we need connect to our VM and finish the worker configuration. Since we passed through GPU and didn't configure the VNC we'll use Hive OS integrated shellinabox. Open https://YOUR_IP:4200/ in a browser. Default login is user password 1 . If everything is ok you'll see a welcoming screen like this.
  13. hiveos-vm4.PNG.fe9cc2d23b3b3d37d77533d37125e05f.PNG
  14. Your GPU must be present and identified correctly.
  15. It's now time to finish our Hive OS worker setup. Type firstrun and follow the instructions to enter your worker RIG_ID and RIG_PASSWORD .
  16. hiveos-vm5.PNG.89c0902d80c46beb8336dbd5ddc8d6c3.PNG
  17. You'd better reboot your VM after configuration finished.
  18. After completion you might check your Hive dashboard to see that the worker is online and assign a flight sheet to it.
  19. hiveos-vm6.thumb.PNG.7e961a3cd4c00c2978918f6f158cad94.PNG

 

[FAQ]

todo

Would you please give more details avbout how to create a VM with hive? What software did you use? Virtualbox? Iḿ trying to create a HIVEOS VM using virtualbox on ubuntu, but i'm having issues converting .img.xz to .vdi.

Link to post
On 6/17/2021 at 9:00 PM, RB-BR said:

Pl

Would you please give more details avbout how to create a VM with hive? What software did you use? Virtualbox? Iḿ trying to create a HIVEOS VM using virtualbox on ubuntu, but i'm having issues converting .img.xz to .vdi.

I've seen a few people asking this question and i thought i'd take a second to explain the reason no one is answering your question.

If you look at the forum name you'll see this is an unraid forum and this question shows that you don't know what that is.

Unraid is an OS for home lab / servers / repurposed desktops to offer File server / Docker / VM's

I believe VM's are driven by KVM but i'm no expert and as mentioned above VirtIO drivers can be used at times

You could run ubuntu and Hive OS as separate VM's on Unraid (and still have a file server and docker running in the background) but i don't think you'll find any help getting virtualbox going on this forum.

 

Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.