目前共有5篇帖子。
【解決方案】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這個設備上的
3樓 182.136.98.* 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
如果顯示這麼一長串,那麼該分區有錯誤。

回復帖子

內容:
用戶名: 您目前是匿名發表
驗證碼:
 
 
©2010-2024 Arslanbar [手機版] [桌面版]
除非另有聲明,本站採用創用CC姓名標示-相同方式分享 3.0 Unported許可協議進行許可。