Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 11-02-2003, 01:25 AM   #1
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Rep: Reputation: 30
System shutdown uncleanly; fsck?

I was trying to set up my Mandrake 9.1 system to use acpi power management. Well, when I tested it by pushing the power button, the system shutdown. Uncleanly.

Do I need to run fsck on my filesystem? How? I entered the command as root, but it warned me that checking a mounted filesystem was dangerous. What should I do?
Old 11-02-2003, 01:32 AM   #2
Registered: Jul 2003
Location: hellifniknow
Distribution: slackware for chickens
Posts: 182

Rep: Reputation: 30
it should fsck itself when it reboots, unless your using a journaling file system, which in that case it shouldn't need it, but if in either case it did, reboot into single user mode and ...

1. Boot single-user (appending "init=/bin/sh" to the kernel
commandline accomplishes this handily)

2. When you get the root prompt, your hard disk should be mounted
readonly. If it's not mounted, mount it with the readonly option
("-o ro"). If it's mounted read-write, remount it read-only with
the remount and read-only options (pass "-o remount,ro" as an
option to mount).

3. Run fsck.
Old 11-02-2003, 02:18 AM   #3
Registered: Sep 2003
Distribution: Mandrake 10.0
Posts: 200

Original Poster
Rep: Reputation: 30
When I rebooted it asked me if I wanted to run an 'integrity check' and if so to press 'a'. But I was away from the console when this happened, so I was too late. Does that mean it did an fsck itself? It knew the system was shutdown uncleanly, and it gave the standard information about the # of clean files, etc.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux Shutdown uncleanly bluenectar Linux - Newbie 2 08-05-2005 04:45 AM
Howto force fsck after dirty shutdown? anti_trend Linux - General 1 10-15-2004 07:34 PM
Errors booting Fedora Core 2 (System shutdown uncleanly) Fudge150 Linux - General 9 08-09-2004 04:54 PM
System uncleanly shut down, ran e2fsck, very slow start & slow desktop brakthepoet Linux - Newbie 1 07-02-2004 02:55 PM
autofsck or force fsck after uncontrolled shutdown r00tnuke Red Hat 5 09-05-2003 10:20 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 04:34 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration