git.annexia.org
/
libguestfs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New API: inspect-get-drive-mappings
[libguestfs.git]
/
images
/
guest-aux
/
make-windows-img.sh
diff --git
a/images/guest-aux/make-windows-img.sh
b/images/guest-aux/make-windows-img.sh
index
15cb7c5
..
f659f4b
100755
(executable)
--- 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
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
# Phony boot loader filesystem.
mkfs ntfs /dev/sda1