hard disk error , run fsck manually

Kent Stewart kstewart at owt.com
Sat Jun 28 20:31:56 PDT 2003


On Saturday 28 June 2003 07:17 pm, manee wrote:
> hi sirs,
>
> i face problem of hard disk error because of the power
> downed during using the machine.
>
> once the power is coming, my machine stuck at
>
> file system is still dirty please run fsck manually.
>
> the partion that is dirty is /dev/ad0s2g,  a home
> partion one. i did run fsck /dev/ad0s2g several times
> but still get the same message.
>
> what i decided to do was that to edit /etc/fstab and
> put read only option for /dev/ad0s2g and exited a
> single mode.  i got a message said that /home was not
> dismount, as you see in the attachment.
>
> up to this point, only root that can log in.  my
> question is that are there any method to recover an
> fsck error during boot time?
>
> please cc to me since i do not a member of the list.
>

You need to do something like "fsck -y" from single user mode. The fs has to 
be unmounted to fix it.

Kent

-- 
Kent Stewart
Richland, WA

http://users.owt.com/kstewart/index.html



More information about the freebsd-questions mailing list