Created
April 30, 2020 21:04
-
-
Save ndunks/39bbf227f53fcaac5c1e7bf8fa53d930 to your computer and use it in GitHub Desktop.
Qemu Change Hardisk Serial Number and Model
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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