目前共有5篇帖子。 內容轉換:不轉換▼
 
點擊 回復
2162 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)
 

本帖信息

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