解决方法html
一、重启看是否能够修复(不少机器能够的)。spa
二、使用用 fsck – y /dev/hdc6 (/dev/hdc6指你须要修复的分区) 来修复文件系统。htm
三、若,在进行修复的时候有的分区会报错,从新启动系统问题依旧。blog
查看下分区结构进程
[root@localhost ~]# mountip
/dev/sda3 on / type ext3 (rw)rem
proc on /proc type proc (rw)rpc
sysfs on /sys type sysfs (rw)get
devpts on /dev/pts type devpts (rw,gid=5,mode=620)pip
/dev/sda1 on /boot type ext3 (ro)
tmpfs on /dev/shm type tmpfs (rw)
none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw)
sunrpc on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
查看ro挂载的分区,若是发现有ro,就从新mount
umount /dev/sda1
mount /dev/sda1 /boot
若是发现有提示“device is busy”,找到是什么进程使得他busy
fuser -m /boot 将会显示使用这个模块的pid
fuser -mk /boot 将会直接kill那个pid
而后从新mount便可。
四、直接remount,命令为
[root@localhost ~]# mount -o rw,remount /boot