mirror of
https://github.com/reactos/Release_Engineering.git
synced 2024-11-26 21:30:31 +00:00
- Remove the old QEMU and VMware files
- Add a directory "VM-Templates" containing new QEMU and VMware templates. These templates can be used for packaging the next ReactOS Releases svn path=/trunk/tools/VM-Templates/; revision=228
This commit is contained in:
commit
a245ad7676
53
VM-Templates/QEMU/Readme.txt
Normal file
53
VM-Templates/QEMU/Readme.txt
Normal file
@ -0,0 +1,53 @@
|
||||
ReactOS Preinstalled on a QEMU Virtual Machine
|
||||
===============================================
|
||||
|
||||
This package contains a preinstalled ReactOS version on a QEMU virtual
|
||||
machine.
|
||||
For Windows users, it also contains the QEMU application, so you can easily
|
||||
start the virtual machine and run ReactOS.
|
||||
|
||||
|
||||
Windows users
|
||||
--------------
|
||||
To start the preinstalled ReactOS version, just execute the "boot.bat" file.
|
||||
|
||||
You can improve the speed of this virtual machine by installing Kqemu.
|
||||
It is available at http://www.h7.dion.ne.jp/~qemu-win (Section "Accelerators")
|
||||
|
||||
If you want to access files of the virtual hard disk, download and install VDK
|
||||
from http://chitchat.at.infoseek.co.jp/vmware/vdk.html
|
||||
This tool allows you to mount the virtual hard disk in your Windows system.
|
||||
|
||||
|
||||
Users of Unix-based Operating Systems
|
||||
--------------------------------------
|
||||
If you use an Unix-based Operating System such as Linux, install the
|
||||
appropriate QEMU package for your OS.
|
||||
Then open a Terminal, change the current directory to the directory containing
|
||||
the "ReactOS.vmdk" file and execute the following command:
|
||||
|
||||
qemu -m 128 -hda ReactOS.vmdk
|
||||
|
||||
You can improve the speed of the virtual machine by installing the appropriate
|
||||
Kqemu package for your system.
|
||||
|
||||
If you want to access and modify files of the virtual hard disk, you have to
|
||||
convert it to the "raw" format.
|
||||
To convert it, execute the following commands in the directory containing the
|
||||
"ReactOS.vmdk" file:
|
||||
|
||||
qemu-img convert ReactOS.vmdk -O raw ReactOS.hd
|
||||
|
||||
Beware that this takes 2 GB of hard disk space, since a raw hard disk image
|
||||
is not growable.
|
||||
Now you can easily mount the image with the following command:
|
||||
|
||||
mount -oloop,offset=32256 -t vfat ReactOS.hd /mnt/vhd
|
||||
|
||||
In this case, I assume that you want to mount the hard disk image to /mnt/vhd.
|
||||
Otherwise modify the command line accordingly.
|
||||
|
||||
After you unmounted the changed hard disk, you can boot it by executing the
|
||||
following command:
|
||||
|
||||
qemu -m 128 -hda ReactOS.hd
|
18
VM-Templates/QEMU/SVN-Readme.txt
Normal file
18
VM-Templates/QEMU/SVN-Readme.txt
Normal file
@ -0,0 +1,18 @@
|
||||
Packaging the QEMU Preinstallation
|
||||
-----------------------------------
|
||||
|
||||
Replace [VERSION] with the version of ReactOS you want to package, e.g. 0.3.1.
|
||||
|
||||
- Copy the files in this directory into a directory called
|
||||
"ReactOS-[VERSION]-QEMU".
|
||||
- Put the QEMU program files there, including its subdirectories.
|
||||
- Use the following command to create the virtual hard disk:
|
||||
|
||||
qemu-img create -f vmdk ReactOS.vmdk 2G
|
||||
|
||||
- Copy the "ReactOS.iso" file into this directory and run "install.bat" to
|
||||
install it.
|
||||
- Remove the "ReactOS.iso", "install.bat" and this "SVN-Readme.txt" file
|
||||
- Create a ZIP file "ReactOS-[VERSION]-REL-qemu.zip" containing this
|
||||
directory.
|
||||
Do not forget to activate the option to store the relative path names.
|
2
VM-Templates/QEMU/boot.bat
Normal file
2
VM-Templates/QEMU/boot.bat
Normal file
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
qemu -L . -m 128 -hda ReactOS.vmdk
|
2
VM-Templates/QEMU/install.bat
Normal file
2
VM-Templates/QEMU/install.bat
Normal file
@ -0,0 +1,2 @@
|
||||
@echo off
|
||||
qemu -L . -m 128 -hda ReactOS.vmdk -cdrom ReactOS.iso -boot d
|
27
VM-Templates/VMware/ReactOS-Installation.vmx
Normal file
27
VM-Templates/VMware/ReactOS-Installation.vmx
Normal file
@ -0,0 +1,27 @@
|
||||
config.version = "7"
|
||||
virtualHW.version = "3"
|
||||
|
||||
displayName = "ReactOS-Installation"
|
||||
guestOS = "winxppro"
|
||||
memsize = 128
|
||||
|
||||
floppy0.present = "FALSE"
|
||||
ide0:0.present = "TRUE"
|
||||
ide0:0.fileName = "ReactOS.vmdk"
|
||||
ide1:0.present = "TRUE"
|
||||
ide1:0.fileName = "ReactOS.iso"
|
||||
ide1:0.deviceType = "cdrom-image"
|
||||
|
||||
Ethernet0.present = "TRUE"
|
||||
Ethernet0.addressType = "generated"
|
||||
Ethernet0.generatedAddress = "00:0c:29:7c:4c:8b"
|
||||
Ethernet0.generatedAddressOffset = "0"
|
||||
uuid.action = "create"
|
||||
uuid.location = "56 4d 0e c2 bf 9a 5a bd-fa 1c 5e 1f d6 6e eb f7"
|
||||
uuid.bios = "56 4d 0e c2 bf 9a 5a bd-fa 1c 5e 1f d6 6e eb f7"
|
||||
|
||||
usb.present = "FALSE"
|
||||
|
||||
ide0:0.deviceType = "ata-hardDisk"
|
||||
priority.grabbed = "normal"
|
||||
priority.ungrabbed = "normal"
|
20
VM-Templates/VMware/ReactOS.vmx
Normal file
20
VM-Templates/VMware/ReactOS.vmx
Normal file
@ -0,0 +1,20 @@
|
||||
config.version = "7"
|
||||
virtualHW.version = "3"
|
||||
|
||||
displayName = "ReactOS"
|
||||
guestOS = "winxppro"
|
||||
memsize = 128
|
||||
|
||||
floppy0.present = "FALSE"
|
||||
ide0:0.present = "TRUE"
|
||||
ide0:0.fileName = "ReactOS.vmdk"
|
||||
|
||||
Ethernet0.present = "TRUE"
|
||||
Ethernet0.addressType = "generated"
|
||||
Ethernet0.generatedAddress = "00:0c:29:7c:4c:8b"
|
||||
Ethernet0.generatedAddressOffset = "0"
|
||||
uuid.action = "create"
|
||||
uuid.location = "56 4d f3 82 2e e6 c2 57-a8 3d d3 58 af 7c 4c 8b"
|
||||
uuid.bios = "56 4d f3 82 2e e6 c2 57-a8 3d d3 58 af 7c 4c 8b"
|
||||
|
||||
usb.present = "FALSE"
|
10
VM-Templates/VMware/Readme.txt
Normal file
10
VM-Templates/VMware/Readme.txt
Normal file
@ -0,0 +1,10 @@
|
||||
ReactOS Preinstalled on a VMware Virtual Machine
|
||||
=================================================
|
||||
|
||||
This package contains a preinstalled ReactOS version on a VMware virtual
|
||||
machine. You need a VMware product from http://www.vmware.com to use it.
|
||||
|
||||
If you want to access files of the virtual hard disk, you can use the
|
||||
"vmware-mount" utility bundled with some VMware products.
|
||||
Windows users can also use VDK from
|
||||
http://chitchat.at.infoseek.co.jp/vmware/vdk.html
|
20
VM-Templates/VMware/SVN-Readme.txt
Normal file
20
VM-Templates/VMware/SVN-Readme.txt
Normal file
@ -0,0 +1,20 @@
|
||||
Packaging the VMware Preinstallation
|
||||
-------------------------------------
|
||||
|
||||
Replace [VERSION] with the version of ReactOS you want to package, e.g. 0.3.1.
|
||||
|
||||
- Copy the files in this directory into a directory called
|
||||
"ReactOS-[VERSION]-VMware".
|
||||
- Copy the "ReactOS.iso" file into this directory.
|
||||
- Open the "ReactOS-Installation.vmx" file in your VMware product, click on
|
||||
"Edit virtual machine settings" and on "Add".
|
||||
- Add a new hard disk called "ReactOS.vmdk" with 2 GB size and in a growable
|
||||
format (deselect "Allocate all disk space now").
|
||||
- Remove the created "Hard Disk 2" entry as we already have a "Hard Disk"
|
||||
entry, which now uses the created file.
|
||||
- Start the virtual machine and install ReactOS on it.
|
||||
- Remove all files in this directory except "ReactOS.vmx", "ReactOS.vmdk" and
|
||||
"Readme.txt"
|
||||
- Create a ZIP file "ReactOS-[VERSION]-REL-vmware.zip" containing the
|
||||
"ReactOS-[VERSION]-VMware" directory.
|
||||
Do not forget to activate the option to store the relative path names.
|
Loading…
Reference in New Issue
Block a user