LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-30-2007, 10:14 AM   #1
Ryuji Yamazaki
Member
 
Registered: Oct 2004
Location: Singapore
Distribution: Slackware, FreeBsd
Posts: 43

Rep: Reputation: 15
Checking of HDD


I have recently came across a problem whereby my keyboard and Mouse would not work in KDE as a result i had to reboot the machine manually by pressing the reset button on my pc.

After the problem was fixed i had noticed that my hdd was reading a lot and was slowing down my daily tasks. I ran fsck -a as root and found that my Filesystem is NOT clean so i switched to single user with telinit s and ran fsck -a and was prompted with this message

Partition /dev/hda1 is mounted with write permissions, cannot check it

Shouldnt fsck be able to check and fix my hdd in single user mode? Are there any steps that i might have missed?
I am running on slackware 10.2, an 80 gig ide hdd and kernel 2.4 any help would be greatly appreciated.
 
Old 03-30-2007, 10:53 AM   #2
onebuck
Moderator
 
Registered: Jan 2005
Location: Central Florida 20 minutes from Disney World
Distribution: SlackwareŽ
Posts: 13,923
Blog Entries: 44

Rep: Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158Reputation: 3158
Hi,

Just boot system as single user from the boot prompt and run fsck -a /dev/hda1. Note that you should change the device to the file system you want to repair. You should 'man fsck' to get all the goodies.

Last edited by onebuck; 03-30-2007 at 10:54 AM.
 
Old 03-30-2007, 02:47 PM   #3
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
you can only 'fsck' a drive that is read-only.
 
  


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
[RAID1, GRUB] Secondary HDD can't boot up when primary HDD fails Akhran Linux - Newbie 2 05-04-2006 04:17 AM
The sound of a breaking system: checking for hdd errors michapma Debian 2 11-15-2005 05:11 AM
Checking hdd JJX Linux - General 2 06-13-2005 07:44 AM
How to make mirror image of linux partion to one1 HDD TO 2 HDD raj_1 Linux - General 2 11-04-2004 01:45 AM
How to format & mount 2nd hdd after FedCor1 has been installed on 1st hdd? clay394 Fedora 1 05-18-2004 01:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:45 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