Page 1 of 1

shutdown -s Restarts Rasperry Pi 2

Posted: Thu Apr 30, 2015 11:35 pm
by f1ben
I followed the instructions to put the "Windows 10 IoT Core Insider Preview Image for Raspberry Pi 2" onto my Raspberry Pi 2. I followed the instructions here to change the Administrator password: http://ms-iot.github.io/content/win10/s ... rShell.htm
When I tried to shut off the RP2, it always restarts. Given my past experiences with Windows, I'm reluctant to just pull the power cord. I tried to shutdown command through the web interface and "shutdown -s -t 0" from powershell. Either way, the RP2 restarts instead of shutting down.

What am I doing wrong?

Re: shutdown -s Restarts Rasperry Pi 2

Posted: Fri May 01, 2015 2:44 am
by aseltine
"shutdown /s" maybe?

Re: shutdown -s Restarts Rasperry Pi 2

Posted: Fri May 01, 2015 2:46 am
by Robpol86
Same thing happens to me.

Code: Select all

[10.192.168.147]: PS C:\Users\Administrator\Documents> shutdown /s /t 0
System will shutdown in 0 seconds...
[10.192.168.147]: PS C:\Users\Administrator\Documents>
Boots right back up. I'm sure they'll fix it in the next release or so. In the mean time I wouldn't really worry that much about corrupting anything. If anything does end up breaking you can just re-image the SD card. Not very many settings/customizations to lose compared to a traditional PC.

Re: shutdown -s Restarts Rasperry Pi 2

Posted: Fri May 01, 2015 7:28 pm
by jtanner_msft
Technically the rpi2 does not support the typical shutdown. There is however a mechanism to simulate shutdown by halting the subsequent boot which is implemented by Raspbian. That capability is available but did not make it into the currently released build, it should be available in later version in the future.

I hope that helps,
~Jonathan Tanner [MSFT]

Re: shutdown -s Restarts Rasperry Pi 2

Posted: Thu May 07, 2015 4:49 pm
by jay691
So what is the recommended way of shutting it down? Just pull the plug?

Re: shutdown -s Restarts Rasperry Pi 2

Posted: Thu May 07, 2015 8:34 pm
by RandomPiDude
jay691 wrote:So what is the recommended way of shutting it down? Just pull the plug?
Yes. What could possibly go wrong... :)

Re: shutdown -s Restarts Rasperry Pi 2

Posted: Sat May 09, 2015 8:55 am
by jay691
RandomPiDude wrote:
jay691 wrote:So what is the recommended way of shutting it down? Just pull the plug?
Yes. What could possibly go wrong... :)

How about the sd card getting corrupted?

Re: shutdown -s Restarts Rasperry Pi 2

Posted: Wed May 13, 2015 2:57 pm
by sardo007
I usually issue a "shutdown" from the main window/powershell and when the Pi displays the multicolored "splash" then I just pull the plug... I's working so far with no corruptions... cross my fingers :-P

Re: shutdown -s Restarts Rasperry Pi 2

Posted: Sat May 16, 2015 11:25 am
by cathorse
In order to have full power control on your RP1 the best way is to connect the device through a pc or a laptop. A laptop on internet by wifi normally has a free ethernet port and by charing and bridging the RPI1 it gets its own IP within the net. A reboot is always a safe way to secure the work and when you are turning of the laptop RPI1 dies with it. An starts up together with the laptop. A RPI1 does not and I guess will never have a startup button - its made that way.