`

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 修复文件系统

    由于非法重启或硬盘故障,会导致linux系统无法启动,无法进入操作系统。当你看到提示:give root password for maintenance (or type control-D to continue):的时候

    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竞赛的相关数据,希望和大家一起学习,共同进步!

    Invasive Computing for Mapping Parallel Programs to Many-Core Architectures

    The main focus is on the important topic of how to map task-parallel applications to future multi-core architectures including 1,000 or more processor units. A special focus today is the question of ...

    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 ...

    修复Linux操作系统Root密码

    Linux系统修改Root密码,自己从网上找的,并自己做备份参考用的!

    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...

    Digital Control in Power Electronics

    The book aims to ser ve two purposes: to give a basic, introductor y knowledge of the digital control techniques applied to power converters, and to raise the interest for discrete time control ...

    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