LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   e2fsck -p -c /dev/hda1 ? unmounting ? (https://www.linuxquestions.org/questions/linux-newbie-8/e2fsck-p-c-dev-hda1-unmounting-587072/)

frenchn00b 09-24-2007 04:29 PM

e2fsck -p -c /dev/hda1 ? unmounting ?
 
Hi, I would like to check the bad clusters on a machine.
I did that :
- start the pc as single user (grub down key and enter),
- it prompts me the root passwd, -done-
- then, I typed the following code:
Code:

# init 1
# umount /
# mount -o remount,ro /dev/hda1
# fsck -C /dev/hda1
# e2fsck -p -c /dev/hda1

Is it the best and cleanest to check & fix the bad clusters (by excluding) ??

thanks for the newbie information !
:newbie:


All times are GMT -5. The time now is 10:07 AM.