Skip to content

Instantly share code, notes, and snippets.

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