In this episode, Sean Donahue is joined by Al Solorzano of E360 to discuss the worst disasters they've recovered from. Surprise twist, not all clouds are cumulonimbus and not all disasters are natural.<\/p><\/oembed>

Resources<\/p>

解决了

XenServer to Nutanix AHV VM Migration ERROR [Boot Device not found]


Userlevel 1
Badge +3

Hi,

I am trying to move a Windows Server 2012 R2 VM from Xenserver to AHV. With reference to this article:AHV | Migrating a Windows VM from XenServer to AHVeverything is working great except when I am at the last step. When I turn on the VM in AHV, I am getting a boot device not found error and windows will not boot up.

视窗will start with a windows icon throws the error and restarts, then goe
s into disk repair, reboots and same error and goes into the troubleshooting menu and when I am restart the VM in AHV it again and always goes into the boot disk inaccessible error.

我确保所有XEN组件都已经从VM上卸载,并且还安装了Nutanix Virtio驱动程序。尝试将图像加载为SCSI和IDE,但仍会遇到相同的错误。还尝试在安全模式下启动,尝试了磁盘维修等,但没有运气。

如果有人有解决方案,请帮助。

PS: I am migrating Windows Server 2012 R2 from XenServer to Nutanix AHV.

icon

最好的答案darshan.patel19 October 2018, 23:57

HERES THE SOLUTION!!!<\/b><\/h2>
\r\n
    \r\n
  • When you remove all XenServer Drivers, do not DELETE them, just uninstall all the Xen drivers from Device Manager without restarting the VM, (Click NO when prompted to restart) \r\n
  • Restart VM \r\n
  • If prompted to do another restart after you login, click NO \r\n
  • Check Device Manager for any Xen drivers -> if there are any, uninstall them. DO NOT DELETE. \r\n
  • Install VirtIO Drivers \r\n
  • Clear the Registry Key for all XEN components \r\n
  • Shut down the vm with 'shutdown -s -t 0<\/i><\/b>' \r\n
  • Do not re-start the VM in XenServer now. \r\n
  • Mount DISKs as SCSI in AHV \r\n
  • Start the VM \r\n<\/ul>\r\nThis worked for me, I was doing a silly mistake when I was removing the Xen Drivers. Well, hopefully this article\/question\/discussion will help anyone with similar problem.
    \r\n
    \r\nPeace \u270c\ud83c\udffb","className":"post__content__best_answer"}">
View original

This topic has been closed for comments

12个答复

Userlevel 7
Badge +25
Gut says the virtio drivers didn't install right or something w storage drivers. You are hitting the bios so most of it sounds right. The fact the disk wouldn't boot as ide though is odd.



只有其他想法是EFI与BIOS问题。



What happens with the disk repair?
Userlevel 1
Badge +3
Gut says the virtio drivers didn't install right or something w storage drivers. You are hitting the bios so most of it sounds right. The fact the disk wouldn't boot as ide though is odd.



只有其他想法是EFI与BIOS问题。



What happens with the disk repair?




@jrack, The boot repair runs through without error and the VM restarts and repeats the same again and again. I did install Virtio drivers prior to migrating the VM and I think it installed correctly.



现在还有其他方法可以安装驱动程序吗?我的意思是我可以安装驱动程序。ISO,我可以从ISO中安装驱动程序,然后重新启动VM吗?
Userlevel 7
Badge +25
磁盘维修还可以吗?您可以跌落到控制台,看看磁盘的外观吗?也许磁盘文件在运输中损坏了?
Userlevel 1
Badge +3
磁盘维修还可以吗?您可以跌落到控制台,看看磁盘的外观吗?也许磁盘文件在运输中损坏了?



@jrackI opened the cmd and went into diskpart and it only shows one volume, Volume 0 i.e. CD-ROM. I think it should show the other volumes too right? (the iso image I created from the vm migration) Heres what my diskpart is giving me:





但是事实是,我有3个磁盘附加了VM:





Do you think that the reason its not showing up in the diskpart at startup is because its not reading it?



当我尝试从故障拍摄菜单中刷新PC时,它说由于磁盘被锁定,它无法刷新。对不起,一次有太多问题,但是如果您有解决方案,请帮助我。



谢谢,
Userlevel 7
Badge +25
是的,这就是我想的。是的,没有看到磁盘。如果您使用IDE连接该磁盘会显示吗?
Userlevel 1
Badge +3
是的,这就是我想的。是的,没有看到磁盘。如果您使用IDE连接该磁盘会显示吗?



Hi @jrack

Yes, I am able to see the volumes when I am using/mounting the disk as IDE.







But the Windows is still restarting -> goes into "Ran into a problem" -> Preparing Automatic Repair -> Troubleshooting Menu -> Restarts again.
Userlevel 7
Badge +25
Ok but you can see the file system now. If you get into emergency mode can you get to a console and attach and install the drivers?



Those xen pvdrivers are a bit troublesome so maybe something is causing issues there.



Have you tried to start from your xen vm again and give it another go?
Userlevel 1
Badge +3
Ok but you can see the file system now. If you get into emergency mode can you get to a console and attach and install the drivers?



Those xen pvdrivers are a bit troublesome so maybe something is causing issues there.



Have you tried to start from your xen vm again and give it another go?




@jrack

When I mount the drives as IDE I am able to see the file systems but I cannot get into any of the drives to install the drivers and when I mount the drives as SCSI, it doesn't recognize the drive.



I cannot start the VM in the xen now as it will give me the same boot device not found error there as well.



不确定为什么它无法识别驱动器,我认为我将在Xenserver中进行新的测试VM,并将重新射击并进行迁移。
Userlevel 7
Badge +25
Yeah sounds like something is up w the virtio stack. I have had issues w the xen paravirts way back when conflicting with natives, but details have been expunged.
Userlevel 1
Badge +3
Yeah sounds like something is up w the virtio stack. I have had issues w the xen paravirts way back when conflicting with natives, but details have been expunged.



@jrack

我想我知道问题所在。



When I pre-install the nutanix VirtIO.msi installer, it installs everything but the SCSI drivers and hence when after migration I mount the disks it doesnt recognizes the disks.



I am not able to find the SCSI drivers for Nutanix, can you send me a link if you have?
Userlevel 7
Badge +25
huh?! something must be going bad as the Nutanix dist has the SCSI stuff (betting Xen). You can try the Fedora copy (https://docs.fedoraproject.org/en-US/quick-docs/creating-windows-virtual-machines-using-virtio-drivers/index.html) they are inherently the same thing.
Userlevel 1
Badge +3

这是解决方案!!!




  • 当您删除所有Xenserver驱动程序时,请勿删除它们,只需在不重新启动VM的情况下从设备管理器中卸载所有XEN驱动程序(当提示重新启动时单击“否”)
  • Restart VM
  • If prompted to do another restart after you login, click NO
  • Check Device Manager for any Xen drivers -> if there are any, uninstall them. DO NOT DELETE.
  • Install VirtIO Drivers
  • Clear the Registry Key for all XEN components
  • Shut down the vm with 'shutdown -s -t 0'
  • 现在不要重新启动Xenserver中的VM。
  • Mount DISKs as SCSI in AHV
  • Start the VM

这对我有用,当我去除Xen司机时,我犯了一个愚蠢的错误。好吧,希望本文/问题/讨论将帮助任何有类似问题的人。



和平✌
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu