On Sun, Feb 21, 1999 at 04:46:49PM -0800, Neil A. Carson wrote:
> Hi,
> 
> Trying to fsck my hard disc, with both the Red Hat fsck and Jim's Debian
> fsck, fsck itself segv's, ie:
>       fsck /dev/hda
> doesn't do a whole lot, gives a segmentation fault and dies.
> 
> Has anyone seen this, and are there any ideas out there as to how to fix
> it? The machine locked up during some heavy disc thrashing, and I can't
> restore the filesystem properly now :-(

Is /dev/hda itself an ext2 filesystem?  Most systems use the hda1, hda2 etc
partitions, and you'll need to use the partition name rather than the
disc name as what you give to fsck.  If you can't find out which partition
you need to fsck from `mount` or `cat /etc/fstab`, partition names will
increase from hda1 if you have a disc with a DOS partition table, and
they'll start at hda3 if your disc has the extra linux partition table
stuck after a filecore partition.

Cheers,
Phil
unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to