Give root password for maintenance(or type control -D to continue)

2017-09-30 18:12:08

1:错误如图,本来开机准备用一下虚拟机,就出现一个这,为啥记录一下呢,因为网上好多不是很靠谱。

原因可能是之前关闭虚拟机的时候不小心出现异常了:

2:解决办法:

  个人根据自己的磁盘分区情况,进行修复即可;

解决方法,在鼠标停留的地方输入root的密码 执行 fdisk -l    查看磁盘 (Repair filesystem)#fdisk -l   根据看到的磁盘依次修复 ,例如: (Repair filesystem)#fsck -y /dev/sda1 (Repair filesystem)#fsck -y /dev/sda2 (Repair filesystem)#fsck -y /dev/sda3 (Repair filesystem)#fsck -y /dev/sda4

2017-09-30 18:14:50

时间: 2024-07-30 20:44:53

Give root password for maintenance(or type control -D to continue)的相关文章

linux提示Give root password for maintenance错误的

问题原因应该是/usr /home /boot分区磁盘检测出了问题. Give root password for maintenance (or type Control-D to continue):输入密码后 出现了: (Repair filesystem)1 # 执行如下命令: #fsck -y /usr #fsck -y /home #fsck -y /boot 再执行重启: #reboot 重新启动OK 解决办法一 此时,使用者需亲自依照下面步骤进行修复程序: 1. 键入root密码

转 Resetting the root password for MySQL

Resetting the root password for MySQL running on RHEL or CentOS 06Sep I recently had to reset the MySQL root password due to the fact that initializing it the way I assumed it should did not work. The following procedure will work in CentOS/RHEL/Scie

MYSQL安装时解决要输入current root password的解决方法_Mysql

终归结出以下解决方法: 1.清除MYSQL的安装目录,默认是C:\Program Files 2.清除MYSQL数据存放目录,一般在C:\Documents and Settings\All Users.windows\Application Data目录下 (需要注意的时Application Data这个文件夹默认是隐藏的,要通过 工具->文件夹选项->查看->显示所有 文件与文件夹 来设置隐藏文件可见). 删除MySQL文件夹 3.这步很重要,之前不管我怎么卸载MYSQL清空残余文

修改Linux系统分区后挂载问题

就和windows一样,在linux下手工修改分区的事情也经常发生.但是linux却要比windows麻烦了一点点: 修改了分区,自然放在 /etc/fstab 里自然挂载,而不是在 /etc/rc.local 里开机后挂载. 如何写? 这里以修改"LABEL=/nat /nat ext3 rw,noatime"为例子: 1.umount /nat 2.e2label /dev/hdd3 /nat 3.mount LABEL=/nat /nat 4.修改并写入/etc/fstab 例如

记一次 superblock 损坏导致服务器无法启动的故障修复

原文地址:http://www.cppblog.com/dancefire/archive/2011/03/09/fix-bad-superblock-in-linux.html 前几天接到朋友联系,说他的服务器坏了,启动不起来了.这是一个RHEL 4的服务器,而且是那种盗版RHEL 4,也就是说没有售后服务的,联系我问问能不能帮帮忙.我也很久没有弄过Linux系统上的东西了.只好尝试一下,庆幸的是,修好了,并帮朋友维护了一段时间,在此记录一些修复和维护中碰到的问题.修复 superblock

单用户模式下mount -o remount,rw / 有大用途

单用户模式下mount -o remount,rw / 有大用途         我们的Linux系统在无法启动时候,通常需要进入单用户模式下进行修改一些配置文件,或调整一些参数方可.但是在进入单用户模式后,我们的/文件系统是只读模式,无法进行修改,那么这个时候我们就需要用到一条命令:mount –o remount,rw / 这个命令来让我们的/路径文件系统为可读模式,这样就可以实现自由修改了. 例如: 增加了/etc/mtab /dev/sdb1 /install ext3 rw 0 0 /

repair filesystem 1 #一般是什么引起的和该怎样解决

源地址:http://blog.itpub.net/11417069/viewspace-684385 linux下repair filesystem模式修复方法实践 第一种情况:非正常关机引起的磁盘分区问题 不能正常进入系统 大家好~!麻烦大家教教我如下问题一般是如何引起和应该怎么样解决呢?Finding module dependencies; [OK]modprobe:modprobe:can't locate module block-major-3fsck.ext3Possibly n

linux启动系统时UNEXPECTED INCONSISTENCY报错

启动系统时,出现以下错误. 这意味着确认文件系统时发现了问题,在这里介绍一下修复文件系统错误的方法. Checking filesystems /12: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY.             (i.e., without -a or -p options) *** An error occurred during the file system check. *** Dropping you to a shell; th

CentOS5 系统文件崩溃-安全模式破解root密码-破解grub密码

故障截图,系统文件损坏,无法进入单用户模式,需要root密码,但是root密码已经忘记. 单用户进入后提示Give root password for maintenance 一.输入linux rescue然后回车 二.默认选择,OK回车. 三.默认选项,OK回车. 四.不连接网络,选择NO. 五.这里要注意,选择Continue,这个不是检查镜像文件的提示,而是 是否使用安全模式的提示. 六.选择OK,提示将磁盘系统挂载到/mnt/sysimage上. 七.系统提示已经挂载了/mnt/sys