Linux - Newbie This 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! |
Notices |
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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-12-2009, 06:29 AM
|
#1
|
Member
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 294
Rep:
|
My Linux installation keeps corrupting
I have installed mandriva 2010 on my system.but after a day or two the Computer upon restart gives erroe in verbose mode and asks to run fsck manually.
Please If anyone could halp
|
|
|
11-12-2009, 06:31 AM
|
#2
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Welcome to LQ
What errors?
Did you run fsck?
|
|
|
11-12-2009, 09:58 AM
|
#3
|
Member
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 294
Original Poster
Rep:
|
Quote:
Originally Posted by repo
Welcome to LQ
What errors?
Did you run fsck?
|
yes but it didnt fixed anything
|
|
|
11-12-2009, 11:48 AM
|
#4
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
yes but it didnt fixed anything
|
What are the errors?
Seems to me the filesysem is corrupted, or the drive is dying.
|
|
|
11-12-2009, 12:01 PM
|
#5
|
Senior Member
Registered: Jun 2008
Posts: 1,821
|
Don't wait...
It may not be that your HDD is failing, but considering the consequences and in the lack of an alternative cause of the problem, you should immediately copy any files on the HDD that you need and want.
After you have a backup, you might try SMART. It must be activated in your BIOS and on the HDD. If you can't use SMART, google for a HDD utility from the HDD maker. There is HUTIL for Samsung, SeaTools for Seagate, plus others. The utilities should be available on both a bootable floppy and a CD ISO.
Last edited by thorkelljarl; 11-12-2009 at 12:12 PM.
|
|
|
11-12-2009, 01:56 PM
|
#6
|
Moderator
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,969
|
Hi,
Welcome to LQ!
How did you perform the 'fsck'?
Yes, if possible backup that hdd.
|
|
|
11-13-2009, 04:56 AM
|
#7
|
Senior Member
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,070
|
What is your procedure for shutting down the computer (and what hapens)?
|
|
|
11-13-2009, 06:56 AM
|
#8
|
Member
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 294
Original Poster
Rep:
|
sir this usually happens after an improper shutdown.and the error says some thing regarding partition failed to mount
|
|
|
11-13-2009, 07:00 AM
|
#9
|
LQ 5k Club
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529
|
Quote:
sir this usually happens after an improper shutdown.and the error says some thing regarding partition failed to mount
|
Why is there a an improper shutdown?
Does the system freezes, so you need to use the power button?
|
|
|
11-13-2009, 10:33 AM
|
#10
|
Member
Registered: Nov 2009
Location: Pakistan
Distribution: Ubuntu
Posts: 294
Original Poster
Rep:
|
Power cuts!
|
|
|
11-13-2009, 10:43 AM
|
#11
|
LQ Guru
Registered: Dec 2006
Location: underground
Distribution: Slackware64
Posts: 7,594
|
After a power outage, when I used to use a non-journaled filesystem like Ext2, I usually had a long fsck ahead of me after the power came back. Sometimes the automatic fsck upon bootup would do it, but often enough, I had to use
e2fsck -v -y /dev/XXX
to restore the partition. As you would see on the fsck man page, the -v means "verbose" and the -y means "answer YES to all questions", which has the potential to do something you don't want, but otherwise, you must sit there and press YES or NO many times until the process is complete. Using the -y option has never caused me grief, though on rare occasions, I have lost a file or two to the /Lost+Found folder (from where you can recover them if you like).
If you have frequent power cuts that are causing frequent bad shutdowns, and a UPS is not a cost effective solution, if I were you I would investigate the possibility of installing your Mandriva OS onto a journaled filesystem such as Ext3 or Ext4. Though Ext4 is the newest Linux filesystem to hit "production" and/or heavy testing stage, it has been working without error for me now for several months or more with my Slackware system, AND if I suffer a bad shutdown, the reboot is usually painless with only an occasional very short fsck lasting just a few seconds.
Do keep in mind though, as mentioned by earlier posters above, if there is cause OTHER THAN power outages that may lead you to suspect a failing HDD, please backup any important data before you lose it!
Best of success,
Sasha
|
|
|
All times are GMT -5. The time now is 03:57 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|