Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-24-2007, 05:29 PM   #1
Senior Member
Registered: Jun 2007
Location: E.U., Mountains :-)
Distribution: Debian, Etch, the greatest
Posts: 2,546

Rep: Reputation: 57
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:
# 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 !


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
How to have automatic 'e2fsck -p -c /dev/hda1' once a week ? patrick295767 Linux - Newbie 2 10-17-2010 12:44 AM
Rsync from say /dev/hda1 to /dev/sda1 backup DIRdiver Linux - General 6 10-09-2006 07:42 PM
Mount command says / is mounted from /dev/hda4, but I know its /dev/hda1 trewsfan Linux - Software 2 08-30-2006 11:01 PM
Grub Dual Boot /dev/sda1 /dev/hda1 jono268 Debian 4 01-14-2005 05:54 AM
/dev/hda1 plisken Linux - General 2 03-14-2003 07:34 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:06 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration