HOWTO: construct spice-guest-tools-0.59-win.{vfd, iso}

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

 



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/*
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]