Skip to content

Instantly share code, notes, and snippets.

@ndunks
Created April 30, 2020 21:04
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save ndunks/39bbf227f53fcaac5c1e7bf8fa53d930 to your computer and use it in GitHub Desktop.
Save ndunks/39bbf227f53fcaac5c1e7bf8fa53d930 to your computer and use it in GitHub Desktop.
Qemu Change Hardisk Serial Number and Model
sudo qemu-system-i386 \
-m 512 \
-smp 1 \
-enable-kvm \
-drive if=none,id=disk00,format=qcow2,file=tmp/disk1.qcow2 \
-device "ide-hd,drive=disk00,bus=ide.0,serial=00000000000000000001,model=VMware Virtual IDE Hard Drive" \
-nic tap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment