Author: cfinck Date: Mon Jun 11 19:16:35 2007 New Revision: 27142
URL: http://svn.reactos.org/svn/reactos?rev=27142&view=rev Log: - 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
Added: trunk/tools/VM-Templates/ trunk/tools/VM-Templates/QEMU/ trunk/tools/VM-Templates/QEMU/Readme.txt trunk/tools/VM-Templates/QEMU/SVN-Readme.txt trunk/tools/VM-Templates/QEMU/boot.bat trunk/tools/VM-Templates/QEMU/install.bat trunk/tools/VM-Templates/VMware/ trunk/tools/VM-Templates/VMware/ReactOS-Installation.vmx trunk/tools/VM-Templates/VMware/ReactOS.vmx trunk/tools/VM-Templates/VMware/Readme.txt trunk/tools/VM-Templates/VMware/SVN-Readme.txt Removed: trunk/tools/ReactOS.vmx trunk/tools/boot.bat
Removed: trunk/tools/ReactOS.vmx URL: http://svn.reactos.org/svn/reactos/trunk/tools/ReactOS.vmx?rev=27141&vie... ============================================================================== --- trunk/tools/ReactOS.vmx (original) +++ trunk/tools/ReactOS.vmx (removed) @@ -1,56 +1,0 @@ -config.version = "8" -virtualHW.version = "3" -memsize = "128" -ide0:0.present = "TRUE" -ide0:0.fileName = "ReactOS.vmdk" -floppy0.present = "FALSE" -floppy0.startConnected = "FALSE" -floppy0.fileName = "" -Ethernet0.present = "TRUE" -displayName = "ReactOS" -guestOS = "winxppro" -priority.grabbed = "normal" -priority.ungrabbed = "normal" -powerType.powerOff = "hard" -powerType.powerOn = "hard" -powerType.suspend = "hard" -powerType.reset = "hard" - -sound.present = "FALSE" -sound.virtualDev = "es1371" - -Ethernet0.addressType = "generated" -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" -ethernet0.generatedAddress = "00:0c:29:7c:4c:8b" -ethernet0.generatedAddressOffset = "0" - -tools.remindInstall = "TRUE" - -### CDROM ### -ide1:0.startConnected = "FALSE" -ide1:0.present = "FALSE" -ide1:0.fileName = "ReactOS.iso" -ide1:0.deviceType = "cdrom-image" - -ide0:0.deviceType = "disk" -usb.present = "FALSE" - -ide0:0.redo = "" - -nvram = "ReactOS.nvram" - -floppy0.fileType = "file" - -checkpoint.vmState = "" - -ethernet0.connectionType = "nat" - -serial0.present = "TRUE" -serial0.fileName = "debug.txt" -serial0.fileType = "file" -serial0.tryNoRxLoss = "FALSE" -serial0.yieldOnMsrRead = "TRUE" -serial0.startConnected = "TRUE" - -uuid.action = "create"
Added: trunk/tools/VM-Templates/QEMU/Readme.txt URL: http://svn.reactos.org/svn/reactos/trunk/tools/VM-Templates/QEMU/Readme.txt?... ============================================================================== --- trunk/tools/VM-Templates/QEMU/Readme.txt (added) +++ trunk/tools/VM-Templates/QEMU/Readme.txt Mon Jun 11 19:16:35 2007 @@ -1,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
Added: trunk/tools/VM-Templates/QEMU/SVN-Readme.txt URL: http://svn.reactos.org/svn/reactos/trunk/tools/VM-Templates/QEMU/SVN-Readme.... ============================================================================== --- trunk/tools/VM-Templates/QEMU/SVN-Readme.txt (added) +++ trunk/tools/VM-Templates/QEMU/SVN-Readme.txt Mon Jun 11 19:16:35 2007 @@ -1,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.
Added: trunk/tools/VM-Templates/QEMU/boot.bat URL: http://svn.reactos.org/svn/reactos/trunk/tools/VM-Templates/QEMU/boot.bat?re... ============================================================================== --- trunk/tools/VM-Templates/QEMU/boot.bat (added) +++ trunk/tools/VM-Templates/QEMU/boot.bat Mon Jun 11 19:16:35 2007 @@ -1,0 +1,2 @@ +@echo off +qemu -L . -m 128 -hda ReactOS.vmdk
Added: trunk/tools/VM-Templates/QEMU/install.bat URL: http://svn.reactos.org/svn/reactos/trunk/tools/VM-Templates/QEMU/install.bat... ============================================================================== --- trunk/tools/VM-Templates/QEMU/install.bat (added) +++ trunk/tools/VM-Templates/QEMU/install.bat Mon Jun 11 19:16:35 2007 @@ -1,0 +1,2 @@ +@echo off +qemu -L . -m 128 -hda ReactOS.vmdk -cdrom ReactOS.iso -boot d
Added: trunk/tools/VM-Templates/VMware/ReactOS-Installation.vmx URL: http://svn.reactos.org/svn/reactos/trunk/tools/VM-Templates/VMware/ReactOS-I... ============================================================================== --- trunk/tools/VM-Templates/VMware/ReactOS-Installation.vmx (added) +++ trunk/tools/VM-Templates/VMware/ReactOS-Installation.vmx Mon Jun 11 19:16:35 2007 @@ -1,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"
Added: trunk/tools/VM-Templates/VMware/ReactOS.vmx URL: http://svn.reactos.org/svn/reactos/trunk/tools/VM-Templates/VMware/ReactOS.v... ============================================================================== --- trunk/tools/VM-Templates/VMware/ReactOS.vmx (added) +++ trunk/tools/VM-Templates/VMware/ReactOS.vmx Mon Jun 11 19:16:35 2007 @@ -1,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"
Added: trunk/tools/VM-Templates/VMware/Readme.txt URL: http://svn.reactos.org/svn/reactos/trunk/tools/VM-Templates/VMware/Readme.tx... ============================================================================== --- trunk/tools/VM-Templates/VMware/Readme.txt (added) +++ trunk/tools/VM-Templates/VMware/Readme.txt Mon Jun 11 19:16:35 2007 @@ -1,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
Added: trunk/tools/VM-Templates/VMware/SVN-Readme.txt URL: http://svn.reactos.org/svn/reactos/trunk/tools/VM-Templates/VMware/SVN-Readm... ============================================================================== --- trunk/tools/VM-Templates/VMware/SVN-Readme.txt (added) +++ trunk/tools/VM-Templates/VMware/SVN-Readme.txt Mon Jun 11 19:16:35 2007 @@ -1,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.
Removed: trunk/tools/boot.bat URL: http://svn.reactos.org/svn/reactos/trunk/tools/boot.bat?rev=27141&view=a... ============================================================================== --- trunk/tools/boot.bat (original) +++ trunk/tools/boot.bat (removed) @@ -1,2 +1,0 @@ -qemu -boot c -m 128 -L . c.img -REM qemu -boot d -m 128 -L . c.img -cdrom ReactOS.iso