找回密碼
 註冊
搜索
查看: 2310|回復: 0

[Ubuntu] linux/ubuntu 問題解決: fsck exited with status code 4

[複製鏈接]
發表於 2022-4-3 00:35:38 | 顯示全部樓層 |閱讀模式
 
Push to Facebook
碰到以下訊息的解決方法。

/dev/sda1 contains a file system with errors, check forced.
...
Inodes that were part of a corrupted orphan linked list found.

/dev/sda1: UNEXPECTED INCONSISTENCY: RUN fsck MANUALLY.
         (i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda1 requires a manual fsck

BusyBox v1.27.2 (Ubuntu 1:1.27.2-2ubuntu3.3) built-in shell (ash)
Enter 'help' for a list of built-in commands.

(initramfs)_
Bash
如圖:
1.jpg

解決方法
會出現此問題的原因是因為磁碟分區導致的錯誤,
執行以下指令後,會嘗試進行自動修復,再重新開機即可。

  1. fsck -y /dev/sda1 # 嘗試進行自動修復
  2. sudo mount -a # 測試用,沒有跳出訊息才是正常的!! (有跳出訊息就是有問題)
  3. reboot # 重新開機
複製代碼


文章出處
 
您需要登錄後才可以回帖 登錄 | 註冊

本版積分規則

Archiver|手機版|小黑屋|TShopping

GMT+8, 2025-6-20 13:33 , Processed in 0.026667 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

快速回復 返回頂部 返回列表