目前共有5篇帖子。 字體大小:較小 - 100% (默認)▼  內容轉換:台灣正體▼
 
點擊 回復
2573 4
【解決方案】Fedora 20啟動時卡在Emergency Mode的解決方案
一派掌門 二十級
1樓 發表于:2014-8-1 15:37
重啟電腦並使用Fedora的LiveCD(安裝光碟)開機
點try fedora後打開終端,輸入並執行
# lvm
lvm> vgchange -a y
lvm> exit

sudo fsck -y /dev/mapper/fedora-root
然後重啟電腦
一派掌門 二十級
2樓 發表于:2014-8-1 15:39
重啟電腦後(記得拔出livecd安裝光碟),會發現Emergency Mode屏幕已經消失,可以直接進入系統了。
本解決方案適合那些安裝Fedora時選擇了清空整個硬碟的安裝方法的人。
此時根分區是綁定在/dev/mapper/fedora-root這個設備上的
 
182.136.98.*
3樓 發表于:2014-9-14 09:49
sudo lvm
 
一派掌門 二十級
4樓 發表于:2015-7-29 17:04
非lvm分區(也就是standard標準分區)的修複方法:(以 /dev/sda11為例)
sudo fsck /dev/sda11
(注意此時不可以掛載該分區)
 
一派掌門 二十級
5樓 發表于:2015-7-29 17:06
[liveuser@localhost ~]$ sudo fsck /dev/sda11
fsck from util-linux 2.26.2
e2fsck 1.42.12 (29-Aug-2014)
/dev/sda11: clean, 27085/3186688 files, 390415/12723712 blocks
執行後如果顯示這個,則說明分區正常。這個命令也就白運行了,沒有起到作用


[liveuser@localhost ~]$ sudo fsck /dev/mapper/fedora-root
fsck from util-linux 2.23.1
e2fsck 1.42.7 (21-Jan-2013)
/dev/mapper/fedora-root contains a file system with errors, check forced.
Pass 1: Checking inodes, blocks, and sizes
Inodes that were part of a corrupted orphan linked list found.  Fix<y>? yes
Inode 1053367 was part of the orphaned inode list.  FIXED.
Inode 1053368 was part of the orphaned inode list.  FIXED.
Inode 1053369 was part of the orphaned inode list.  FIXED.
Inode 1053370 was part of the orphaned inode list.  FIXED.
Pass 2: Checking directory structure
Entry '.readahead' in / (2) has deleted/unused inode 14.  Clear<y>? yes
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
Block bitmap differences:  -3192443 -(5380992--5381077)
Fix<y>? yes
Free blocks count wrong for group #97 (20646, counted=20647).
Fix<y>? yes
Free blocks count wrong for group #164 (10035, counted=10121).
Fix<y>? yes
Free blocks count wrong (8072212, counted=8072299).
Fix<y>? yes
Inode bitmap differences:  -14 -796106 -(1053366--1053370)
Fix<y>? yes
Free inodes count wrong for group #0 (6681, counted=6682).
Fix<y>? yes
Free inodes count wrong for group #97 (6548, counted=6549).
Fix<y>? yes
Free inodes count wrong for group #128 (1558, counted=1563).
Fix<y>? yes
Free inodes count wrong (2951727, counted=2951734).
Fix<y>? yes

/dev/mapper/fedora-root: ***** FILE SYSTEM WAS MODIFIED *****
/dev/mapper/fedora-root: 325066/3276800 files (1.3% non-contiguous), 5034901/13107200 blocks
如果顯示這麼一長串,那麼該分區有錯誤。
 

回復帖子

內容:
用戶名: 您目前是匿名發表
驗證碼:
(快捷鍵:Ctrl+Enter)
 

本帖信息

點擊數:2573 回複數:4
評論數: ?
作者:巨大八爪鱼
最後回復:巨大八爪鱼
最後回復時間:2015-7-29 17:06
精品區:常見系統問題
 
©2010-2025 Purasbar Ver2.0
除非另有聲明,本站採用共享創意姓名標示-相同方式分享 3.0 Unported許可協議進行許可。