User Tools

Site Tools


public:virt-install_examples

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:virt-install_examples [2024/05/14 21:15] – [Windows 98] thomaspublic:virt-install_examples [2024/05/16 21:27] (current) – [MS-DOS 6.0] thomas
Line 1: Line 1:
 ====== virt-install examples ====== ====== virt-install examples ======
 +
 +===== MS-DOS 6.0 =====
 +
 +<code>
 +virt-install \
 +--virt-type kvm \
 +--name msdos-test \
 +--os-variant msdos6.22 \
 +--graphics vnc,listen=0.0.0.0,password=foobar --noautoconsole \
 +--disk size=2 \
 +--memory 32 \
 +--disk path=/dos/Disk1.img,device=floppy \
 +--boot fd,hd,menu=on \
 +--import
 +</code>
 +
 +You can switch to a next floppy disk during installation with this command:
 +
 +<code>
 +virsh change-media msdos-test /dos/Disk1.img /dos/Disk2.img 
 +</code>
  
 ===== Windows 98 ===== ===== Windows 98 =====
Line 17: Line 38:
 </code> </code>
  
 +You need to connect to the guest before 10 seconds have passed to choose the correct boot option. If that is too short, then you can temporarily suspend the guest immediately after the virt-install command, connect via VNC, then resume the guest.
 +
 +Also, multiple reboots may be required to install this OS. You may need to set the CDROM as boot device for longer than just the first boot.
 ===== Windows XP ===== ===== Windows XP =====
  
 <code> <code>
-virt-install --virt-type kvm --name windowsxp-test --cdrom /WindowsXP.iso --os-variant winxp --graphics vnc,listen=0.0.0.0,password=foobar --noautoconsole --disk pool=kvm,size=100 --memory 2048 --network model=rtl8139,network=bridged+virt-install 
 +--virt-type kvm 
 +--name windowsxp-test 
 +--cdrom /WindowsXP.iso 
 +--os-variant winxp 
 +--graphics vnc,listen=0.0.0.0,password=foobar 
 +--noautoconsole 
 +--disk pool=kvm,size=100 
 +--memory 2048 
 +--network model=rtl8139,network=bridged
 </code> </code>
  
public/virt-install_examples.1715721312.txt.gz · Last modified: by thomas

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki