Installing Windows 10 IoT on Raspberry Pi 2 from Windows 8

So you have a Raspberry Pi 2 and want to install Windows 10 IoT on it but don’t have a machine running Windows 10? No problem. These instructions will guide you through how to accomplish this.

It is important to note that this is not the “official” way to install it. These instructions allow you to do the install from a machine running Windows 7 or Windows 8/8.1.

With that said continue at your own risk! 🙂

Tools I am using today 

  • Raspberry Pi2
  • Microsoft Surface Pro 3
  • Sandisk 64gb Class 10 MicroSD Card
  • Targus USB SD Card Reader
    • Even though the Surface Pro 3 has a MicroSD slot, I had to use the external reader for the software used in the install to recognize the card properly

Installation Instructions

  • Login to  http://connect.microsoft.com using your Microsoft Account
  • Go to Directory -> Windows Embedded -> Join “Windows Developer for IoT” program

microsoft-connect-win-10-iot-program

  • Once joined, go to downloads and download Windows 10 IoT Core Insider Preview Image for Raspberry Pi 2
  • At the time of this post the latest build is 5/12/2015
  • From here you can download the zip directly or use the Microsoft File Transfer Manager

windows-iot-core-download

  • We now need to download three more utilities so that we can do the install from Windows 8 or Windows 7
    • SD Formatter – I always format my SD card before starting
    • ImgMount – This lets you mount the image and create a VHD from the mounted image.
    • WinImage – This program lets you write the VHD to an eternal drive
  • I took everything and copied to one folder on my machine to make things easier. In the example I named it c:\w10iot

w10iot-folder

  • Extract the Windows 10 IoT zip file once downloaded
    • The only file we are going to work with today is Flash.ffu
  • Launch an administrative command prompt and browse to c:\w10iot
  • Run the following command “imgmount flash.ffu”

windows-10-iot-create-vhd

  • Windows+X and go to “Computer Management”
    1. Go to Disk Management
      1. You should see an additional drive, right click on it and “detach it”
      2. Make sure to note the folder where the VHD is located
        1. I copied and pasted this into a notepad
      3. Move the file into your c:\w10iot folder

windows-10-iot-detach-vhd

windows-10-iot-vhd-location

  • Install WinImage
    • No license code is needed. It comes with a free 30 day trial. Of course if you like the software I encourage you to purchase it!
  • Plug your MicroSD card in
    • Again; I do this using the reader
  • Install SD Formatter and format your card
    • I use the following options
      1. Format Type – FULL (Erase)
      2. Format Size Adjustment – OFF

windows-10-iot-sd-format-options

  • Launch WinImage (administrator)
  • Go to Disk -> Restore Virtual Hard Disk image on Physical Drive

win-image-export

  • Choose your MicroSD card drive

win-image-select-disk

  • Select your VHD

win-image-select-vhd

  • It will warn you and then start the process
  • Depending on your hardware it should take about 5-10 minutes

win-image-progress

  • Once its done place the MicroSD card in your Raspberry Pi2 and boot it up!
  • The install will take a while.

windows-10-iot-setup windows-10-iot-first-boot

  • That’s it! Happy developing!

windows-10-iot-setup-complete

Build 2015 Highlights and Windows 10

The team over at Microsoft Virtual Academy has put together an amazing course focusing on the highlights of what we learned about Windows 10, and developing for it, at //build 2015.

The course is broken down into the following sections

  1. Introducing the Windows 10 App Model
  2. Windows + Open Source Software
  3. Microsoft Edge: Introducing the New Browser and Web App Platform for Windows 10
  4. Developing Universal Windows Apps in Visual Studio 2015
  5. Game Developers: Get the Most Out of Windows 10
  6. Internet of Things Overview

I highly recommend watching this free course to learn about all the new stuff coming out and how it will change the way we develop and interact with devices.

The course is available here: http://www.microsoftvirtualacademy.com/training-courses/best-of-build-and-windows-10