via techcrunch
Thanks to the release of Windows 10 for multiple single-board computers, tinkerers are now waking up to the possibility of running Windows as a usable and surprisingly polished alternative open source operating systems like Raspbian. But how do you run Windows on a RaspPi? And why?
First, I invite you to check out Microsoft’s refreshingly complete GitHub page where they offer instructions for installing Windows 10 onto Raspberry Pi, Arduino, Galileo, and MinnowBoard. The page offers instructions for getting the official “Windows Embedded IoT” image for use with these devices. You can also just download it here.
A note to OSX users: I originally hoped to include instructions on how to flash an SD card for RaspPi2 using OS X or Linux but, sadly, Microsoft’s FFU image files require specific Windows file handling software. I tried converting this to an image file using obvious methods (changing the extension) and unobvious methods (looking hither and yon for an answer) but generally it was a problem I couldn’t solve. I will update this post when I find a solution.
Here is how to install Windows 10 IoT onto your Raspberry Pi.
1. Create an account at Microsoft Connect.
2. Download the file Windows_IoT_Core_RPI2_BUILD.zip which contains flash.ffu. Place this file in an accessible place.
3. Insert a blank 8GB Class 10 SD card into your computer.
4. Open a command prompt and type: diskpart list disk exit
This will allow you to find the drive number for your SD card. Use this in the next step.
5. Finally, follow Microsoft’s own instructions for flashing the SD card in Windows 10.
Using the administrator command prompt, apply the image to your SD card by running the following command (be sure to replace PhysicalDriveN with the value you found in the previous step, for example, if your SD card is disk number 3, use /ApplyDrive:\\.\PhysicalDrive3 below):dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDriveN /SkipPlatformCheck
6. Safely remove the SD card.
The card is now ready to boot in your Raspberry Pi 2.
Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!
The FFU file format is described here: https://msdn.microsoft.com/en-us/library/windows/hardware/dn757539(v=vs.85).aspx