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 |
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.
|
 |
04-09-2006, 12:10 PM
|
#1
|
Member
Registered: Feb 2006
Distribution: slackware, ubuntu, knoppix, backtrack, debian
Posts: 35
Rep:
|
chkdsk
chkdsk is the windows tool for cheacking and repairing disk inconsistencies...
is there any similar tool under linux? (currently using suse10)
|
|
|
04-09-2006, 12:16 PM
|
#2
|
Moderator
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
|
is the Linux equivalent. Although it is more powerful.
|
|
|
04-09-2006, 12:21 PM
|
#3
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
fsck ? but umount (at least mount read-only) FS first. Then run /sbin/fsck.<FS type> /dev/<node>
|
|
|
04-09-2006, 12:52 PM
|
#4
|
Member
Registered: Feb 2006
Distribution: slackware, ubuntu, knoppix, backtrack, debian
Posts: 35
Original Poster
Rep:
|
so if i want to "fsck" my hda4 (suse10 root) it is better to do it from hda2 (slackware10.2 root), rather than from suse itself?
|
|
|
04-09-2006, 01:02 PM
|
#5
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
I think yes, as far as they have comparable versions of fsck. FSCK-ing partition from itself mounted RO - as far as I understand - is not a big problem, but if you can avoid it, avoid it. Don't forget to umount... Also if you have ext3 use fsck.ext3 to make it clearer you don't want ext2-only check on it.
|
|
|
04-10-2006, 07:46 AM
|
#6
|
Member
Registered: Feb 2006
Distribution: slackware, ubuntu, knoppix, backtrack, debian
Posts: 35
Original Poster
Rep:
|
i see you guys talking about ext2 and ~3... does it work with reiserfs?
edit... yes it does but how do i mount /dev/hda4 as read only?
Last edited by eNtoS; 04-10-2006 at 10:24 AM.
|
|
|
04-10-2006, 12:51 PM
|
#7
|
Senior Member
Registered: Sep 2005
Location: France
Distribution: approximately NixOS (http://nixos.org)
Posts: 1,900
Rep:
|
Boot from another partition, umount (to be sure) the one of interest and run fsck.reiserfs on it. All the rest mentioned are pitfalls which aren't (hopefully) waiting for you because of your rather nice system configuration.
|
|
|
All times are GMT -5. The time now is 02:06 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
|
|