[Spice-devel] HOWTO: construct spice-guest-tools-0.59-win.{vfd, iso}
Eric Shattow
lucent at gmail.com
Thu Jun 13 02:46:44 PDT 2013
Hi everyone. I know that "virtio-win-1.1.16.vfd" (formerly available
from http://alt.fedoraproject.org/pub/alt/virtio-win/latest/ but not
anymore) was a popular way to load Windows XP virtio support at
install time if we are not subscribed to RHN (otherwise see:
https://rhn.redhat.com/rhn/software/packages/details/Overview.do?pid=602010
for your paid access to get "virtio-win" package) ; We can do better
than that, as "virtio-win-1.1.16.vfd" is not easily found and does not
have much to do with current SPICE downloads being offered.
* Note a bug that I am experiencing Windows XP setup does not
recognize a given drivers floppy disk image on most configurations of
Linux kernel newer than 3.5.x series; Finally I am making it work with
qemu 1.5.0 and Linux 3.10.x but only if I set the guest to have virtio
storage with also qxl video. This bug is mentioned herein because I
have verified the below process for creating a drivers floppy disk
image, it is working for Windows XP setup 32-bit. If it does not work
for you, maybe then you also are experiencing this bug as I have.
Requirements are 7zip (newer than 4.40) and mkisofs. The idea is to
make a driver floppy disk image to get Windows XP install going, and
then also an ISO that auto-runs spice-guest-tools once system install
is complete. Cheers, Eric Shattow from Tahoe City CA.
# HOWTO construct spice-guest-tools-0.59-win.{vfd,iso}
#
# Problem(s) solved:
# * Windows XP install needs floppy drive to load virtio
# * virtio-win-1.1.16.vfd is obsolete
# * virtio-win-1.6.3-3.el6.noarch.rpm not freely available
#
wget http://spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-0.59-src/virtio-win-0.1-59-sources.zip
wget http://spice-space.org/download/windows/spice-guest-tools/spice-guest-tools-0.59.exe
mkdir -p "sgtprep"/vfd
7z e -ssc- -o"sgtprep"/vfd virtio-win-0.1-59-sources.zip
internal-kvm-guest-drivers-windows/viostor/txtsetup.oem
touch "sgtprep"/vfd/disk1
7z e -ssc- -o"sgtprep"/vfd/i386/WinXP spice-guest-tools-0.59.exe
'$_OUTDIR'/winxp/x86/*
7z e -ssc- -o"sgtprep"/vfd/i386/Win2003 spice-guest-tools-0.59.exe
'$_OUTDIR'/win2k3/x86/*
7z e -ssc- -o"sgtprep"/vfd/amd64/Win2003 spice-guest-tools-0.59.exe
'$_OUTDIR'/win2k3/amd64/*
dd if=/dev/zero bs=512 count=2880 of=spice-guest-tools-0.59-win.vfd
mkfs.vfat -F12 spice-guest-tools-0.59-win.vfd
mkdir "sgtprep"/mnt
sudo mount spice-guest-tools-0.59-win.vfd "sgtprep"/mnt
sudo cp -r "sgtprep"/vfd/* "sgtprep"/mnt
sync && sudo umount "sgtprep"/mnt
mkdir -p "sgtprep"/iso
cp "spice-guest-tools-0.59.exe" "sgtprep"/iso
cat > "sgtprep"/iso/autorun.inf << EOF
[autorun]
open=spice-guest-tools-0.59.exe
icon=spice-guest-tools-0.59.exe,0
label=Spice Guest Tools 0.59
Mode=Administrator
EOF
mkisofs -r -J -o spice-guest-tools-0.59-win.iso "sgtprep"/iso/*
More information about the Spice-devel
mailing list