All of lore.kernel.org
 help / color / mirror / Atom feed
From: xiucai <hualingson@foxmail.com>
To: qemu-devel <qemu-devel@nongnu.org>
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	[thread overview]
Message-ID: <tencent_6ACD11A47C2496DB56F175B1@qq.com> (raw)

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	other threads:[~2017-02-21  1:48 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=tencent_6ACD11A47C2496DB56F175B1@qq.com \
    --to=hualingson@foxmail.com \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.