目前共有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 [手机版] [桌面版]
除非另有声明,本站采用知识共享署名-相同方式共享 3.0 Unported许可协议进行许可。