| Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux. |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
02-18-2005, 02:23 PM
|
#1
|
|
Member
Registered: Jan 2004
Location: Georgia
Distribution: Debian Etch
Posts: 99
Rep:
|
whats wrong with my fsck?
Working my way through learning day to day maintenance of Linux, so I was attempting to use fsck to filecheck my system.
fsck -t ext3 /dev/hda1
I used mount to confirm where the drive was mounted from and that it was ext3, but whenever i try to run the command i get a "command not found" error in the shell. Yet, when I run man fsck, it gives me the manual pages for it.
Anyone know why it's not working?
EDIT: Forgot to mention, reason it's here is i'm running Mandrake 10.1
Last edited by Dillius; 02-18-2005 at 04:39 PM.
|
|
|
|
02-18-2005, 07:34 PM
|
#2
|
|
Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268
Rep:
|
"I used mount to confirm where the drive was mounted from and that it was ext3, but whenever i try to run the command i get a "command not found" error in the shell. Yet, when I run man fsck, it gives me the manual pages for it."
Most distributions do not allow user to run fsck. Ttry running it as root. The restriction does not apply to the man pages.
"I used mount to confirm where the drive was mounted "
fsck must be run against an unmouted partition. umount the partition before running fsck. If you cannot umount the partition then boot a rescue CD and run fsck from the rescue CD.
------------------------
Steve Stites
|
|
|
|
02-18-2005, 08:18 PM
|
#3
|
|
Member
Registered: Jan 2004
Location: Georgia
Distribution: Debian Etch
Posts: 99
Original Poster
Rep:
|
If I unmount it, mandrake will automatically remount it upon restart, right? I'm pretty sure I can handle manually mounting it I just want to be sure.
EDIT: Also, when I try to unmount it is saying the device is busy. I should probably do this from command before loading KDE right? only problem is I have my bootloader set to load Xwindows automatically... How do I get around this to load just to a command prompt?
Last edited by Dillius; 02-18-2005 at 08:23 PM.
|
|
|
|
02-19-2005, 10:37 AM
|
#4
|
|
Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268
Rep:
|
"If I unmount it, mandrake will automatically remount it upon restart, right?"
Check /etc/fstab. fstab contains a table of everything that is mounted automatically at boot.
"Also, when I try to unmount it is saying the device is busy."
fsck must be run against an unmouted partition. umount the partition before running fsck. If you cannot umount the partition then boot a rescue CD and run fsck from the rescue CD.
-----------------------------
Steve Stites
|
|
|
|
02-19-2005, 04:14 PM
|
#5
|
|
Member
Registered: Jan 2004
Location: Georgia
Distribution: Debian Etch
Posts: 99
Original Poster
Rep:
|
Yea, it won't let me unmount it because it is an active drive. How do I go about setting up a boot cd?
|
|
|
|
02-19-2005, 04:18 PM
|
#6
|
|
Guru
Registered: Feb 2003
Location: Blue Ridge Mountain
Distribution: Debian Squeeze, Fedora 14
Posts: 7,268
Rep:
|
"How do I go about setting up a boot cd?"
There should be a rescue CD mode on your Mandrake distribution CD.
----------------------
Steve Stites
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 08:45 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
|
|