Questions tagged [shutdown]

For questions pertaining to shutting down the operating system.

Operating systems are always doing things, even when the computer system is "idle." It is imperative to always get the operating system to shut itself down before removing power, as this allows the operating system to complete whatever tasks it was doing, sync its files out of the cache and just return itself to a clean state.

116 questions
7
votes
6 answers

Is there a way to unplug the Raspberry pi safely without shutting down

I'm building a kiosk app for a raspberry pi, and the final intention is that it will sit in a pelicase with all the external hardware, with one power cord in. My program has a quit button which safely shuts down the pi by running sudo halt, but it…
Nadim
  • 73
  • 1
  • 5
2
votes
2 answers

What is meant by Raspberry Pi "soft shutdown"

I am searching for MicroSD card for Raspberry Pi that won't get damaged. (See previous post, SanDisk Ultra SD Card with Raspberry Pi 3+ Suddenly Stopped Working (and is Overheated!)) On this product description, it says following, If you are an…
Marium
  • 155
  • 1
  • 5
2
votes
2 answers

Safely unplug raspberry

I have a great software running on my Raspberry Pi 4 and we will send it to customers for production. The image on the SD card is Ubuntu. I would like to know if we can add any security to protect the Raspberry Pi, I am pretty sure our customers…
Ajouve
  • 131
  • 3
1
vote
1 answer

How to determine if a Pi Zero is shutdown?

I've got a Raspberry Pi Zero W in my project. It is hidden inside an enclosure. I need some way for the user to determine that it is in a shutdown state so that power can be removed. I need to make an indicator that shows the running state as the…
1
vote
2 answers

How safe is sudo halt -f to shutdown a RPi?

I realized that the shutdown process for my RPi sometimes takes a while (like up to 1-2 minutes) before the green ACT LED finally blinks 10 times and the RPi can be unpluged safely. However I am looking for a faster method to shutdown the RPi. I…
user111029
  • 73
  • 1
  • 1
  • 4
1
vote
1 answer

How to schedule raspberry pi to shutdown every day at a certain time?

I’m trying to schedule my pi 3b+ (buster) to shutdown automatically at a certain time, but it’s not listening to me. What am i doing wrong? Sudo crontab -e Then i add (nano) this to bottom of the file: 36 08 * * * sudo /sbin/shutdown –h now This…
Fun4stuff
  • 11
  • 1
  • 2
0
votes
1 answer

Maybe did wrong trying to shut down my 2011.12 Pi

I was trying to shut down my 2011.12 raspberry pie. I am brand new to it and probably don’t have a clue what I’m doing. I saw a place online that said hit Ctrl X followed by y at the prompt. When I hit control X on my desktop icons disappeared!? Did…
Ron
  • 11
  • 3
0
votes
0 answers

Remapping a key on a keyboard as dedicated shutdown button

I have a RP4 and want to remap a button from my keyboard to be a dedicated shutdown button. I don't really want to add an external shutdown/power switch to it since my power supply unit has a power switch. The Keyboard is a Logitech K400 plus with…
Siggi
  • 1
-1
votes
1 answer

My PI makes shut down at 22:15 regularly, but I don't know why

I can find the entry in syslog: Mar 29 22:15:01 raspi CRON[14533]: (root) CMD ( shutdown -h now ) But I can't find any related between the cron jobs of any users. for user in $(cut -f1 -d: /etc/passwd); do echo -n "$user: "; sudo crontab -u…
Mattia72
  • 101
  • 3