How to run Windows on your RaspBerry PI B2

How to run Windows on your RaspBerry PI B2

How to run Windows on your RaspBerry PI B2

As we’re still waiting with our new Raspberry PI 2 for Windows 10 to be released, why not run a slightly older version of Windows in the meantime? Here’s a guide to setup Windows 3.x on your Raspberry PI B2. Please note that you will need Windows 3.x for this. If you have a MSDN subscription you can download it from Microsoft. Bing might be able to help you further when you do not have an MSDN subscription.

Requirements

Before starting, we assume you have the following hardware:

Also you have installed on your PC:

And you have the following files ready:

Preparing Windows 3.x

When you have the original Windows 3.1 or 3.11 from MSDN, you have downloaded a self-extracting executable. I have no idea why this is since you need Windows to run the executable…

  • Run the executable on your PC and extract the files to a new folder. The result should be somewhere around 612 files (386MAX.VX_, 8514.DR_, 8514FIX.FO_, etc. etc.).
  • Place all the files in a compressed zip file. In my case I called it “win.zip”.
  • Upload this zip file to your OneDrive, email it to your webmail or place it somewhere else where you can access it from the internet. You’ll need to obtain it later on your Raspberry.

Setting up Raspbian

  • Insert your Micro SD card in your PC and format it as FAT32.
  • Use Win32DiskImager to write the Raspbian image to your SD card.
  • Insert your Micro SD card in your Raspberry, connect network, a HDMI monitor, keyboard and mouse to it and finally attach the power source. If it all went well you will see Linux booting up and open up a BIOS like configuration screen.

    Raspberry Pi Software Configuration Tool

    Raspberry Pi Software Configuration Tool

  • In the menu first choose “Expand Filesystem”. This makes Raspbian look what disk space is available besides from the size of the image that we wrote to the SD card.
  • Then choose the third option, “Enable Boot to Desktop/Scratch”. Set it to boot to the desktop, this is the easiest location to get Windows to run.
  • Optionally you can explore the other options like setting your localization right, enabling the camera, overclocking etc. When done select “” to close the configuration tool and reboot the PI.
  • In the Desktop environment we start by opening an LXTerminal window (the icon that looks like a monitor).
  • In LXTerminal enter the following command to make sure your OS is fully up to date:
  • sudo apt-get update
  • Then install DOSBox with the following command:
  • sudo apt-get install dosbox
  • After DOSBox is installed the next step is to transfer Windows to your Raspberry. You can download the file we prepared before with the Epiphany web browser.
  • Now we go back to the terminal window to create a dos/windows location and extract the zip file: (replace the filename “win.zip” by the name of your downloaded zip and mind the capital D in Downloads)
  • C:\ 
    cd winstall 
    setup
  • That was enough Linux stuff, open the menu, click on games, DOSBox
  • We now need to mount (last Linux command, I promise) a C:\ drive with the following command:
  • mount C: /home/pi/dos
  • Now the Dos folder is our C: drive!
    Start the windows setup by entering:
  • mkdir /home/pi/dos
    mkdir /home/pi/dos/winstall 
    unzip /home/pi/Downloads/win.zip -d /home/pi/dos/winstall
  • Windows will now start the installation :)
    Windows 3.11 setup

    Windows 3.11 setup

Leave a Reply

Your email address will not be published. Required fields are marked *