LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Checking of HDD (https://www.linuxquestions.org/questions/slackware-14/checking-of-hdd-541921/)

Ryuji Yamazaki 03-30-2007 10:14 AM

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.

onebuck 03-30-2007 10:53 AM

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.

H_TeXMeX_H 03-30-2007 02:47 PM

you can only 'fsck' a drive that is read-only.


All times are GMT -5. The time now is 02:23 PM.