Joel Hammer wrote:
> 
> I would like to run fsck on my root directory without having to reboot.
> Could someone tell me if this is possible and if so, how do do it?
> Thanks,
> Joel

Yes.  First change to runlevel 1:
init 1
then umount all partitions:
umount -a
then remount the root partition ro:
mount -n -o remount,ro /

run fsck:
fsck -f /dev/root (or whatever your root partition is, sometimes
/dev/root is linked to it)

To get back, do the above in reverse order:
mount -n -o remount,rw /
mount -a
init 5

Ciao,

David A. Bandel
-- 
Focus on the dream, not the competition.
                -- Nemesis Racing Team motto
_______________________________________________
http://linux.nf -- [EMAIL PROTECTED]
Archives, Subscribe, Unsubscribe, Digest, Etc 
->http://linux.nf/mailman/listinfo/linux-users

Reply via email to