Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Root filesystem never unmounts cleanly on shutdown
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Mon Nov 24, 2003 5:10 pm    Post subject: Root filesystem never unmounts cleanly on shutdown Reply with quote

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
View user's profile Send private message
BradN
Advocate
Advocate


Joined: 19 Apr 2002
Posts: 2391
Location: Wisconsin (USA)

PostPosted: Mon Nov 24, 2003 5:50 pm    Post subject: Reply with quote

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
View user's profile Send private message
dirtboy
Apprentice
Apprentice


Joined: 12 Dec 2002
Posts: 263
Location: Pascagoula, MS

PostPosted: Mon Nov 24, 2003 7:49 pm    Post subject: Reply with quote

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
View user's profile Send private message
Beekster
Apprentice
Apprentice


Joined: 26 Nov 2002
Posts: 268
Location: Sydney

PostPosted: Mon Nov 24, 2003 8:20 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum