Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am newbie to this field. So please ignore my lack of knowledge of linux.
When I perform updates, the system shows,
"/dev/hda1 was not cleanly unmounted, check forced."
But when i normally reboot it does not have this issue. Looks like when i do update one of my internal scripts copy the files to my machine and then they do sync so may be that sync is not competed and thus it fails to hda1 unmount. Not sure what is the problem.
How I can see the messages which are displayed during the shutdown? They may provide some clue. i tried to have a look in /var/log but could not find anything regarding shutdown.
Sorry, may be I have asked my question in a wrong way.
let me put it this way,
Does shutdown program unmounts the drives? I downloaded the source code but was not able to find where does it unmount? What is happening is, we are coping files for update and then reboot the system, but I think that before reboot we should make sure that the files are all copied and the hard drives are cleanly unmounted because the error i am gettin is "/dev/hda1 was not cleanly unmounted, check forced.". However, the strange thing is the files are successfully copied!
I doubt this will help but here is the distro version is
Linux version 2.6.29-bpo.2-686 (Debian 2.6.9-5~bpo50+1) ....
As I said I had put my question in the wrong way. Actually the updates are out own internal updates.
shutdown should tell the system to go to runlevel 0 Maybe a stupid question but why are you rebooting? Are you installing a new kernel?
In fact a very good question i will clear this with my boss.
We do not have mstab file on our system. Can it be a problem? Sorry I am again coming round and round to the same point because the main issue is I get "/dev/hda1 was not cleanly unmounted, check forced." So i think that it is not able to umount the device.
You may be able to find some info in /var/log/messages but the problem is that you are right at the end of the shutdown process, unmounting filesystems so pertinent information may not be logged anywhere (no filesystem to write to). So, you may need to actually look at the console.