qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] why it meets this error after putting windows-virtio-dirver


From: xiucai
Subject: [Qemu-devel] why it meets this error after putting windows-virtio-dirvers into win7x64ultimate.iso using waik when boot&install from the iso?
Date: Tue, 21 Feb 2017 09:48:09 +0800

Hi,

BTW, I also had posted the Q @ 
http://stackoverflow.com/questions/42336175/why-meet-this-winload-exe-error-after-put-virtio-dirver-into-win7x64ultimate-iso.

My aim is making windows-virtio-drivers within win7x64ultimate.iso, so it can 
be used directly upon qemu-kvm with virtio bus, especially block devices and 
network interfaces.


But it meets this error when boot&install from the modified iso.



Here is my makeiso.win7x64.ps1:
# TODO: simplify logics # By Bob # define variables 
$WAIKPEToolsPath="C:\Program Files\Windows AIK\Tools\PETools" 
$WIMInstallPath="C:\simple\install.wim" $WIMBootPath="C:\simple\boot.wim" 
$WindowsVirtIODriversPath="C:\simple\windows-virtio-drivers" 
$ImageInstallMountPath="C:\simple\mnt\install" 
$ImageBootMountPath="C:\simple\mnt\boot" cd $WAIKPEToolsPath pwd # then modify 
install.wim dism /get-wiminfo /wimfile:$WIMInstallPath # TODO: get $n from this 
output $n=4 while($n -ne 0) {     $newdir=$ImageInstallMountPath+$n     mkdir 
$newdir     dism /mount-wim /wimfile:$WIMInstallPath /index:$n 
/mountdir:$newdir     dism /image:$newdir /get-drivers     dism /image:$newdir 
/add-driver /driver:$WindowsVirtIODriversPath\Balloon\w7\amd64\balloon.inf     
<#     dism /image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\NetKVM\w7\amd64\netkvm.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\pvpanic\w7\amd64\pvpanic.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\qemupciserial\qemupciserial.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\qxl\w7\amd64\qxl.inf     dism /image:$newdir 
/add-driver /driver:$WindowsVirtIODriversPath\vioinput\w7\amd64\vioinput.inf    
 dism /image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\viorng\w7\amd64\viorng.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\vioscsi\w7\amd64\vioscsi.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\vioserial\w7\amd64\vioser.inf     #>     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\viostor\w7\amd64\viostor.inf     dism 
/image:$newdir /get-drivers     dism /unmount-wim /mountdir:$newdir /commit     
# rmdir $newdir -Recurse -Force -Confirm:$false     $n-- } # then modify 
boot.wim dism /get-wiminfo /wimfile:$WIMBootPath # TODO: get $n from this 
output $n=2 while($n -ne 0) {     $newdir=$ImageBootMountPath+$n     mkdir 
$newdir     dism /mount-wim /wimfile:$WIMBootPath /index:$n /mountdir:$newdir   
  dism /image:$newdir /get-drivers     dism /image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\Balloon\w7\amd64\balloon.inf     <#     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\NetKVM\w7\amd64\netkvm.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\pvpanic\w7\amd64\pvpanic.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\qemupciserial\qemupciserial.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\qxl\w7\amd64\qxl.inf     dism /image:$newdir 
/add-driver /driver:$WindowsVirtIODriversPath\vioinput\w7\amd64\vioinput.inf    
 dism /image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\viorng\w7\amd64\viorng.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\vioscsi\w7\amd64\vioscsi.inf     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\vioserial\w7\amd64\vioser.inf     #>     dism 
/image:$newdir /add-driver 
/driver:$WindowsVirtIODriversPath\viostor\w7\amd64\viostor.inf     dism 
/image:$newdir /get-drivers     dism /unmount-wim /mountdir:$newdir /commit     
# rmdir $newdir -Recurse -Force -Confirm:$false     $n-- } # end






Regards!

reply via email to

[Prev in Thread] Current Thread [Next in Thread]