目前共有5篇帖子。 字体大小:较小 - 100% (默认)▼  内容转换:港澳繁體▼
 
点击 回复
2572 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)
 

本帖信息

点击数:2572 回复数:4
评论数: ?
作者:巨大八爪鱼
最后回复:巨大八爪鱼
最后回复时间:2015-7-29 17:06
精品区:常见系统问题
 
©2010-2025 Purasbar Ver2.0
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。