Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: dragonmike on May 18, 2018, 09:54:10 AM



Title: Can you run a Linux mining distro inside a Windows virtual machine?
Post by: dragonmike on May 18, 2018, 09:54:10 AM
Warning: this is a very n00bish question. But yeah. I am a Linux noob.

I know you can run Linux "inside" a Windows Virtual Machine. Would it be possible to theoretically install a Linux based mining OS (eg. hive) and run it in an Oracle VM virtual box?

Reason I'm asking is I do have a couple of remote rigs I can only access with Teamviewer, and I'd like to try a couple of Linux-only miners. I'm pretty confident I know the answer to the above but I'd love to hear it from the more experienced Linux users out there.


Title: Re: Can you run a Linux mining distro inside a Windows virtual machine?
Post by: leonix007 on May 18, 2018, 01:18:54 PM
Warning: this is a very n00bish question. But yeah. I am a Linux noob.

I know you can run Linux "inside" a Windows Virtual Machine. Would it be possible to theoretically install a Linux based mining OS (eg. hive) and run it in an Oracle VM virtual box?

Reason I'm asking is I do have a couple of remote rigs I can only access with Teamviewer, and I'd like to try a couple of Linux-only miners. I'm pretty confident I know the answer to the above but I'd love to hear it from the more experienced Linux users out there.

Yo dude, honestly I don't try this yet, however, some answers are here

https://bitcointalk.org/index.php?topic=1666362.0

EDIT:

check also this link

https://www.reddit.com/r/EtherMining/comments/6psuja/would_using_a_virtual_machine_to_mine_reduce_my/


Title: Re: Can you run a Linux mining distro inside a Windows virtual machine?
Post by: Patuba on May 18, 2018, 01:51:31 PM
Yes, you can run a Linux VM on a Windows machine. I think the problem you could run into is having the Linux machine use the GPU, if that is what you want. VMs usually emulate hardware, you would need to do a pass through to the GPU if you want to do GPU mining.


Title: Re: Can you run a Linux mining distro inside a Windows virtual machine?
Post by: dragonmike on May 18, 2018, 01:58:51 PM
Hah. So it is possible. Who'd've thunk.

But seems a bit tricky to get running. I'll have to give it a whirl though if I have time one day. If I use igfx for Windows, I can enable PCIe passthrough for the 1080's and take it from there.

HiveOS over Oracle VM. I like the sound of that.


Title: Re: Can you run a Linux mining distro inside a Windows virtual machine?
Post by: dragonmike on May 22, 2018, 04:22:11 PM
Actually I wanna try that on one of my AMD rigs.
How do I set GPU passthrough in Windows?


Title: Re: Can you run a Linux mining distro inside a Windows virtual machine?
Post by: vuli1 on May 22, 2018, 04:29:01 PM
ej, I ama fraid you can do that. Virtual box have some generic drivers.


Title: Re: Can you run a Linux mining distro inside a Windows virtual machine?
Post by: fanatic26 on May 22, 2018, 04:48:06 PM
Teamviewer works in linux if that is your only connection method. Running a linux miner emulated in all cases will be worse than just mining on Windows if that is your only option.