0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

【小ネタ】RaspberryPiが特定のシャットダウン方法で起動しなくなる問題の忘備録

Posted at

概要

RaspBerryPi 4B Bookwormにおいて、少なくともKioxiaのSDカードを使用している場合、高確率で発生します。

sudo shutdown now をするとOSが破損し起動しなくなります。再インストールで対処できます。

原因

おそらくshutdown now の場合SDカードへの書き込みが終わる前に電源が切れるためです。
試したことはありませんが、コードを引き抜いても同じだと思われます。

対処法

以下の方法を使う

  • sudo shutdown -h now
  • systemctl poweroff
  • sudo poweroff
  • GUIからシャットダウン

一番おすすめなのはsystemctlを使う方法です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?