Jump to content

Unraid 6.12.10无法安装Windows11虚拟机


Recommended Posts

Unraid 6.12.10无法安装Windows11虚拟机,原因是安装操作系统的时候是需要重启的。但每次重启的时候vnc窗口卡死,重新打开也不行。而断电重启后又会将安装步骤重来进入下一个死循环。。。。整个过程中系统没有明显的报错日志。诊断信息已上传!

 

总而言之就是虚拟机的vnc窗口在机器reboot的时候就会卡死,而且无法恢复!

tower-diagnostics-20240417-1102.zip

Edited by ylu
Link to comment
11 minutes ago, JackieWu said:

日志里面没看出来什么问题,请将你的 win 虚拟机配置模板和“设置 - 虚拟机设置”截图贴上来。

<?xml version='1.0' encoding='UTF-8'?>
<domain type='kvm'>
  <name>Windows 11</name>
  <uuid>f9c31a98-1665-6f48-fbe3-cff11c1d915e</uuid>
  <metadata>
    <vmtemplate xmlns="unraid" name="Windows 11" icon="windows11.png" os="windowstpm"/>
  </metadata>
  <memory unit='KiB'>8388608</memory>
  <currentMemory unit='KiB'>8388608</currentMemory>
  <memoryBacking>
    <nosharepages/>
  </memoryBacking>
  <vcpu placement='static'>2</vcpu>
  <cputune>
    <vcpupin vcpu='0' cpuset='0'/>
    <vcpupin vcpu='1' cpuset='3'/>
  </cputune>
  <os>
    <type arch='x86_64' machine='pc-i440fx-7.2'>hvm</type>
    <loader readonly='yes' type='pflash'>/usr/share/qemu/ovmf-x64/OVMF_CODE-pure-efi-tpm.fd</loader>
    <nvram>/etc/libvirt/qemu/nvram/f9c31a98-1665-6f48-fbe3-cff11c1d915e_VARS-pure-efi-tpm.fd</nvram>
  </os>
  <features>
    <acpi/>
    <apic/>
    <hyperv mode='custom'>
      <relaxed state='on'/>
      <vapic state='on'/>
      <spinlocks state='on' retries='8191'/>
      <vendor_id state='on' value='none'/>
    </hyperv>
  </features>
  <cpu mode='host-passthrough' check='none' migratable='on'>
    <topology sockets='1' dies='1' cores='2' threads='1'/>
    <cache mode='passthrough'/>
  </cpu>
  <clock offset='localtime'>
    <timer name='hypervclock' present='yes'/>
    <timer name='hpet' present='no'/>
  </clock>
  <on_poweroff>destroy</on_poweroff>
  <on_reboot>restart</on_reboot>
  <on_crash>restart</on_crash>
  <devices>
    <emulator>/usr/local/sbin/qemu</emulator>
    <disk type='file' device='disk'>
      <driver name='qemu' type='raw' cache='writeback'/>
      <source file='/mnt/user/domains/Windows 11/vdisk1.img'/>
      <target dev='hdc' bus='virtio'/>
      <serial>vdisk1</serial>
      <boot order='1'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x05' function='0x0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/Windows.iso'/>
      <target dev='hda' bus='ide'/>
      <readonly/>
      <boot order='2'/>
      <address type='drive' controller='0' bus='0' target='0' unit='0'/>
    </disk>
    <disk type='file' device='cdrom'>
      <driver name='qemu' type='raw'/>
      <source file='/mnt/user/isos/virtio-win-0.1.217.iso'/>
      <target dev='hdb' bus='ide'/>
      <readonly/>
      <address type='drive' controller='0' bus='0' target='0' unit='1'/>
    </disk>
    <controller type='usb' index='0' model='ich9-ehci1'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x7'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci1'>
      <master startport='0'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x0' multifunction='on'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci2'>
      <master startport='2'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x1'/>
    </controller>
    <controller type='usb' index='0' model='ich9-uhci3'>
      <master startport='4'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x07' function='0x2'/>
    </controller>
    <controller type='pci' index='0' model='pci-root'/>
    <controller type='ide' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x01' function='0x1'/>
    </controller>
    <controller type='virtio-serial' index='0'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x04' function='0x0'/>
    </controller>
    <interface type='bridge'>
      <mac address='52:54:00:08:12:4e'/>
      <source bridge='br0'/>
      <model type='e1000'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x03' function='0x0'/>
    </interface>
    <serial type='pty'>
      <target type='isa-serial' port='0'>
        <model name='isa-serial'/>
      </target>
    </serial>
    <console type='pty'>
      <target type='serial' port='0'/>
    </console>
    <channel type='unix'>
      <target type='virtio' name='org.qemu.guest_agent.0'/>
      <address type='virtio-serial' controller='0' bus='0' port='1'/>
    </channel>
    <input type='tablet' bus='usb'>
      <address type='usb' bus='0' port='1'/>
    </input>
    <input type='mouse' bus='ps2'/>
    <input type='keyboard' bus='ps2'/>
    <tpm model='tpm-tis'>
      <backend type='emulator' version='2.0' persistent_state='yes'/>
    </tpm>
    <graphics type='vnc' port='-1' autoport='yes' websocket='-1' listen='0.0.0.0' keymap='en-us'>
      <listen type='address' address='0.0.0.0'/>
    </graphics>
    <audio id='1' type='none'/>
    <video>
      <model type='qxl' ram='65536' vram='65536' vgamem='16384' heads='1' primary='yes'/>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x02' function='0x0'/>
    </video>
    <memballoon model='virtio'>
      <address type='pci' domain='0x0000' bus='0x00' slot='0x06' function='0x0'/>
    </memballoon>
  </devices>
