QEMU/Guests/Windows XP and QEMU/Guests/Windows Longhorn: Difference between pages
Undefishin (talk | contribs) No edit summary |
Undefishin (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
'''[[ |
'''[[How_to_install_Windows_XP_in_QEMU|< Windows XP]]''' | '''[[How_to_install_Windows_Vista_in_QEMU|Windows Vista >]]''' |
||
{{DISPLAYTITLE:How to install Windows |
{{DISPLAYTITLE:How to install Windows Longhorn in QEMU}} |
||
[[File: |
[[File:4051Desktop.png|thumb|Windows Longhorn build 4051.]] |
||
'''Windows Longhorn''' is the codename for Windows Vista, It's first (leaked) build was compiled on September 23rd, 2002. |
|||
'''Windows XP''' is an operating system created by Microsoft, released on August 24, 2001. Support ended in April 8, 2014 but this varies based on the version your using. Windows XP has several different editions (such as Home Edition, Tablet PC edition, Media Center edition, Embedded, etc). This article covers every variant of Windows XP including POSReady 2009 which is supported until 2019. |
|||
==Running on CollabVM== |
==Running on CollabVM== |
||
Windows Longhorn builds are usually unstable, but they work fine with CollabVM. |
|||
Windows XP works great as a VM for CollabVM. A few programs do not work on it but thanks to its still large popularity this usually isn't a big problem. VM 2 on the official CollabVM website runs Windows XP with Service Pack 3 installed. Both Home and Professional are known to work perfectly fine in QEMU and CollabVM. |
|||
==Before you begin== |
|||
'''Recommended version''': Windows XP Professional with Service Pack 3 |
|||
Mostly all Longhorn builds have a timebomb, you can set the date by adding <pre>-rtc base="YYYY-MM-DD",clock=vm</pre>, replace the YYYY with the year, MM with the month and DD with the day. For example, using <pre>-rtc base="2002-09-23",clock=vm</pre> would set the date to September 23rd, 2002 which is what you want if you are going to be hosting 3683. |
|||
== |
==QEMU== |
||
===QEMU=== |
|||
====Pre-installation==== |
====Pre-installation==== |
||
[[File:5259Glitch.PNG|thumb|Setup if you do not add -vga cirrus]] |
|||
Make a qcow2 image (or a raw image if you want) by typing |
Make a qcow2 image (or a raw image if you want) by typing |
||
<pre>qemu-img create -f qcow2 |
<pre>qemu-img create -f qcow2 lh.img 20G</pre> |
||
Windows Longhorn, just like XP requires some disk space, you can make this 10 gigabytes if you want, but it is recommended to have at least 20 GB for users to install programs onto. |
|||
Assuming that the build you downloaded is 32-bit, you will run these commands: |
|||
'''10G''' can be replaced with however big you want the hard drive to be (with G standing for Gigabytes). Windows XP is not really that big of an OS and it can even be installed on 2 GB of space if you turn hibernation off, but 5 GB is recommended as a minimum if you want to be able to install several programs. |
|||
⚫ | |||
⚫ | |||
When that's done, run the following command: |
|||
⚫ | |||
* <b>Warning: Removing "-vga cirrus" WILL make the setup look messed up in terms of graphics.</b> |
|||
⚫ | |||
1 gigabytes of memory is highly recommended for optimal performance, but you can use 512 megabytes if absolutely necessary. |
|||
⚫ | |||
⚫ | |||
We run with 512 MB of RAM, but this can be lowered to 256 MB if your server is low on resources. It also runs on as low as 64 MB of RAM but this is unrecommended. If you cannot allocate more than 128 MB of RAM, you may want to run [[Windows 2000]] instead, which runs better on 128 MB. |
|||
====After installation==== |
====After installation==== |
||
<pre>qemu-system-i386 -hda |
<pre>qemu-system-i386 -hda lh.img -cdrom longhorn_iso_name.iso -boot c -accel kvm -cpu host -m 1G -usbdevice tablet -vga cirrus -rtc base="YYYY-MM-DD",clock=vm</pre> |
||
Or if running without root or virtualization: |
Or if running without root or virtualization: |
||
<pre>qemu-system-i386 -hda |
<pre>qemu-system-i386 -hda lh.img -cdrom longhorn_iso_name.iso -boot c -cpu epyc -m 1G -usbdevice tablet -vga cirrus -rtc base="YYYY-MM-DD",clock=vm</pre> |
||
====Setting up your VM==== |
|||
After setup, install a version of Firefox. For me, 10.0 worked fine for me. Mypal does not work and so does any other modern version of Firefox (even the latest one that supports XP!) |
|||
[[Category:Windows installation guides]] |
[[Category:Windows installation guides]] |
||
Line 39: | Line 41: | ||
[[Category:QEMU guides]] |
[[Category:QEMU guides]] |
||
'''[[ |
'''[[How_to_install_Windows_XP_in_QEMU|< Windows XP]]''' | '''[[How_to_install_Windows_Vista_in_QEMU|Windows Vista >]]''' |
Revision as of 10:53, 27 July 2022
< Windows XP | Windows Vista >
Windows Longhorn is the codename for Windows Vista, It's first (leaked) build was compiled on September 23rd, 2002.
Running on CollabVM
Windows Longhorn builds are usually unstable, but they work fine with CollabVM.
Before you begin
Mostly all Longhorn builds have a timebomb, you can set the date by adding
-rtc base="YYYY-MM-DD",clock=vm
, replace the YYYY with the year, MM with the month and DD with the day. For example, using
-rtc base="2002-09-23",clock=vm
would set the date to September 23rd, 2002 which is what you want if you are going to be hosting 3683.
QEMU
Pre-installation
Make a qcow2 image (or a raw image if you want) by typing
qemu-img create -f qcow2 lh.img 20G
Windows Longhorn, just like XP requires some disk space, you can make this 10 gigabytes if you want, but it is recommended to have at least 20 GB for users to install programs onto.
Assuming that the build you downloaded is 32-bit, you will run these commands:
qemu-system-i386 -hda lh.img -cdrom longhorn_iso_name.iso -boot d -accel kvm -cpu host -m 1G -usbdevice tablet -vga cirrus -rtc base="YYYY-MM-DD",clock=vm
Or if running without root or virtualization:
qemu-system-i386 -hda lh.img -cdrom longhorn_iso_name.iso -boot d -cpu epyc -m 1G -usbdevice tablet -vga cirrus -rtc base="YYYY-MM-DD",clock=vm
- Warning: Removing "-vga cirrus" WILL make the setup look messed up in terms of graphics.
1 gigabytes of memory is highly recommended for optimal performance, but you can use 512 megabytes if absolutely necessary.
After installation
qemu-system-i386 -hda lh.img -cdrom longhorn_iso_name.iso -boot c -accel kvm -cpu host -m 1G -usbdevice tablet -vga cirrus -rtc base="YYYY-MM-DD",clock=vm
Or if running without root or virtualization:
qemu-system-i386 -hda lh.img -cdrom longhorn_iso_name.iso -boot c -cpu epyc -m 1G -usbdevice tablet -vga cirrus -rtc base="YYYY-MM-DD",clock=vm
Setting up your VM
After setup, install a version of Firefox. For me, 10.0 worked fine for me. Mypal does not work and so does any other modern version of Firefox (even the latest one that supports XP!)