redhat 不能正常启动,提示fsck.ext3:unable to resolve 'LABLE=/home

简介:

事情经过如下:
/home分区分了2G,但是只用了35M,于是我把home的文件复制了出来,然后删除了这个分区新建了1G的一个分区 /dev/hda8
重启电脑时候报错,提示/home找不到,输入root密码进入maintenance下把hda8分区格式化并把原来复制的文件拷贝了回去
再次重启,系统提示 checking filesystems 
fsck.ext3:unable to resolve 'LABLE=/home'
怀疑是fstab的问题,看了下fstab中 LABEL=/home /home default 1 2
于是修改为 LABEL=/dev/hda8 /home default 1 2
还是不行···只好再把fstab改回原来的样子··
看了下 grub
default=0
timeout=5 
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title redhat EL AS(2.6.9-5.EL) 
root (hd0,0)
kernel /vmlinuz-2.6.9-5.EL ro root=LABEL=/1 rhgb quiet
initrd /initrd-2.6.9-5.EL.img
 

 

解决方法如下



1。把你新的/dev/hda8标签改成"/home"就可以了
e2label /dev/hda8 /home
fstab还是 LABEL=/home /home default 1 2

或者

2。修改fstab,去掉label
/dev/hda8 /home ext3 defaults 1 2

3.查看硬盘电源线是否插好


本文转自 Bruceweien 51CTO博客,原文链接:http://blog.51cto.com/bruceweien/1071765


相关文章
|
5月前
|
Docker 容器
Docker错误:inotify_add_watch(7, /dev/dm-4, 10) failed: No such file or directory
Docker错误:inotify_add_watch(7, /dev/dm-4, 10) failed: No such file or directory
103 1
configure: error: Can‘t find ext2fs library
configure: error: Can‘t find ext2fs library
159 0
|
Ubuntu Shell
解决dpkg: warning: files list file for package(libboost-dev libpcl-dev)
解决dpkg: warning: files list file for package(libboost-dev libpcl-dev)
88 0
|
监控 Linux Python
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
93 0
Centos 7.0 execute yum update ——File "/usr/libexec/urlgrabber-ext-down", line 75, in <module>
|
应用服务中间件 nginx 容器
run nginx报错,解决方式 Are you trying to mount a directory onto a file
run nginx报错,解决方式 Are you trying to mount a directory onto a file
124 0
|
消息中间件 Linux
Linux - error: cannot open Packages database in /var/lib/rpm
Linux - error: cannot open Packages database in /var/lib/rpm
257 0
|
运维
yum update 执行报错: error : unpacking of archive failed on file /usr/.../...;5d26ff7c: cpio : symlink
yum update 执行报错: error : unpacking of archive failed on file /usr/.../...;5d26ff7c: cpio : symlink早前已发现有台机一直在报这么个错误, 一用yum update 就报一堆: Error: unpacking rpm package .
2227 0