View previous topic :: View next topic |
Author |
Message |
dirtboy Apprentice


Joined: 12 Dec 2002 Posts: 263 Location: Pascagoula, MS
|
Posted: Mon Nov 24, 2003 5:10 pm Post subject: Root filesystem never unmounts cleanly on shutdown |
|
|
Every time I shut down or reboot my laptop, the next time I go into Linux fsck runs. This is getting very annoying. What logs can I look at to determine what is causing this? |
|
Back to top |
|
 |
BradN Advocate


Joined: 19 Apr 2002 Posts: 2391 Location: Wisconsin (USA)
|
Posted: Mon Nov 24, 2003 5:50 pm Post subject: |
|
|
The only thing I can think of is that somehow the filesystem check isn't completing correctly. Try remounting the root filesystem read-only, unmounting any other filesystems, and running fsck manually, and see if it still wants to check it.
Code: |
init 1
mount -o remount,ro /dev/root /
(unmount other filesystems)
(run fsck on the filesystems in question)
| replace root with your root partition |
|
Back to top |
|
 |
dirtboy Apprentice


Joined: 12 Dec 2002 Posts: 263 Location: Pascagoula, MS
|
Posted: Mon Nov 24, 2003 7:49 pm Post subject: |
|
|
Well, the thing is that after the fsck finishes, I get the "Filesystem Repaired: Reboot Linux" message and the machine reboots itself, and it boots fine. If I then reboot again, the check happens again and the whole process starts over. So, in order to boot or reboot my machine, I have to boot once, let it fsck, then reboot every time. |
|
Back to top |
|
 |
Beekster Apprentice


Joined: 26 Nov 2002 Posts: 268 Location: Sydney
|
Posted: Mon Nov 24, 2003 8:20 pm Post subject: |
|
|
Check also this thread. It appears the current ~x86 has another problem (the other being net.eth0 for some people not finding carrier, and failing to bring up eth0). There is a linked to bug with a new /etc/init.d/halt.sh that fixed it for me. |
|
Back to top |
|
 |
|