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
Last revision Both sides next revision
command_line [2013/02/26 21:05]
k2patel [FU Commands]
command_line [2020/08/10 02:35]
127.0.0.1 external edit
Line 1: Line 1:
 +
 +
 ====== KVM Command Line ====== ====== KVM Command Line ======
  
Line 29: 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 142: 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]]
 +
 +For RHEL you require following packages installed.
 +  * libguestfs-tools
 +  * libguestfs-xfs ​ # if guest filesystem is XFS.
 +
 +<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