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
- Re: df shows drive filled up but du shows... Jim Conner
- Re: df shows drive filled up but du shows... Net Llama
- Re: df shows drive filled up but du shows... Joel Hammer
- Re: df shows drive filled up but du shows... Net Llama
- Re: df shows drive filled up but du shows... Joel Hammer
- Re: df shows drive filled up but du shows... Net Llama
- Re: df shows drive filled up but du shows... Tom Wilson
- Re: df shows drive filled up but du shows... Jim Conner
- Re: df shows drive filled up but du shows... Net Llama
- Re: fsck on root directory without rebooting David A. Bandel
- Re: fsck on root directory without rebooting David A. Bandel
- Re: fsck on root directory without rebooting Joel Hammer
- Re: fsck on root directory without rebooting David A. Bandel
- Re: fsck on root directory without rebooting Joel Hammer
- Re: fsck on root directory without rebooting Mike Andrew
- Re: fsck on root directory without rebooting Net Llama
