Virtual machines: Difference between revisions

From DWIKI
mNo edit summary
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

Revision as of 08:20, 11 June 2019

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