!!!治ったと思ったが治ってなかった。!!!
ラズパイの起動・終了時に変なことをすると
次回起動ができず止まる現象(Kernel panic)が起きる。。(; ;)
--
現象:起動画面で以下の行の後、止まる。
end Kernel panic - not syncing: VFS: Unable to mount root fs on unknown-block(179,2)
<<参考になりました!!>>
--
※以下の「-r -w」オプションは付けないとうまくいきませんでした。(どっちかでもいいのかも??)
[root@localhost Desktop]# fsck.fat -V -r -w /dev/sdb6
fsck.fat 3.0.20 (12 Jun 2013)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Starting check/repair pass.
Starting verification pass.
Perform changes ? (y/n) y
/dev/sdb6: 148 files, 42986/139106 clusters
fsck.fat 3.0.20 (12 Jun 2013)
0x41: Dirty bit is set. Fs was not properly unmounted and some data may be corrupt.
1) Remove dirty bit
2) No action
? 1
Starting check/repair pass.
Starting verification pass.
Perform changes ? (y/n) y
/dev/sdb6: 148 files, 42986/139106 clusters
--
再度同じコマンドを打って、corruptのエラーが表示されないことを確認しました。
[root@localhost Desktop]# fsck.fat -V -r -w /dev/sdb6
fsck.fat 3.0.20 (12 Jun 2013)
Starting check/repair pass.
Starting verification pass.
/dev/sdb6: 148 files, 42986/139106 clusters
fsck.fat 3.0.20 (12 Jun 2013)
Starting check/repair pass.
Starting verification pass.
/dev/sdb6: 148 files, 42986/139106 clusters
--
!!!治ったと思ったが治ってなかった。!!!
方法分かったら、後日追記する。