LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-27-2007, 09:45 AM   #1
Muhammed
LQ Newbie
 
Registered: Jul 2007
Posts: 21

Rep: Reputation: 15
Exclamation fc7 how can i make check for errors on my hard drive


hi
iam using fc7 how can i make check for errors on my hard drive and make it fix these errors
 
Old 08-27-2007, 05:11 PM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You use fsck to check for errors e.g.
Code:
#fsck -t ext3 /dev/sdX
or
Code:
#fsck.ext3 /dev/sdX
The command above would check for errors on /dev/sdX and would consider the filesystem to be ext3 because of the -t option. Before using fsck, you need to unmount all partitions that you are going to check for errors. I would suggest that you switch to single user mode before running fsck, or run fsck from a live cd such as gparted.
 
Old 08-27-2007, 05:28 PM   #3
nan0meter
Member
 
Registered: Aug 2007
Location: The Netherlands
Distribution: Fedora 7 x86_64
Posts: 119

Rep: Reputation: 15
What i recommend is to make a small restore partition on your harddrive and install a minimal linux distro in it with all the tools to fix a linux installation. So when something is wrong you can boot into that distro and fix your hdd for example.
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 6.12 GCC make -k check errors kz_chopper Linux From Scratch 2 02-20-2007 11:54 PM
Please help me run fsck from a live cd to check my hard drive... extendedping Linux - Software 7 01-30-2007 03:17 PM
NMI, Machine check errors=bad hard drive? robber49 Linux - Hardware 1 04-08-2005 07:59 PM
Command to check hard drive satimis Linux - General 4 06-25-2004 02:42 AM
hard-drive check cmandan Linux - General 1 10-02-2003 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:01 PM.

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