Linux 启动发生磁盘错误, 磁盘扫描进度完成后光标停留在
***An error occured during the filesystem check
***Dropping you to a shell; the system will reboot
***when you leave the shell.
Give root password for maintainence
(or type Controll-D to continue)
解决方法:
root密码 执行 fdisk -l 查看磁盘
发现只有/dev/sda1 /dev/sda2
(Repair filesystem)# fdisk -l 根据看到的磁盘依次修复 ,例如:
(Repair filesystem)#fsck -y /dev/sda1
(Repair filesystem)#fsck -y /dev/sda2
遇到如下提示: fsck.ext3:Device or resource busy while trying to open /dev/sda2 File system mounted or opened exclusively by another program?
百度后发现是分区错误,只能修改/etc/fstab来修改挂载点。
/etc/fstab 默认为只读模式,只能用单用户模式来进行修改。