public:virt-install_examples
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| public:virt-install_examples [2024/05/13 19:17] – [Windows Server 2022] thomas | public:virt-install_examples [2024/05/16 21:27] (current) – [MS-DOS 6.0] thomas | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== virt-install examples ====== | ====== virt-install examples ====== | ||
| - | ====== Windows 98 ====== | + | ===== MS-DOS 6.0 ===== |
| + | |||
| + | < | ||
| + | virt-install \ | ||
| + | --virt-type kvm \ | ||
| + | --name msdos-test \ | ||
| + | --os-variant msdos6.22 \ | ||
| + | --graphics vnc, | ||
| + | --disk size=2 \ | ||
| + | --memory 32 \ | ||
| + | --disk path=/ | ||
| + | --boot fd, | ||
| + | --import | ||
| + | </ | ||
| + | |||
| + | You can switch to a next floppy disk during installation with this command: | ||
| + | |||
| + | < | ||
| + | virsh change-media msdos-test / | ||
| + | </ | ||
| + | |||
| + | ===== Windows 98 ===== | ||
| + | |||
| + | Note that not all Windows 98 CD-ROMS are bootable. Most require a boot floppy. However, [[https:// | ||
| < | < | ||
| Line 7: | Line 30: | ||
| --virt-type kvm \ | --virt-type kvm \ | ||
| --name windows98-test \ | --name windows98-test \ | ||
| - | --cdrom /Windows98.iso \ | + | --cdrom /windows98.iso \ |
| --os-variant win98 \ | --os-variant win98 \ | ||
| --graphics vnc, | --graphics vnc, | ||
| --disk size=50 \ | --disk size=50 \ | ||
| - | --memory | + | --memory |
| - | --network network=bridged | + | --network |
| </ | </ | ||
| + | |||
| + | 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 ===== | ||
| + | |||
| + | < | ||
| + | virt-install \ | ||
| + | --virt-type kvm \ | ||
| + | --name windowsxp-test \ | ||
| + | --cdrom / | ||
| + | --os-variant winxp \ | ||
| + | --graphics vnc, | ||
| + | --noautoconsole \ | ||
| + | --disk pool=kvm, | ||
| + | --memory 2048 \ | ||
| + | --network model=rtl8139, | ||
| + | </ | ||
| + | |||
| + | Special about this case, is that we use the '' | ||
| ===== Windows Server 2022 ===== | ===== Windows Server 2022 ===== | ||
public/virt-install_examples.1715627848.txt.gz · Last modified: by thomas
