GithubHelp home page GithubHelp logo

ie-vm's Introduction

DEPRECATED

Similar to Internet Explorer, modern.ie VMs are no more. Windows VMs are available at the following sources:

But this repository does not (currently) help with using them under QEMU.

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 .zip download URLs from the modern.ie page
fetch.sh (url)
Given a URL to a VM .zip file, uncompress and convert into a QCOW2 file for use with QEMU, which will be waiting for you in the current directory. Will also support a URL to a .txt file full of .zip part URLs, although MS seem to have deprecated this.
start.sh (QCOW image)
Fetch virtio.iso if not already there, and start the image with reasonable options

Prerequisites

wget & QEMU must be installed.

Debian / apt-based distributions:

apt install wget unzip qemu-system-x86 qemu-system-gui qemu-utils

Preparing a VM image

  1. Run ie-urls.sh to list available Windows / IE images, or go to http://modern.ie and select the VM you require and "Virtualbox", and copy the .zip location in the download link.

  2. Run fetch.sh http://../IE11/IE11.Win7.VirtualBox.zip and wait. You can break out of the download and resume it at a later point if necessary.

  3. Run start.sh (name of image). Or omit the name if you want to run the most recent QCOW2 file. Use start.sh -h to see available options.

  4. If the VM asks you for a login, it should be IEUser / Passw0rd!.

  5. Install virtIO drivers (if you did not specify --no-virtio):

    1. Go to "Settings" -> "Device Manager"
    2. For each unknown device, as well as for the display adapter, right-click and select "Update driver"
    3. Select "Browse my computer for the driver software"
    4. Select the CD drive (D: virtio-win-x.x), Windows will work out which driver within to install
  6. Disable Windows Defender AV:

    1. Settings -> "Windows Defender Settings" -> "Virus & threat protection"
    2. Untick all the sliders
    3. Start menu -> type in "gpedit.msc"
    4. "Computer Configuration" -> "Administrative Templates" -> "Windows Components" -> "Windows Defender Antivirus"
    5. "Turn off Windows Defender Antivirus" policy
    6. "Enable" and OK
  7. Miscallaneous:

    1. Set screen resolution
    2. Set home page to http://10.0.2.2:8000 (your laptop's port 8000)
  8. Shut down windows, note qemu is still running.

  9. At the QEMU monitor console (in the terminal you ran ./start.sh from), run commit ide0-hd0 to write changes back to the QCOW2 file.

  10. Quit QEMU with quit at the console

  11. Delete the workdir-* once you're happy everything worked.

Running a VM image

Run ./start.sh (name of .qcow2 file). By default any changes to the VM will be written to a temporary file, so the machine will always start up in the same state. Use commit virtio0 if you wish to update the QCOW2 image.

Once you have prepared your VM image, including installing the VirtIO SCSI controller, add --disk-virtio to the start.sh arguments in order to use it.

For better performance, you may want to customise the number of CPUs (default: 1) and amount of memory (default 1024MB) granted to the VM. This can be done as follows, for example:

EXTRA_ARGS='-smp cpus=4' ./start.sh --disk-virtio --ram 4096M "MSEdge - Win10.qcow2"

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

Code 39 when installing VirtIO drivers

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

Blue screen after installing VirtIO QXL VGA drivers

Windows 7 doesn't work with the qxldod driver. Delete virtio-win.iso and re-install.

Passing through laptop's touchscreen

My laptop has a multitouch touchscreen:

# lsusb -d 1fd2:6007 Bus 001 Device 006: ID 1fd2:6007 Melfas LGDisplay Incell Touch

If I temporarily grant read-write to the usb device:

# ls -l /dev/bus/usb/001/006 crw-rw-r-- 1 root root 189, 5 Apr 21 10:31 /dev/bus/usb/001/006 # chmod a+rw /dev/bus/usb/001/006

...then QEMU can claim it and I can use it directly under QEMU, testing pinch-zoom effects:

EXTRA_ARGS="-device usb-host,vendorid=0x1fd2,productid=0x6007" ./start.sh . . .

ie-vm's People

Contributors

enkiusz avatar gcb avatar ianblenke avatar jellisii avatar jim-minter avatar kyungw00k avatar lentinj avatar orcaxs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ie-vm's Issues

Add instructions for enabling network access

Maybe something like this:


Open device manager

You will see your unknown devices.

Right click the unknown device and select "update driver".

Select "Browse my computer for the driver software"

Click browse

Select the CDROM Drive virtio-win-x.x 

Then click next. Windows will scan the entire device for the location of the best-suited driver.


It should find a RedHat network adapter driver, follow the prompts and you're in business.

Shamelessly stolen from here: https://forums.unraid.net/topic/51193-no-network-adapter-in-windows-10-vm-resolved/

Those instructions worked for me.

Missing dependency: curl

curl is used by ie-urls.sh but it is not listed as a dependency. curl was not installed by default on my Debian 7 system.

I am wondering if the curl command could be replaced with wget to remove the dependency.

no license

annoying topic, sorry, but i plan to use this at work and people will annoy me, so, may i suggest adding this to the end of the README:

The MIT License (MIT)

Copyright (c) 2014 Jamie Lentin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

from http://choosealicense.com/licenses/mit/

thank you.

Wrong using step 3 in README (fetch.sh ... txt file)

In the README.rst there are specified as point 3. to:
"Run fetch.sh http://../IE11.Win8.1.For.LinuxVirtualBox.txt and wait. The multiple wgets will fight for the screen somewhat."
This does not play, while doing the same for a according .zip file, will download the VM-container

MSEdge.Win10.VirtualBox will not start

screenshot from 2018-12-04 13-28-07

As shown in the attached screen shot of the test of starting up MSEdge.Win10 by virt-manager in a RHEL 7.6 environment, does not work.
Only telling: "No bootable device."

The other virtual packages works though.

Are there any testing of these after deployment?

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.