[GUIDE] Hive OS VM in 10 minutes


zeus83

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
  • Like 4
  • Thanks 1
Link to comment
  • 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 comment
  • 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 comment

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 comment
  • 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 comment
  • 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 comment
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 comment
  • 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 comment
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 comment
  • 2 months later...
  • 5 weeks later...

Got it working as well! Thanks so much for the guide! I quickly set it up with ETH, and I'm getting 27mh/s, which I don't really know what that means. This is my first attempt to mining and using the idle time of the server to make something :). 

 

I have an RTX 2060 working on it. Also, about 8 core and 16gb ram that are unused when not using my gaming VM.

 

What would you mine with this setup? 

Link to comment
On 10/12/2021 at 2:14 PM, cookiemonsters said:

Got it working as well! Thanks so much for the guide! I quickly set it up with ETH, and I'm getting 27mh/s, which I don't really know what that means. This is my first attempt to mining and using the idle time of the server to make something :). 

 

I have an RTX 2060 working on it. Also, about 8 core and 16gb ram that are unused when not using my gaming VM.

 

What would you mine with this setup? 

ETH is top dog at the moment so all good there. If your on a good pool then the only thing left to do is see how far you can over clock it before you get a little red number next to it or have the vm crash

Try and limit the power, boost the ram and drop the core.

(YouTube 2060 OC on HiveOS and see if you can find one with the same memory type... even then the settings will be different)

tip... Your looking for slow core and fast ram with low power (maybe 950-1080 core    2000-2500 mem and power as low as it'll go (i think 70w)

 

I don't have a 2060 but my 1660ti gets 31mh/s and my 2070 gets 44mh/s, the internet says you should get 33mh/s but you'll need to dial it in and see what your silicon will do.

It's not difficult but it takes a while (it might run for a few hours and then crash if you are a little to high)

 

Re CPU... Unless you have a very very current gen CPU don't mine with CPU or you'll spend more on power than you make.

(5800x is ok but 1800x will lose you money) 

(my 5900x makes like £0.50 a day so it hardly worth worrying about compared to the 10 cards in the other room)

Edited by mdrodge
Link to comment
On 9/13/2021 at 3:30 AM, RealActorRob said:

Got it running. Notes and a YouTube video to follow.

 

Using XMrig CPU only just to get it going.

 

First note, 3GB of RAM is enough. Have 300+mb left over. I suppose this might not be enough for GPU mining, but it's fine for CPU XMR mining. 

 

 

For GPU mining 1500mb is enough but CPU mining requires the DAG to be held in ram

I'd check to see that you are not just wasting money since CPU mining is not very profitable (today my 5900x is making £0 profit, a few days ago it was £0.50p a day)

If you're not mining with at least 1 GPU it is pointless.

(the NiceHash windows client can be configured to stop mining when profit drops below cost witch is the only way I'd ever consider CPU mining)

Link to comment

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.