Giter Site home page Giter Site logo

ie-vm's Introduction

modern.ie VMs under KVM/QEMU

Automates the process of getting the modern.ie images and converting them for usage with KVM. There are 3 scripts:

ie-urls.sh
Attempt to parse the relevant "Batch File Download" URLs from the modern.ie page
fetch.sh (url)
Given a URL to a .txt file full of URLs (like what MS link to), fetch all files within, uncompress and convert into a QCOW2 file for use with QEMU, which will be waiting for you in the current directory.
start.sh (QCOW image)
Fetch virtio.iso if not already there, and start the image with reasonable options

Using

  1. Ensure depenencies are installed with apt-get install wget unzip qemu-system-x86 qemu-utils
  2. Run ie-urls.sh to list available Windows / IE images, or go to http://modern.ie and copy the "Batch File Download" URL for the Linux/VirtualBox VM for the version of IE you want.
  3. Run fetch.sh http://../IE11.Win8.1.For.LinuxVirtualBox.txt and wait. The multiple wgets will fight for the screen somewhat.
  4. Run start.sh (name of image). Or omit the name if you want to run the most recent QCOW2 file.
  5. Install the virtio drivers from the CD drive. Change anything else you fancy whilst you're there, e.g. home page to http://10.0.2.2:8000 (your laptop's port 8000).
  6. Shut down windows, note qemu is still running.
  7. At the QEMU command prompt, run commit ide0-hd0 to write changes back to the QCOW2 file.
  8. Delete the workdir-* once you're happy everything worked. If something went wrong you can run ./fetch.sh again to regenerate the QCOW2 file. It will not re-download files.

After this, you won't ever need to shut windows down properly, since by default start.sh writes changes to a temporary file and does not change the QCOW2 file.

Code 39 when installing VirtIO drivers

Vista and WinXP can use the Win8 driver incorrectly. Select the directory manually and then install.

Creating a specialised VM

If you want to have a VM that's customised for your project somehow, you could just copy the .qcow2, however that's a lot of diskspace. Instead you can create a new image that's based on the contents of another file, for example:

qemu-img create -f qcow2 -b "IE9 - Win7.qcow2" MyProject.IE9.Win7.qcow2

ie-vm's People

Contributors

lentinj avatar gcb avatar jellisii avatar ianblenke avatar enkiusz avatar

Watchers

redbeard avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.