Virtual machines: Difference between revisions

From DWIKI
(Created page with "=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")
 
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=FAQ=
=FAQ=
==Run iso image
==Run iso image==
  qemu-system-x86_64 -boot d -cdrom image.iso -m 512
  qemu-system-x86_64 -boot d -cdrom image.iso -m 512
   
   
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