slacker_x
07-25-2001, 11:25 PM
How can I run an fsck on my / partition (/dev/hda1)
if I do
fsck -rC /dev/hda1
I get a rather sever warning that cautions that severe filesystem damage may occur if I run fsck on a mounted filesystem.
I am assuming that you can't umount the root filesystem......so how can this be done?
The reason that I'm trying to run this check is that my /etc/motd file is pooched.
when I try to rm /etc/motd as root I get the error:
rm: cannot remove `motd': Input/output error
if I do
fsck -rC /dev/hda1
I get a rather sever warning that cautions that severe filesystem damage may occur if I run fsck on a mounted filesystem.
I am assuming that you can't umount the root filesystem......so how can this be done?
The reason that I'm trying to run this check is that my /etc/motd file is pooched.
when I try to rm /etc/motd as root I get the error:
rm: cannot remove `motd': Input/output error