一次樹莓派的故障處理

I encountered a problem yesterday , my raspberrypi has entered emergency mode after I plug out the power cord directly , I searched in the internet , it said need to check the file system because of power loss , I used ckfs and e2fsck command to fix the partition , but it still doesn't work , I found that it shows "a start job is running for dev-sda1.device " and timed out . I searched the problems , it said that

解決辦法:
原因:沒有找到該swap分區ID 導致的。所以延遲90s
方法:lsblk -f
sda3 swap a7fa69a8-31bd-448c-98de-55de4aa6f06a
顯示出來自己的SWAP ID 拷貝之
然後編輯 /etc/fstab 中的swap 的UUID 值
保存推出。再次啓動會找到該UUID 然後,duang 瞬間啓動。可惡的90s沒了

I used the command lsblk -f , and it didn't show any errors , my problems solved!

thanks for zhihu!


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章