因/etc/fstab錯誤導致系統不能啟動故障解決辦法

來源:互聯網
上載者:User

發現如果人品不好做實驗都是問題很多,晚上又把fstab給寫錯了,導致系統不能起來,因為當時處理該故障未,後續在網上找了幾張圖片,大體說明處理思路

系統啟動報 filesystems 失敗,輸入root密碼進入repair filesystem模式

嘗試修改 /etc/fstab 發現系統是read-only模式

重新mount -n -o remount,rw /重新mount檔案系統

重新修改/etc/fstab,除掉錯誤記錄,然後使用init 6/reboot命令重啟系統

相關文章

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.