summaryrefslogtreecommitdiffstats
path: root/images/guest-aux/make-windows-img.sh
diff options
context:
space:
mode:
Diffstat (limited to 'images/guest-aux/make-windows-img.sh')
-rwxr-xr-ximages/guest-aux/make-windows-img.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/images/guest-aux/make-windows-img.sh b/images/guest-aux/make-windows-img.sh
index 15cb7c53..f659f4b4 100755
--- a/images/guest-aux/make-windows-img.sh
+++ b/images/guest-aux/make-windows-img.sh
@@ -45,6 +45,9 @@ part-init /dev/sda mbr
part-add /dev/sda p 64 524287
part-add /dev/sda p 524288 -64
+# Disk ID.
+pwrite-device /dev/sda "1234" 0x01b8
+
# Phony boot loader filesystem.
mkfs ntfs /dev/sda1