User Tools

Site Tools


command_line

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
command_line [2015/01/27 15:18]
k2patel [Test your bootable USB on kvm]
command_line [2017/10/06 00:17]
k2patel [How to allow network access to KVM Guest]
Line 31: Line 31:
  
 [[http://​libvirt.org/​formatdomain.html|Domain Format in KVM]] [[http://​libvirt.org/​formatdomain.html|Domain Format in KVM]]
 +
 +==== Test your bootable USB on kvm ====
 +In order to test your USB using KVM use following command.
 +<code bash>
 +qemu-kvm -hdb <​device> ​
 +</​code>​
 +In my case device was "/​dev/​sdb"​.
  
 ==== Converting Existing Image ==== ==== Converting Existing Image ====
Line 144: Line 151:
 </​code>​ </​code>​
  
 +==== Extract folder from KVM Guest Image ====
 +This is appear to be far easy solution then i thought.\\
 +[[http://​libguestfs.org/​virt-copy-out.1.html|Link to official Document]]
 +
 +<code bash>
 +mkdir test
 +virt-copy-out -a machine2.qcow2 /​metadata/​testing/​users test/
 +</​code>​
command_line.txt ยท Last modified: 2021/08/24 21:11 by k2patel