`

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

阅读更多
引用

http://www.linuxdiyf.com/bbs/thread-65315-1-1.html
http://www.linux521.com/2009/newbie/200904/2146.html


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

fsck -y
reboot


fsck的命令的几个使用方法
指令:fsck
使用权限 : 超级使用者
使用方式 : fsck [-sACVRP] [-t fstype] [–] [fsck-options] filesys […]
说明 : 检查与修复 Linux 档案系统,可以同时检查一个或多个 Linux 档案系统

参数 :
filesys : device 名称(eg./dev/sda1),mount 点 (eg. / 或 /usr)

-t : 给定档案系统的型式,若在 /etc/fstab 中已有定义或 kernel 本身已支援的则不需加上此参数
-s : 依序一个一个地执行 fsck 的指令来检查
-A : 对/etc/fstab 中所有列出来的 partition 做检查
-C : 显示完整的检查进度
-d : 列印 e2fsck 的 debug 结果
-p : 同时有 -A 条件时,同时有多个 fsck 的检查一起执行
-R : 同时有 -A 条件时,省略 / 不检查
-V : 详细显示模式
-a : 如果检查有错则自动修复
-r : 如果检查有错则由使用者回答是否修复

例子 :
检查 msdos 档案系统的 /dev/hda5 是否正常,如果有异常便自动修复 :fsck -t msdos -a /dev/hda5

注意 :
此指令可与 /etc/fstab 相互参考操作来加以了解。
分享到:
评论

相关推荐

    linux 修复文件系统

    当系统启动过程中出现“Give root password for maintenance (or type Control-D to continue):”时,需要输入具有超级权限的root用户的密码。这是为了确保只有授权用户可以执行后续的维护操作,防止未经授权的访问...

    Modern control system -12th (book and solution)

    Many examples throughout give students ample opportunity to apply the theory to the design and analysis of control systems. Incorporates computer-aided design and analysis using MATLAB and LabVIEW ...

    give-me-some-credit-master.zip

    "give-me-some-credit-master.zip"包含的数据集提供了丰富的个人财务信息,如年龄、收入、债务等,用于预测信用卡违约概率。这些数据通常分为训练集和测试集,帮助模型在未知数据上验证性能。在实际应用中,这样的...

    修复Linux操作系统Root密码

    kernel /boot/vmlinuz-2.6.9-11.19 ro root=LABEL=/ single ``` **步骤4:启动系统** 完成编辑后,按Ctrl + X或F10等键启动系统。此时,系统会进入单用户模式,只加载必要的服务。 #### 二、修改Root密码 **步骤...

    Senfore_DragDrop_v4.1

    Delphi's THandle type when a HWND is passed to a function. E.g.: if (DragDetectPlus(THandle(MyControl->Handle), Point(X, Y))) { ... } * Virtual File Stream formats can only be pasted from the ...

    give-file-a-password.zip_password

    在标题"give-file-a-password.zip_password"中,我们讨论的主题是如何为一个文件添加密码保护,确保只有知道特定密码的人才能访问它。这通常涉及到文件的加密技术,特别是对于压缩文件如ZIP来说,我们可以使用密码...

    Bochs - The cross platform IA-32 (x86) emulator

    - BIOS: Support for up to 2M ROM BIOS images. - GUI: select mouse capture toggle method in .bochsrc. - Ported most of Qemu's 'virtual VFAT' block driver (except runtime write support, but plus FAT32 ...

    hydra 7.2 win32

    H Y D R A (c) 2001-2012 by van Hauser / THC <vh@thc.org> http://www.thc.org co-maintained by David (dot) Maciejak @ gmail (dot) com BFG code by Jan Dlabal Licensed under GPLv3 (see LICENSE ...

    [iPhone开发书籍大全].Incredible.iPhone.Apps.For.Dummies(For.Dummies.2010-2).pdf

    With Incredible iPhone Apps For Dummies, you'll discover how to have fun, get more done, and make the most of your iPhone or iPod touch. From the Back Cover Dizzy from too many iPhone apps? Let Dr. ...

    Universal-USB-Installer

    exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with...

    occam一维反演

    c iof1 = unit number for the LOGFIL (passed to /result/iout) c iof2 = unit number for reading and writing ITER files c c calls: c occam, filerr, itrout, itrin, inputm, inputd c C---------------------...

    ComponentOne OLAP for WinForms 2012 v3

    It extends the C1Chart control and provides automatic data binding to C1OlapPanel objects, automatic tooltips, chart type and palette selection. C1OlapPrintDocument Creates reports based on OLAP ...

    TRegware 4.02

    can use the Perl script if you would like to give registration codes to customers via a CGI program. Bug reports? Suggestions? Comments? Email to: wak@wakproductions.com or visit website ...

    A-Practical-Guide-to-LATEX-Tips.pdf

    I hope this will give you new ideas about advanced ways to typeset text and to make different processes automatic, thus giving you more time for other activities. If you have any suggestion, whatever...

    ImpREC 1.7c

    If you would like to help continue developing and bug fixing ImpREC and you have ideas, suggestions or bug fixes please visit Tuts 4 You forum in the following topic to share your ideas: ...

    Turbo C++ 3.0[DISK]

    continue to be used in instances where real-mode compilation is desired. If you encounter a "machine not in database" message while attempting to run the compiler, run the DPMIINST program to add ...

    Turbo C++ 3.00[DISK]

    continue to be used in instances where real-mode compilation is desired. If you encounter a "machine not in database" message while attempting to run the compiler, run the DPMIINST program to add ...

    GPU-BASED-TECHNIQUES-FOR-GLOBAL-ILLUMINATION-EFFECTS

    Since it would have been impossible to give a rigorous review of all approaches proposed in this field, we go into the details of just a few methods solving each particular global illumination effect...

Global site tag (gtag.js) - Google Analytics