Virtual machines: Difference between revisions
From DWIKI
(→FAQ) |
|||
(One intermediate revision by the same user not shown) | |||
Line 6: | Line 6: | ||
qemu-img create mydisk.img 10G | qemu-img create mydisk.img 10G | ||
qemu-system-x86_64 -boot d -cdrom image.iso -m 512 -hda mydisk.img | qemu-system-x86_64 -boot d -cdrom image.iso -m 512 -hda mydisk.img | ||
==Check if linux is virtual machine== | |||
dmidecode | |||
virt-who |
Latest revision as of 10:46, 19 February 2020
FAQ
Run iso image
qemu-system-x86_64 -boot d -cdrom image.iso -m 512
or
qemu-img create mydisk.img 10G qemu-system-x86_64 -boot d -cdrom image.iso -m 512 -hda mydisk.img
Check if linux is virtual machine
dmidecode virt-who