LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   File system not unmounted cleanly (https://www.linuxquestions.org/questions/linux-newbie-8/file-system-not-unmounted-cleanly-767749/)

Cams 11-08-2009 01:56 PM

File system not unmounted cleanly
 
I am trying to upgrade my ClarkConnect 3.2 system to 4.3. I boot from the CD ROM and it gets so far and then gives me this error message:
The following file systems for your linux system were not unmounted cleanly. Please boot your Linux installation, let the file systems be checked and shut down cleanly to upgrade. /dev/hdb1
I booted the system normally after that, did a proper shutdown and tried again. I got the same message.

How do I check it and get rid of this error so that I can upgrade?

Thanks

Robhogg 11-08-2009 02:12 PM

Does the CD you're booting from run as a live CD? If so, you could open a termninal, become root, then make sure the partition is unmounted, and use fsck to check the filesystem:

Code:

$ su - root # live distros don't normally demand a password for this
# umount /dev/hdb1 # just to be sure
# e2fsck -cvf /dev/hdb1 # if it is an ext2 or ext3 filesystem, or
# fsck -Vr /dev/hdb1 # if not


bigrigdriver 11-08-2009 02:25 PM

If running fsck doesn't work as suggested by Robhogg, the cdrom becomes suspect.

Did you purchase the cdrom, or did you download ClarckConnect and burn it to cd yourself? If the latter, did you check the md5sum of the downloaded relative to the file on the site you downloaded it from?

You should also consider upgrading to 5.0 (or the 5.1 beta now available). Note that the name has changed from ClarckConnect to ClearOS.

Cams 11-08-2009 05:06 PM

Thanks Robhogg - that worked! It took a while to run the check for bad blocks, but it did work. Only thing is I then got a different error message:
You don't appear to have enough disk space to install the packages you've selected. You need more space on the following file systems:
Mount Point Space Needed
/ 384M
I have no idea how to increase the space of the mount point /. I installed this a few years ago and I think just did the default set-up. I use this system for one purpose only, and that is to serve my FLAC audio files to my Slim Devices (now Logitech) Squeezeboxes using Slim Server (which is now called something else too I think). ClarkConnect was recommended for that as it had Slim Server built in as a service. It worked very well until quite recently, when I had to put in a new NIC. Since I had the thing pulled out, it made sense to see about upgrading. I was going to upgrade from 3 to 4 and then from 4 to 5 (3 to 5 isn't possible).

I have all my FLAC files backed up, so would it make more sense simply to start again with a fresh install of version 5? Or is there something more suitable and user friendly now? If it's straightforward enough to increase the partition size for the mountpoint mentioned, I'd be up for trying it.

This is a screenshot of my partitions and drives:

http://www.celticguitartalk.com/misc...ect_drives.jpg

Does that make sense?

Thanks so much for the help so far folks. You rock!

bigrigdriver 11-08-2009 06:42 PM

From the looks of things, you don't have room to expand your root partition unless you give up space from your home partition, which is already cramped for space. You would have to upgrade to a larger hard drive. Plug in in, use your existing OS to partition the drive (use something like gparted), giving yourself a larger root partition. Then use the dd command to copy everything to the new disk.


All times are GMT -5. The time now is 03:49 PM.