</domain>
 

Link to comment
13 hours ago, JackieWu said:

看起来没什么问题,你换个 win iso 系统安装镜像试试,另外你可以将 iso 镜像的虚拟总线类型由 ide 更改成 sata。

问题是出现重启的时候vnc卡死黑屏,并不是总线不兼容找不到硬盘。你们可以用最新版的系统做一个测试啊!我也听别的网友也发现了类似的问题~~但不是每个人都人心思向你们反馈的

Link to comment

我做了测试了,安装 Win10 和 Win11 的时候没出现与你相类似的问题,ISO 安装镜像使用的是微软官方镜像:

 

831784771_FireShotCapture001-JackieWu_UpdateVM-10.0.0.3.thumb.png.5da7dc550a265c4327454ec58aca88d9.png

 

Snipaste_2024-04-18_16-56-20.thumb.png.b9b8a3d184f11c6e1750450c79282c9a.png

 

Quote

问题是出现重启的时候vnc卡死黑屏,并不是总线不兼容找不到硬盘。

 

之所以建议你尝试换一个 win iso 系统安装镜,是因为我之前在帮别人安装虚拟机的时候出现过因为 win 安装镜像自身的问题导致系统不能正常安装的情况(例如使用其他人精简并封装的 win 安装镜像);而另一个建议你将 iso 镜像的虚拟总线类型由 ide 更改成 sata 也并不是说认为总线不兼容找不到硬盘,而是尽可能的尝试排除可能的因素。

 

Quote

你们可以用最新版的系统做一个测试啊!

 

当时看到你的问题的时候,我没有第一时间尝试复现你的问题,是我不严谨了。

 

但我也解释下为什么我没有第一时间进行测试,因为如果这个问题是 Unraid 自身的 BUG,那么也就意味着所有人在安装 Windows 系统的时候很可能会遇到和你一样的问题(VNC 卡死黑屏)。但是目前 6.12.10 已经出来一段时间了(2024/04/03 发布的 .10 版本),目前除了你进行了反馈之外我还没有在其他的地方发现此类情况(包括 Unraid 官方相关的资讯,当然也有可能是我没了解到的确有这个 BUG)。

 

如果这个的确是个系统 BUG,那么这个 BUG 还是比较严重的,因为虚拟化本身就是 Unraid 的一个主要的功能,那么理论上来说这时候 Unraid 官方就应该立马去发布 6.12.11 版本来解决这个问题了(紧急发布新版本修复 BUG 的情况之前出现过,两个版本之间就间隔了两三天)。

 

Quote

我也听别的网友也发现了类似的问题~~但不是每个人都人心思向你们反馈的

 

给看到这个帖子的网友说明下,平时大家在浏览 Unraid 中文论坛的时候会经常看到我和大鹏老师 @anpple 的回帖,但我们两个都不是官方的开发人员,大鹏老师是中文板块的管理员,我啥也不是,我就一个普通的网友。

 

所以如果大家需要反馈 BUG ,那么可以到 Unraid 的 BUG REPORTS 板块去发帖子。另外你认识的网友如果也有这种问题,欢迎他们来论坛上面进行反馈,我会协助他们进行处理。

 

另外,Unraid 官方没有中国地区的客服,你可以参考我之前的一个回复:国内有客服么-我需要更换邮箱 。

 

最后回到你的问题上,如果你遇到的这个问题只出现在 Windows 虚拟机的安装上,比如说你在安装其他的 Linux 系统时没有出现这个问题,那么我还是再建议你换一个 ISO 安装镜像试试,或者可以尝试更换其他的浏览器测试一下。

Edited by JackieWu
Link to comment
  • 2 weeks later...

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.

×
×
  • Create New...