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

Free Web Development Courses

Some of the most common questions I get from new developers is “How do I get started?” and “Are there free resources online for me to learn?“. The good news is that it is very easy to get started and Microsoft Virtual Academy is a phenomenal free resource online with hundreds of courses.

If you are just getting into web development I highly recommend visiting Web Development Courses and Beginner Courses to browse all the free courses Microsoft Virtual Academy has to offer. Simply register on the site to get complete access to the videos, course materials and example code.

There are many to choose from and they guide you from basic HTML to launching Web Apps using Microsoft Azure. Head on over and happy learning!

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

Microsoft Virtual Academy May 2015 Preview

If you haven’t been there already, you must check out Microsoft Virtual Academy. This website provides free online training for literally hundreds of topics. All the videos you will find are professional and come with accompanying slides and assessments.

There will be many new courses and updates published to the site during the month of May. For more information on the new updates, please visit the following link: MVA Monthly: May 2015

Developing on Microsoft Azure

Getting started developing Microsoft Azure solutions by watching the amazing online course put together by Bret Stateham and Sidney Andrews.

This course focuses on topics you will need to know in order to pass Exam 70-532: Developing Microsoft Azure Solutions.

This serves as a great broad overview of the Microsoft Azure platform and its core capabilities.

If you you’ve always wanted to learn about the Microsoft Cloud, this is the perfect technical intro for you to dive into.

How Can I Learn MVC?

One of the best ways for any developer to grow is by staying up to date on all the current technologies and tools that are available to them. And as well all know, technology advances very fast.

The hardest part for most of us is simply finding the time to learn new things. If you are anything like me, you stick to what you are most familiar with to get a project done and out the door. In the end the client is still happy and your project still gets done, but, you may be missing out on ways you can streamline your work and get projects done even faster and with cleaner code.

So where am I going with this?

Well, for years and years I have developed in VB.net using web forms. I have literally built over 300 sites using ASP.net Web Forms and LINQ to SQL. For quite some time know I had read about MVC and even had a few colleagues demonstrate it to me. While I was impressed I really never took the time to sit down and learn it. After all, it was a different way of thinking and who has time to learn? And let’s be honest, I was just being stubborn and did not want to leave my comfort zone.

Well after months and months of bugging me, a friend finally got me to sit down and take a few courses on MVC, AngularJs, and Web API’s. Needless to say, once I started learning about it I was absolutely blow away and have not looked back since.

The biggest challenge is finding a good resource online to provide great training that would serve as a jump off point for me. I found most of my training at Microsoft Virtual Academy and Plural Sight.

I’ve included links below to the courses that I found useful and hope that they help you as well.

Note; Microsoft Virtual Academy is 100% free. Plural Sign has a minimal monthly fee.

Enjoy and Happy Coding!