How to install Windows 10 IoT on the Raspberry for Dummies

How to install Windows 10 IoT on the Raspberry for Dummies


When the Raspberry Pi 2 was presented some time ago one of the biggest surprises, beside of the great hardware improvements were the news that Microsoft is planning to release their Windows 10 IoT for the Pi. You now can give it a try!

Please be aware that this guide is not made for you, if you are expecting a windows with a full graphical user interface (gui), as the IoT Version has just a Command Line Interface. Beyond this, it’s made for embedded connected systems that can access hardware pins and not for being a full-sized OS.

Requirements:

  • A Raspberry Pi Version 2 (Please notice Raspberry Pi B or B+ won’t work)
  • An SD(HC) Memmory Card with 8GB Class 10
  • Windows 10 (Build 10069 or higher) Standard (x86/x64)
  • 2A Power Supply for the Pi
  • Ethernet Cable

Lets get started

Download the Windows 10 IoT image

You can get a copy of the latest image under the following link. Click on “Start Now” below the Raspberry Pi Image. It is mandatory to have a Microsoft Connect account. If you want to know more about this process click here.

Please then go to the section called “Put the Windows 10 IoT Core Insider Preview image on your SD Card” and select the link with the title “here” under the second bullet point. You will then be redirected to a site that looks similar to this one.

Screenshot

Scroll down all the way to the bottom set your Country and click on download.

If you’re only getting an error code make sure that you have accepted every survey on the following site here.

Extract the downloaded .zip file

Change into your Downloads folder, select the zip-folder called “Windows_IoT_Core_RPI2_BUILD.zip” right click and select the option “Extract all” this will unzip your previously download file. Inside your extracted folder you should find a file called “flash.ffu”.

Getting the hardware id of the SD Card

Mount your SD Card by inserting it into your PC or Notebook. If everything worked fine, you should also see it in the explorer.

Getting the hardware id of the SD Card is crucial, because if we would flash our image onto the false card it would be erased. But first things first.
Right click onto the windows logo and select “Disk Management”. In there all your disks will be listed. Look for a disk that has the same letter (“E” for example) as your SD card in the explorer. Note down the number in bold letters like “Disk 1”.

Flashing the .ffu image to the SD Card

Before we can flash the image we have to open up an Administrator Command Prompt by right clicking on the Windows logo and selecting Command Prompt (Admin)

Now we need to navigate to our .ffu file. I assume that it’s located in a folder called “Windows_IoT_Core_RPI2_BUILD” inside your Downloads folder.

cd \User\<YourUsername>\Downloads\Windows_IoT_Core_RPI2_BUILD

Please make sure to replace with the your own username.

If you then call the dir statement the Flash.ffu file should be listed. If not, make sure that you have navigated to the proper path. (Compare the path in the settings of the file with your command prompt.)

Still inside our Admin CMD we now can call the disk.exe which is the Windows 10 onboard imaging tool.

dism.exe /Apply-Image /ImageFile:Flash.ffu /ApplyDrive:\\.\PhysicalDriveNummer /SkipPlatformCheck

Please make sure to replace  the hardware id from the previous step!
Depending on your system and your SD-Card this step can take some time.

Connecting your pi

Connections Raspberry Pi

After you have unmounted the SD Card at your Windows 10 System put into your Raspberry 2. The other things you have to connect is your 2A Power supply at the MicroUSB Port of your Pi, a HDMI Cable and an Ethernet cable that goes directly to your local network. After you have everything connected the PWR Led should light up.

Testing

Wait one or two minutes after you’ve connected your pi to the network and power supply. Now you can open up a command prompt on your main Windows 10 system by pressing “Windows” and “R” key at the same time. A small Window should appear in there type in cmd. A Black window should appear. Insert the following code:

ping minwinpc

Description:
What it does is that it is sending an ICMP package to the raspberry which by default has the hostname minwinpc.

If everything worked fine you should get a reply that looks like the following:

Reply from 192.168.2.105: bytes=32 time=5ms TTL= 128
Reply from 192.168.2.105: bytes=32 time=5ms TTL= 128
Reply from 192.168.2.105: bytes=32 time=5ms TTL= 128
Reply from 192.168.2.105: bytes=32 time=5ms TTL= 128

Notice
-If its telling you to reply from a different IP address (for example 192.168.10.3) it’s also perfectly fine. The IP address of the Pi depends on the your local network address and on which addresses are available at your DHCP Server.
-If you get a reply “Request timed out” you should check if both your pi and your computer are connected to the same local area network. You should also check if there is a DHCP server available in your LAN. The third troubleshooting you might want to take is simply wait another minute until the Pi has booted up.

I hope you did enjoy this article, if you have any issues or if there’s anything you’d like to learn about, then drop us a comment.

Cheers Alex

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s