Skip to content

Instantly share code, notes, and snippets.

@ndunks
Created April 30, 2020 21:04
Show Gist options
  • 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