All of lore.kernel.org
 help / color / mirror / Atom feed
* [Qemu-devel] why it meets this error after putting windows-virtio-dirvers into win7x64ultimate.iso using waik when boot&install from the iso?
@ 2017-02-21  1:48 xiucai
  0 siblings, 0 replies; only message in thread
From: xiucai @ 2017-02-21  1:48 UTC (permalink / raw)
  To: qemu-devel

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!

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2017-02-21  1:48 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-21  1:48 [Qemu-devel] why it meets this error after putting windows-virtio-dirvers into win7x64ultimate.iso using waik when boot&install from the iso? xiucai

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.