1
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?

More than 5 years have passed since last update.

RaspberryPiにて「sh: can't access tty; job control turned off」と出たとき

Last updated at Posted at 2019-06-13

環境

RaspberryPi 3G
(SDHCカード)TOSHIBA製 32GB

状況

Noobsのエラーが出たと表示してから、以下のようなエラーが表示する


sh: can't access tty; job control turned off

解決方法1

調べるといくつか解決方法があり、自分は試しましたがうまくいかなかったパターンを先に紹介します。

RaspberryPiのSDカードをPCで開き、config.txtを開く。
それからavoid_safe_mode=1という一文を最後の行に付け加える。
RaspberryPiにSDカードを戻して起動。
これでOKな人はOKなようです。

ただ自分の場合はこの方法ではエラーが残りKernel Panic云々と表示されるだけでした。

解決方法2

別の解決方法です。
同様にSDカードをPCで開き、recovery.cmdlineというファイルがあると思います。
このファイルを開くと一行だけのファイルで、いろいろと(引数)が羅列されています。
その行末に(半角スペースを挟んで)disablesafemodeと書き足します。
あとはSDカードをRaspberryPiに戻して起動

解決方法3

もうマイクロSDHCカードを変える。

終わりに

僕はマイクロSDHCカードを交換しました。

1
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
1
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?