MMM
Results 1 to 25 of 595

Thread: The Linux Help and Tutorial Thread

Hybrid View

  1. #1
    Xtreme crazy bastid
    Join Date
    Apr 2007
    Location
    On mah murder-sickle!
    Posts
    5,878
    From an Ubuntu perspective:

    There's a few different ways to do this, but this is the one that I have most luck with. Open a terminal and type
    Code:
     sudo touch /forcefsck
    and then reboot the system.

    The program you use that's like chkdsk is e2fsck. It has a ton of options but in order to actually check the disk it needs it to be unmounted or it can hose the file system, which it will warn you of if you try to do it manually. Doing it this way, the disk is checked and cleaned before it is mounted at boot.

    [SIGPIC][/SIGPIC]

  2. #2
    Xtreme Cruncher
    Join Date
    Mar 2010
    Posts
    451
    Quote Originally Posted by D_A View Post
    From an Ubuntu perspective:

    There's a few different ways to do this, but this is the one that I have most luck with. Open a terminal and type
    Code:
     sudo touch /forcefsck
    and then reboot the system.

    The program you use that's like chkdsk is e2fsck. It has a ton of options but in order to actually check the disk it needs it to be unmounted or it can hose the file system, which it will warn you of if you try to do it manually. Doing it this way, the disk is checked and cleaned before it is mounted at boot.
    Thanks!

    It ran when I re-booted, but there wasn't any feedback on the results. I checked the log files in /var/log/fsck, but they just said "(Nothing has been logged yet.)". Does this mean it ran successfully with no errors/fixes, or is there another log file somewhere with the results of the scan?

  3. #3
    Xtreme crazy bastid
    Join Date
    Apr 2007
    Location
    On mah murder-sickle!
    Posts
    5,878
    Quote Originally Posted by SMTB1963 View Post
    Thanks!

    It ran when I re-booted, but there wasn't any feedback on the results. I checked the log files in /var/log/fsck, but they just said "(Nothing has been logged yet.)". Does this mean it ran successfully with no errors/fixes, or is there another log file somewhere with the results of the scan?
    That's the only one I'm aware of, so I'd assume it means everything was ok.

    [SIGPIC][/SIGPIC]

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •