One Raspberry Pi Fault Handling

Source: Internet
Author: User

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

Solution:
Cause: the swap partition ID is not found. Therefore, the latency is 90 s.
Method: lsblk-F
Sda3 swap a7fa69a8-31bd-448c-98de-55de4aa6f06a
Copy your swap ID
Edit the uuid value of swap in/etc/fstab.
Save and launch. After the uuid is restarted, the uuid is found and duang starts immediately. The hateful 90s is gone.

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

Thanks for zhihu!


One Raspberry Pi Fault Handling

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.