I don't use QEMU that much (because I'm not to involved in things
related that need using it), but I think you can do like so (the "$ "
are indications that the following in the same line is a command):

1. Create a virtual machine with a maximum size of 1 GiB (qcow2 is way
   superior than most others, and is also the native type supported by
   QEMU):

   $ qemu-img create -f qcow2 "vm.img" 1G

2. Do either one of the following (or both in order):

   a. Run some system distribution image (assuming you want to do so in
   order to install it in the "vm.img"):

      $ qemu-system-x86_64 -enable-kvm -m 1024 -smp 1 -boot menu=on -drive 
file="any-system-distribution-image" -drive file="vm.img"

      If `qemu-system-x86_64` doesn't exist or doesn't work, try others
      such as `qemu-system-i686`. `-enable-kvm` (KVM support) depends on
      whether the kernel of your copy of Trisquel currently uses has KVM
      available. If KVM isn't supported, QEMU will tell you that either
      when called with `--enable-kvm` or during execution by going to
      the QEMU monitor (Ctrl + Alt + 2 or Ctrl + Alt + Shift + 2) and
      typing `info kvm`).

   b. Assuming you already have a system distribution installed in
   "vm.img" and wants to use it, run:

      $ qemu-system-x86_64 -enable-kvm -m 1024 -smp 1 -boot menu=on -drive 
file="vm.img"

Reply via email to