Monday, April 20, 2009

How to Backtrack 3 Fix - /dev/hda* not cleanly unmounted, check forced

/dev/hda1 was not cleanly unmounted, check forced


I had this problem after installing BT3. Every time I booted into BT3, I was faced with a forced check and then a second reboot. So off I went to http://forums.remote-exploit.org and came across THIS POST about the issue.

This is how I fixed the problem:
Become root:
su + password

Edit rc.6 with nano:
nano /etc/rc.d/rc.6

Scroll down to where it says:
# Kill all processes.
# INIT is supposed to handle this entirely now, but this didn't always
# work correctly without this second pass at killing off the processes.
# Since INIT already notified the user that processes were being killed,
# we'll avoid echoing this info this time around.
#TM: we need fuse-based filesystem to be alive (if mounted from #initrd).
#if [ ! "$1" = "fast" ]; then # shutdown did not already kill all processes
# /sbin/killall5 -15
# /bin/sleep 5
# /sbin/killall5 -9
#fi


And uncomment the lines from if to fi (delete the #'s)

It should now look like this:
# Kill all processes.
# INIT is supposed to handle this entirely now, but this didn't always
# work correctly without this second pass at killing off the processes.
# Since INIT already notified the user that processes were being killed,
# we'll avoid echoing this info this time around.
#TM: we need fuse-based filesystem to be alive (if mounted from initrd).
if [ ! "$1" = "fast" ]; then # shutdown did not already kill all processes
/sbin/killall5 -15
/bin/sleep 5
/sbin/killall5 -9
fi


Reboot, no more forced fsck, cake!

Thanks to _JMF_ at remote-exploit forums.

2 comments:

  1. Hi,

    Thanks for all. I had the same problem, and now, it really works !!

    ReplyDelete
  2. Hi, I'm glad it worked for you. I always ran BT3 live, but when they changed over to Ubuntu from Slackware, I decided to install and keep BT3. I just hope that when BT4 (ubuntu) is released, they still leave all the Slackware BT solutions on the forum.

    ReplyDelete

If you liked a post, please leave a comment.