Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Boot VM from a .img??

Featured Replies

Looking to check out a mining software platform that is in .img format. This is meant to be burned to a USB, but wondering if I can boot it in a VM under unraid? The OS they used is Ubuntu. I point the drive to it in the settings, but it goes to uefi shell every time??

create a new ubuntu vm using seabios instead of ovmf.

  • Author

What would the "machine type" be? I want to boot the VM under that .img every time, it's like a "live CD" image.

 

I had seen that thread you linked, but I got a little lost in there. QEMU isn't something I'm very familiar with.

Edited by CowboyRedBeard

Whatever the default is for Ubuntu vm for machine type.

 

selext the img file as the primary disk and it will use that.

 

i didn’t link anything, that’s just in my sig.

  • Author

So I set it up same machine type as my working Ubuntu VM, then pointed the drive location to the .img file...  and I get the following error:

 

Execution error

internal error: process exited while connecting to monitor: 2017-12-15T18:50:41.743300Z qemu-system-x86_64: cannot set up guest memory 'pc.ram': Cannot allocate memory

 

 

so... you're out of ram?

  • Author

Well.... I had 3G left and was only allocating 1G to this box just to see if I could get it to boot.  So I shut down a different VM and when 6G free, and 2G allocated to this box it would launch, but then I get UEFI shell.

On 12/13/2017 at 4:53 PM, 1812 said:

...seabios instead of ovmf.

 

  • Author

Ok that got it to boot, but then it hangs at a screen like the attached.

 

 

Thanks for all the help so far, maybe this just doesn't work... But seems like there should be a way. This is what I'm trying to run:

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

 

The file they give you is a USB drive image.

 

When it boots it does go to a blank Ubuntu purple color screen, then to the attached. Maybe it doesn't like the drive type or something?

 

nvoc.png

hard to say. i've never run a mining program.

  • Author

It's a customized version of Ubuntu... I'm sure it's not booting due to something it doesn't like about the qemu settings. I'm just not sure how to figure out what that is.

8 hours ago, CowboyRedBeard said:

It's a customized version of Ubuntu... I'm sure it's not booting due to something it doesn't like about the qemu settings. I'm just not sure how to figure out what that is.

 

I downloaded the image and got it booted.

 

You can use either a linux or ubuntu template, set bios to Seabios, and under primary disk select the .img file and change bus type to USB.

 

I didn't log in to the os, so I don't know what other adventures await you.

 

 

Capture.thumb.PNG.04257efd3b37712c812296d142e516a6.PNG

  • 3 months later...

Been looking for the same for "CHOSN" seems like its working!

 

Spend some time trying to convert IMG to ISO - been thinking to use the IMG directly (but stayed just with that :D )

 

Sadly the IOMMU Groups  on my board (Asus Crosshair Hero VI) are able only to add 2 cards :( 

 

 

 

Thanks a lot

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.