How to install Windows 10 Core on Raspberry Pi 2 without a real (physical) machine - raspberry-pi2

I only have a Windows 8.1 x64 PC and a Raspberry Pi 2. I have some problems that prevent me from installing Windows 10 on my PC.
In this situation, is there any way to install "Windows 10 IoT Core" to the SD card on Raspberry Pi2?
I tried the following:
Using a virtual machine - Windows 10 x64 Preview on VM Player, but it failed. I used:
dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive1 /SkipPlatformCheck -> Error 87? I forgot the number
I only copied "dism.exe" file from "window10x64 .iso" file in sources folder.
and tried the following, but failed:
dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive1 /SkipPlatformCheck -> Error 87? same
I only copied "dism.exe" file from "window10x86 .iso" file in sources folder.
and tried the following, but failed:
dism.exe /Apply-Image /ImageFile:flash.ffu /ApplyDrive:\\.\PhysicalDrive1 /SkipPlatformCheck -> Error 87? same
So now I know that the "dism.exe" that i called is only for Windows 8, not for Windows 10.
If the ".ffu" installer exists, it is not problem anymore, but it doesn't exist.

I just did this earlier today with mine and it works. From the iso, without your VM, mount it as a virtual Cd drive (you can use MagicISO Virtual CD/DVD Manager) Then open the CD, and run the .msi.
Install python and download ffu2img.py3 (You may have to copy and paste it into notepad) to C:\Program Files (x86)\Microsoft IoT\FFU\RaspberryPi2.
Now open a cmd window as an administrator and type,
cd C:\Program Files (x86)\Microsoft IoT\FFU\RaspberryPi2\
C:\Python34\python.exe ffu2img.py flash.ffu
Then you have the img file you can write to the sd card just like raspbian. =)
Edit: If you already have the ffu file, skip the first section.

Related

Change bash.exe with multiple linux subsystems on windows

I first installed a Ubuntu linux subsystem with the windows store.
I then installed the hyper terminal for windows like explained in this tutorial : https://medium.com/#ssharizal/hyper-js-oh-my-zsh-as-ubuntu-on-windows-wsl-terminal-8bf577cdbd97
Like it is written in the tutorial I put C:\\Windows\\System32\\bash.exe in the hyper configuration file.
However, afterwards, I installed another linux subsystem, Wlinux.
So now I have two subsytems located here
Wlinux : C:\Users\martinpc\AppData\Local\Packages\WhitewaterFoundryLtd.Co....
Ubuntu : C:\Users\martinpc\AppData\Local\Packages\CanonicalGroupLimited.UbuntuonWindows_7...
However, when I open the hyper terminal, It seem like I can only access the files of the ubuntu distrib and not the Wlinux. Therefore, I would like to know how I can point Hyper to Wlinux and not Ubuntu anymore. Thank you for your answer.
First of all, bash.exe has been deprecated. You should use wsl.exe in command lines. Check your installed distributions in WSL with wslconfig.exe /list /all command. Alternatively, for Windows 10 version 1903 and above, wsl.exe --list --all command can be used. Choose the distribution that you want to connect with HyperJS Terminal emulator. Open up Hyper.js configuration with Ctrl + , or open %UserProfile%\.hyper.js in any text editor. Edit the shell configuration from these two named values:
shell: 'C:\\Windows\\System32\\wsl.exe',
shellArgs: ['--distribution', 'Your-Distro-Name'],
Alternatively, you can use wslconfig.exe /setdefault <DistributionName> command to change default distribution. With this step, you can skip the shellArgs line in .hyper.js configuration file.

Error message while trying to install Tensorflow for GPU using Anaconda

I am trying to install Tensorflow for GPU using Anaconda on my Windows 10 system. Running
conda create --name tf_gpu tensorflow-gpu
I get:
Downloading and Extracting Packages
tensorflow-base-1.12 | 180.8 MB | #########################################################1 | 75%
[Errno 2] No such file or directory: 'C:\\Users\\miroslaw.bartkowiak\\AppData\\Local\\Continuum\\anaconda3\\pkgs\\tensorflow-base-1.12.0-gpu_py36h6e53903_0\\Lib\\site-packages\\tensorflow\\include\\tensorflow\\include\\external\\eigen_archive\\unsupported\\Eigen\\src\\SpecialFunctions\\arch\\CUDA\\CudaSpecialFunctions.h'
I'd appreciate your help ...
I believe your problem is Windows long path name support.
For some reason MS leave it off.
For Windows 10 Pro or above, run the Local Group Policy Editor (gpedit).
Go to Computer Configuration -> Administrative Templates -> System -> Filesystem.
Change the Enable Win32 long paths setting to Enabled and reboot.
For Windows 10 Home, you have to change the registry.
Hive: Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem
Set LongPathsEnabled to 1
Reboot.
Then try again.
Good luck!

