LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 06-01-2002, 07:20 AM   #1
Ratclaws
Member
 
Registered: Sep 2001
Location: New York
Distribution: Slackware 8
Posts: 102

Rep: Reputation: 16
hda2 not cleanly unmounting


i know this has been asked before, but nobody seems to give an answer to it.

i installed redhat 7.x and allowed it to partition my harddrive (with the exception of hda1 my windows partition). every thing worked fine.

i began to hate redhat, as it was slow, and altered around so much that i didn't feel like i was really running linux. so i switched to slack 8.

i used the same partitions that redhat created. every thing worked fine. slackware rules, very stable, very fast. but i wanted ximian evolution and i dont like working with source code. i like ximian in general..

i switch to suse 7.3, again still using the partitions that redhat created......
every time to computer boots up it says something to the extend of

/dev/hda2 was not cleanly unmounted , check forced
runs fsck
then says
(0.2 % non-contiguous)
at the time i had no clue what that ment, i just ignored it

now it is saying 0.4 % non-contiguous,... gdm is not working correctly, root no longer has the .profile or whatever it uses to set your prompt and sort by colors in a terminal. gnome wont start, xdm cant find a display. all random problems are happening...

i ran /etc/rc.d/rc 3 to go into single usermode, im just guessing that that is how you do it... it looked like it was shutting down half way or so.. I unmounted /dev/hda2 and ran

fsck /dev/hda2 -y

if i can remember correctly that gave me errors about the superblock. something about being over 1024...

eventually it worked, either fsck or e2fsck reboot, did the same thing, .4% non-contiguous, but everything seems to be working.

what to do???
 
Old 06-01-2002, 08:22 AM   #2
Mara
Moderator
 
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
This error with 1024 cylinders. It's important only if you're using older versions of lilo (it couldn't boot from high cylinders, but it's now fixed).
 
Old 06-01-2002, 08:27 AM   #3
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
The '.4% non-contiguous' message is not an error, but just a notification of the status of fragmentation of that partition. No action is required to fix this. As long as the partition passes the fsck check, you're in good shape. Hope this helps. -mk
 
Old 06-03-2002, 01:17 AM   #4
Ratclaws
Member
 
Registered: Sep 2001
Location: New York
Distribution: Slackware 8
Posts: 102

Original Poster
Rep: Reputation: 16
ok, is there any way to get it to stop running fsck every single time it boots?

And how come i have random stuff getting messed up?
 
Old 06-03-2002, 03:31 AM   #5
mikek147
Member
 
Registered: Mar 2002
Location: Elyria, Ohio
Distribution: Debian, Nothing else required
Posts: 141

Rep: Reputation: 15
You must run fsck, this includes all versions and varieties of fsck, in single user mode. If you run fsck in any of the multi-user modes, you will get exactly what you're experiencing. You can enter single user (maintenance) mode by typing shutdown now. You might want to do a manpage on fsck to check on how you handle superblock errors. Good luck. -mk
 
Old 06-05-2002, 02:55 PM   #6
rahtid2
LQ Newbie
 
Registered: Nov 2000
Posts: 2

Rep: Reputation: 0
Start over one more time, but this time use the Reiser Filesystem. It takes care of itself! (an oversimplification but true).
 
Old 06-05-2002, 03:20 PM   #7
mirkokl
LQ Newbie
 
Registered: May 2002
Posts: 20

Rep: Reputation: 0
If linux says "filesystems not cleanly unmounted", the filesystem is not unmounted when shutting down.
So: Does there appear any notice about unmounting your filesysystem when shutting down?
 
Old 06-10-2002, 12:14 AM   #8
Ratclaws
Member
 
Registered: Sep 2001
Location: New York
Distribution: Slackware 8
Posts: 102

Original Poster
Rep: Reputation: 16
i did not notice any messages about it not unmounting correctly. Normally while it shuts down it shows the status of each process on the right in either green (good) or red (bad). everything was green, everytime.

i have also tried going into single user mode and manually typing

umount /dev/hda2

it didn't give me any errors and appeared to be unmounted. Still i get the same message during startup.
 
Old 06-10-2002, 08:09 AM   #9
mirkokl
LQ Newbie
 
Registered: May 2002
Posts: 20

Rep: Reputation: 0
If possible, start from a system disc which starts a system without using a partition of the hard disk. If you've got such a rescue system and have booted it, enter:
e2fsck /dev/hda2
Normally it should not do anything, but in your case it should perform a file system check and printing something like "not umounted cleanly"
 
  


Reply



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
How do i cleanly stop a service? n0vembr Linux - General 18 07-29-2005 04:11 AM
How to remove perl cleanly jpan Linux - Software 1 11-06-2004 08:36 AM
Shouldn't a distro compile cleanly? Tino27 Linux - General 2 11-08-2003 07:30 PM
help!!! error cleanly unmounted. adam_boz Linux - General 3 07-27-2002 11:37 PM
...not cleanly unmounted error? RonRussell Linux - General 0 03-15-2002 03:35 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 12:21 AM.

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