At 2004-08-14T16:04:38+1200, Nick Rout wrote:
> When I am in the livecd I tried to use file to see what was there.
> file -Ls /dev/hda1 & /dev/hda2 give the expected result (fat and linux
> swap respectively), but /dev/hda3 simply says "data"

file(1) cannot reliably detect filesystem formats.  Try using parted(8),
e.g. /sbin/parted /dev/hda print.  The first thing you need to do is
work out what filesystem is on that partition.  

> I cannot mount /dev/hda3, either with or without a -t parameter.
> Without -t mount tells me I need to specify a filesystem, using -t
> reiser or -t ext3 or -t ext2 gives an error about no such filesystem
> or incorrect superblock.

If you have space somewhere else on disk (probably on another Linux
machine), it'd be a good idea to take an image of the filesystem and
experiment on that until you've found the correct fix.

Once you know what filesystem is on the partition, try running the
filesystem-specific fsck on the disk--obviously you'll need to do this
from a known-good bootable Linux with kernel support for that
filesystem, and preferably the last version of the filesystem-specific
tools.  If the initial fsck attempt fails, you might need to provide it
with the block address of an alternate superblock--what address this is
will depend on the filesystem type and the block size used when creating
the filesystem.

Cheers,
-mjg
-- 
Matthew Gregan                     |/
                                  /|                [EMAIL PROTECTED]

Reply via email to