No XDE for HoloLens Emulator

I can't find XDE.exe which is required to run the HoloLens emulator.
On http://peted.azurewebsites.net/start-hololens-emulator-without-visual-studio/, I've found out that you can run the HoloLens Emulator without Visual Studio.
It lists the following command.
start “HoloLens” “C:\Program Files (x86)\Microsoft XDE\10.0.14393.0\XDE.exe” /name “HoloLens Emulator 10.0.14393.0.peted” /displayName “HoloLens Emulator 10.0.14393.0″ /vhd “C:\Program Files (x86)\Windows Kits\10\Emulation\HoloLens\10.0.14393.0\flash.vhd” /video “1268×720″ /memsize 2048 /language 409 /creatediffdisk “C:\Users\peted\AppData\Local\Microsoft\XDE\10.0.14393.0\dd.1268×720.2048.vhd” /fastShutdown /sku HDE
But, if I go to C:\Program Files (x86), there is no folder named "Microsoft XDE".
And even if I decide not to use XDE, the Hyper-V emulator gives this error.
I do not have enough reputation to post images, so here is what it says.
Virtual machine could not be started because the hypervisor is not running.(http://i.imgur.com/5OFBh5v.png)
Please help.

dnvm upgrade command not working for ASP.NET 5 command line tools

While trying step 3 of Installing ASP.NET 5 on Windows, I am getting the following error on the command prompt of Windows 7. I have VS2015 Professional installed: PowerShell' is not recognized as an internal or external command, operable program or batch file.
After I restarted my Windows 7, the command worked. Following is the output:
C:\Windows\system32>dnvm upgrade
Determining latest version
Downloading dnx-clr-win-x86.1.0.0-rc1-update1 from https://www.nuget.org/api/v2
Installing to C:\Users\myUserName\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1
Adding C:\Users\myUserName\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1\bin to pr
ocess PATH
Adding C:\Users\myUserName\.dnx\runtimes\dnx-clr-win-x86.1.0.0-rc1-update1\bin to us
er PATH
Setting alias 'default' to 'dnx-clr-win-x86.1.0.0-rc1-update1'

How do I resolve the error ORA-06413: Connection not open?

My local environment VS2012
Using Oracle 10g XE
Dim dbConn As New OleDbConnection
Dim dbComm As OleDbCommand
dbConn.ConnectionString = "Provider=msdaora;Data Source=XE;User ID=scott;Password=tiger"
dbConn.Open()
Tip error: ORA-06413: Connection not open.
Already check the TNSNAMES.ora, SQLNET.ora, LISTENER.ora and its nothing wrong.
But why this error appear?
:(
The error is caused by the parenthesis in the pathname.
possibly you execute VS2012 from C:\program file (x86)...
workaround: create a junction link
steps:
from: command line execute
C:>mkLink /j "Program Files x86" "Program Files (x86)"
and then
fix the (or create a new) shortcut with new path (C:\program file
x86...)
I worked a lot on this problem, I lost a lot of time. Apparently IIS Express in Visual Studio uses the Oracle provider 64 bit.
To solve this problem:
I installed IIS on my PC (Windows 10)
with .NET 4.5 or higher
I compiled the Web API application with 32-bit target.
I publish the web application on my IIS.
On IIS I set enable the apps 32 bit to true
I had the same problem and I resolved the problem installing Oracle 11g Express. Before, I removed all previous Oracle client installation. I use windows 7 64 bit.
Create Bat file to start excel
in bat put path you can adjust to match your folders
start c:\progra~2\micros~1\Office14\Excel.exe
When you start excel just open macro and try :)
I encountered the same problem when working on my Visual studio 2013 project. I was able to run the same project from SVN on a different machine, but it just WON'T work on mine. I checked the connection string and could successfully test the connection in Oracle, but it would throw a disgusting “ORA-06413: Connection not open” error from code.
I got it fixed this way - Install Oracle 11g client -> Select "Administrator" as Type of Installation. Re-open Visual Studio and it worked. Hope it helps!
uninstall your toad or oracle
reinstall on on your window drive ex:(c/d/e) in new folder
don't install in program files (x86)
because program files(x86) is for 32 bit applications
I have resolved the error after the days of searching.
Error Cause:
This error is due to Oracle reserved character "(",")" and in Windows 64 bit there is a folder "Program Files (x86)" which is a creation problem.
Solution:
Create a link folder for "Program Files (x86)" using below command on Window Drive path.
Open cmd as Administrator.
mklink /j "Program Files x86" "Program Files (x86)"
or visit link
download3k article
Open Registry (as Administrator)->Export Registry
Always backup a registry file before changing it. Make a copy of the registry file and work on the copy.
Open Registry file(Copy) in text editor and replace "(x86)" with "x86"
Save the file and import it to your Registry and restart your computer.
Now the "ORA-06413: Connection not open" error goes away.