User Tools

Site Tools


cs:oldwin

Differences

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

Link to this comparison view

Next revision
Previous revision
cs:oldwin [2019/09/29 20:54]
paolo_bolzoni Add a page with few notes about Qemu
cs:oldwin [2021/07/28 21:36] (current)
paolo_bolzoni
Line 1: Line 1:
 ======= Tools ======= ======= Tools =======
  
-  * QEMU/KVM (packages ''​qemu'',​ ''​libvirtd'',​ ''​virt-manager'',​ and possibly ''​qemu-arch-extra''​)+  * QEMU/KVM (packages ''​qemu'',​ ''​libvirt'',​ ''​ebtables'',​ ''​dnsmasq'',​ ''​dmidecode'',​ ''​virt-manager'',​ and possibly ''​qemu-arch-extra''​)
   * Windows CD image   * Windows CD image
   * [[https://​bearwindows.zcm.com.au/​vbemp.htm|Universal video drivers]]   * [[https://​bearwindows.zcm.com.au/​vbemp.htm|Universal video drivers]]
 +  * [[https://​docs.fedoraproject.org/​en-US/​quick-docs/​creating-windows-virtual-machines-using-virtio-drivers/​index.html#​virtio-win-direct-downloads|Official Fedora Qemu virto drivers]]
 +  * [[https://​blog.famzah.net/​2010/​01/​09/​kvm-qemu-virtio-storage-and-network-drivers-for-32-bit64-bit-windows-7-windows-vista-windows-xp-and-windows-2000/​|KVM-Qemu Virtio storage and network drivers]]
  
-n.b., to use ''​virt-manager'',​ the user needs to be part of the ''​libvirt''​ group:+ 
 +====== Notes ====== 
 + 
 +To use ''​virt-manager'',​ the user needs to be part of the ''​libvirt''​ group:
  
   # gpasswd -a $(whoami) libvirt   # gpasswd -a $(whoami) libvirt
 +
 +virt-manager has its own networks, by default it uses the network ''​default''​. One might need to activate it:
 +
 +  # virsh net-start default
 +
 +It is also possible to set it up so it activates automatically:​
 +
 +  # virsh net-autostart default
  
  
 ====== Useful commands ====== ====== Useful commands ======
  
-Mount Qemu image+===== Mount Qemu image ===== 
 + 
 +Qemu nbd allows to connect qcow2 files with a block device
  
   # modprobe --first-time nbd   # modprobe --first-time nbd
Line 22: Line 37:
  
   # qemu-nbd -d /dev/nbd0   # qemu-nbd -d /dev/nbd0
-  ​+ 
 + 
 +===== To share a directory ===== 
 + 
 +In Windows share using the GUI and in Linux open the following path with your explorer: 
 + 
 +   ​smb://<​ip address>/<​share name> 
 + 
 +It needs the ''​gvfs-smb''​ package. At the moment I managed to make it work only with an empty password. 
 + 
 +Depending on the Windows version Samba may not support the protocol anymore. If everything fails, one can share via HTTP: 
 + 
 +http://​www.rejetto.com/​hfs/​
cs/oldwin.1569790490.txt.gz · Last modified: 2019/09/29 20:54 by paolo_bolzoni