Reboot / halt not working

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
shlagwuk

Reboot / halt not working

Post by shlagwuk »

Hello!

I have some trouble updating my raspberry pi 3. When I have to reboot, it does nothing, just hang there… :D

Image

It's the same thing with halt command…

To have a proper reboot, I have to unplug the raspberry, but the update doesn't apply.

Anything I can do? I tried a few google searches, without any luck… :?
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Reboot / halt not working

Post by k-plan »

Hi shlagwuk,

Image

are you really "root" user? Doesn't look like that for me (missing '"#" ). ">" looks like C-shell not like bash.

Image

Can you please try:

Code: Select all

root@dietpi3:~# whoami

Code: Select all

root@dietpi3:~# sudo reboot

# or

root@dietpi3:~# sudo su

# and now

root@dietpi3:~# reboot

# or 

root@dietpi3:~# poweroff
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
shlagwuk

Re: Reboot / halt not working

Post by shlagwuk »

Thanks for your answer!
Yes, I am root, I may have played my PS1 a little bit ;)

Code: Select all

root@dietpi3 ~ > whoami
root
The strange thing is that it was working well before… never had any problem with reboot or halt commands :(
shlagwuk

Re: Reboot / halt not working

Post by shlagwuk »

As I cannot reboot, any change I make with dietpi-config or to /Dietpi/config.txt are note saved… (with reboot -f, it doesn't save :? )

So I'm stuck into headless mode… anything I can do te get out from headless mode?
User avatar
k-plan
Posts: 416
Joined: Sun Feb 28, 2016 5:28 pm

Re: Reboot / halt not working

Post by k-plan »

Try:

Code: Select all

 sudo su

# and then

reboot
What happens now?

And:
Please a Screenshot from htop:

Code: Select all

htop
Is your bash/terminal running as root?
If so, your SD-card / file system may be corrupt.

Take the first screenshot from DietPi Desktop running x-server or per vnc?

Sorry but insufficient information.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal and Bitcoin.
shlagwuk

Re: Reboot / halt not working

Post by shlagwuk »

k-plan wrote:Try:

Code: Select all

 sudo su

# and then

reboot
What happens now?
I tried. Nothing… :| I can't try without ssh (on a screen plugged into the pi), because it's stuck in headless mode.
k-plan wrote: And:
Please a Screenshot from htop:

Code: Select all

htop
Image
k-plan wrote: Is your bash/terminal running as root?
Yes, I'm logged with root user.
Post Reply