歡迎來到Linux教程網
Linux教程網
Linux教程網
Linux教程網
Linux教程網 >> Linux基礎 >> Linux教程 >> Ubuntu:mount of filesystem failed解決辦法

Ubuntu:mount of filesystem failed解決辦法

日期:2017/2/28 16:37:48   编辑:Linux教程

LinuxMint是一份基於Ubuntu的發行,其目標是提供一種更完整的即刻可用體驗,這包括提供浏覽器插件、多媒體編解碼器、對DVD播放的支持、Java和其他組件.它與Ubuntu軟件倉庫兼容.新版本基於Ubuntu 9.10,修復大量bug並作出許多改進。改進的部分包括菜單系統、應用程序管理器、上傳管理器等。

今天一開機,Mint 就黑屏,顯示:

1 mount of filesystem failed

2 a maintenance shell will now be started.

3 Control-D will terminate this shell and re-try

4 root@mint:~#

後來查了一下,據說這是 an odd issue that rarely happens,不過解決方法也很簡單:
首先列出 linux 的分區:

1 fdisk -l

我的輸出是這樣的:

01 Disk /dev/sda: 80.0 GB, 80032038912 bytes

02 255 heads, 63 sectors/track, 9730 cylinders

03 Units = cylinders of 16065 * 512 = 8225280 bytes

04 Disk identifier: 0xcf62cf62

05

06 Device Boot Start End Blocks Id System

07 /dev/sda1 * 1 2805 22531131 7 HPFS/NTFS

08 /dev/sda2 2806 9730 55625062+ f W95 Ext'd (LBA)

09 /dev/sda5 2806 5355 20482843+ 7 HPFS/NTFS

10 /dev/sda6 5356 8160 22531131 7 HPFS/NTFS

11 /dev/sda7 8161 8344 1477948+ 82 Linux swap / Solaris

12 /dev/sda8 8345 9001 5277321 83 Linux

13 /dev/sda9 9002 9730 5855661 83 Linux

可以看到 Linux 分區在 /dev/sda8 和 /dev/sda9 ,然後用下面的命令修復:

1 fsck.ext4 /dev/sda8

2 fsck.ext4 /dev/sda9

注意這是針對 ext4 文件系統的。

Copyright © Linux教程網 All Rights Reserved