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.

Basic guide for windows VM in unraid.

Featured Replies

Have you found a solution? This is frustrating - I was trying with and without e1000, with and without device_model_version .... I tried RFehrs advise (vncconsole = '1') but still no luck. My router isn't assigning an IP....

  • Replies 146
  • Views 25.6k
  • Created
  • Last Reply

Have you found a solution? This is frustrating - I was trying with and without e1000, with and without device_model_version .... I tried RFehrs advise (vncconsole = '1') but still no luck. My router isn't assigning an IP....

 

What's all that other crap in there? Why not just clean it up without all those comments just incase. Have you tried my .cfg file?

Yes your .cfg file was the starting point

 

 

Sent from my iPad using Tapatalk

There have been a few issues, what is the issue you have binhex?

@ironicbadger

Still not working :(

 

 

Sent from my iPhone using Tapatalk 2

@ironicbadger

Still not working :(

 

 

Sent from my iPhone using Tapatalk 2

 

My first question is, how many CPUs does your main rig have?

 

Second, try this, comment out or remove the lines that have to do with the hard drives and the NIC.  This will create a VM that wont do anything, but it will start in the same way as a computer without a hard drive or NIC.  This is the method I used to narrow my issue to the NIC, but in reality it wasn't the NIC, the whole system just needed rebooted.

 

If the system boots, add back the disks and boot again...

  • 3 weeks later...

apologies in advance for the noob question. i'm trying to get the windows vm up and running i believe i have it on:

 

 

root@Unraid:/mnt/user/cache_only/Windows# xl create windows.cfg

Parsing config from windows.cfg

xc: info: VIRTUAL MEMORY ARRANGEMENT:

  Loader:        0000000000100000->000000000019ec84

  Modules:      0000000000000000->0000000000000000

  TOTAL:        0000000000000000->000000007f800000

  ENTRY ADDRESS: 0000000000100000

xc: info: PHYSICAL MEMORY ALLOCATION:

  4KB PAGES: 0x0000000000000200

  2MB PAGES: 0x00000000000003fb

  1GB PAGES: 0x0000000000000000

Daemon running with PID 1631

root@Unraid:/mnt/user/cache_only/Windows#

 

 

when i type 'xl top' i also see it as a vm.

 

now the noob question: how do i access it via vnc? i don't know the ip address and when i use vnc chicken i enter the host name (in my case its 'windows') but that doesn't work

can someone provide a how to please??

thanks in advance.

 

  • Author

Use the ip

Use the ip

He means use the Unraid box IP I believe (that's where the console for VNC will be hosted on, since it's not running in the VM, but part of the Xen configuration).

 

  • Author

Correct

tx! i tried that before and it didn't work, i re-checked my cfg file and now i see the screen. One issue solved another one comes up...this time i'm receiving an error stating it cannot read from the cd rom. need to check my cfg file again.

 

Tx. Im learning quite a bit. So far i installed arch and ubuntu vm's however windows is proving to be a challenge to install. I keep getting stuck at the point of installing windows it keeps saying i dony have a boot disk. Im using windows 7 ( legitimate copy) im at wits end!

  • Author

sounds like to me you didn't create a data disc to install windows to or if you did your config is Not set properly and its not seeing it as a boot device

  • Author

post your config that you're using

Tx. Im learning quite a bit. So far i installed arch and ubuntu vm's however windows is proving to be a challenge to install. I keep getting stuck at the point of installing windows it keeps saying i dony have a boot disk. Im using windows 7 ( legitimate copy) im at wits end!

 

I've said this at least a dozen times across these forums, including in my Windows guide post and the FAQ (have you read these??).

 

Windows 7 doesn't work well with passthrough and Xen. It does install just fine though. Maybe if there's enough motivation and interest I'll do a step by step Windows install video with Xen...

Tx. Im learning quite a bit. So far i installed arch and ubuntu vm's however windows is proving to be a challenge to install. I keep getting stuck at the point of installing windows it keeps saying i dony have a boot disk. Im using windows 7 ( legitimate copy) im at wits end!

 

I've said this at least a dozen times across these forums, including in my Windows guide post and the FAQ (have you read these??).

 

Windows 7 doesn't work well with passthrough and Xen. It does install just fine though. Maybe if there's enough motivation and interest I'll do a step by step Windows install video with Xen...

 

My win7 vms is rock solid with pcie passthrough of tv tuner cards (did not try gpu as don't need it).

 

@petria3, what's your os install media? An ISO?

 

Peter

@ironicbadger - yes i've read them all! however i did see folks successfully install win7 and wanted to try it out...doesn't hurt to try:)

 

btw, you have my vote for a windows install video! anyone else??

 

@meep - if you can run down your instructions on how you got win7 to work that would be great!

 

@pyrater: here is my config file which is likely the culprit. i've looked at it a dozen times so maybe a fresh set of eyes will help.

 

thank you all in advance, these forums and the support you get are outstanding!!

 

------------------------------------------------------------

name = 'windows'

kernel = 'hvmloader'

builder = 'hvm'

vcpus = '2'

memory = '2048'

disk = [

'phy:/mnt/user/cache_only/VM/windows/windows.img,hda,w' ,

'file:/mnt/user/cache_only/ISOs/Win7.iso,hdb,r' ]

 

vif = [ 'mac=00:16:3e:xx:xx:xx,bridge=br0' ]

 

boot="dc"

 

acpi = '1'

apic = '1'

viridian = '1'

xen_platform_pci='1'

sdl = '0'

vnc = '1'

vnclisten = '0.0.0.0'

vncpasswd = ''

usb = '1'

usbdevice = 'tablet'

 

on_poweroff="destroy"

on_reboot="restart"

on_crash="restart"

@pyrater: here is my config file which is likely the culprit. i've looked at it a dozen times so maybe a fresh set of eyes will help.

 

disk = [

'phy:/mnt/user/cache_only/VM/windows/windows.img,hda,w' ,

'file:/mnt/user/cache_only/ISOs/Win7.iso,hdb,r' ]

 

In my config file which works, I have my disk definition as

disk = [

'file:/mnt/cache/Xen/windows_7_pro_32/windows_7_pro_32.img,hda,w' ,

'file:/mnt/cache/Xen/windows_7_pro_32/'Windows 7 Pro SP1 (64 bit).iso,hdc:cdrom,r']

 

Maybe you need the explicit specification of it being a cdrom image?

Put the iso as cdrom and define boot order with the cdrom as the higher priority. Just follow the posted guides on the forum. The second post of this thread has all the info you need

 

it works! not putting the iso as cdrom was the culprit; i'm installing windows 7 right now...i will await the next issue:) thanks everyone!

  • 3 weeks later...

Thanks SchoolBusDriver!

With your guide I was able to get Windows 7 VM  installed on beta 4.

Same here - installation in progress as I type...thanks for the quick and easy guide!

  • 2 weeks later...

Okay, I have a Windows VM up and running .... with XP! Don't laugh - it's latest Win distribution disk I have (SP1a ... I spent ages with Windows Update after the initial install!).  I could have tried Win2k, or Win95, Win3.1 or even OS/2!

 

Now I have a question - is it possible to use one of the USB ports in the Win VM?  Obviously I can't pass all the ports through - I need my unRAID flash drive to be accessible in Dom0! Would upgrading to a later Windows make this easier?

 

Oh, I do have the gplpv drivers installed.

 

Okay, I have a Windows VM up and running .... with XP! Don't laugh - it's latest Win distribution disk I have (SP1a ... I spent ages with Windows Update after the initial install!).  I could have tried Win2k, or Win95, Win3.1 or even OS/2!

 

Now I have a question - is it possible to use one of the USB ports in the Win VM?  Obviously I can't pass all the ports through - I need my unRAID flash drive to be accessible in Dom0! Would upgrading to a later Windows make this easier?

 

Oh, I do have the gplpv drivers installed.

 

Lol, and you decided to do this right after support ended? I would love to try win 3.1 as a vm, though.

 

You know what, I will do that (if it even works)

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.