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/14 21:15] – [Windows 98] 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 ====== | ||
| + | |||
| + | ===== 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 ===== | ===== Windows 98 ===== | ||
| Line 17: | Line 38: | ||
| </ | </ | ||
| + | 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 ===== | ||
| < | < | ||
| - | virt-install --virt-type kvm --name windowsxp-test --cdrom / | + | virt-install |
| + | --virt-type kvm \ | ||
| + | --name windowsxp-test | ||
| + | --cdrom / | ||
| + | --os-variant winxp \ | ||
| + | --graphics vnc, | ||
| + | --noautoconsole | ||
| + | --disk pool=kvm, | ||
| + | --memory 2048 \ | ||
| + | --network model=rtl8139, | ||
| </ | </ | ||
public/virt-install_examples.1715721312.txt.gz · Last modified: by thomas
