> Question: can I get any of the data on /dev/hda2 back by
> reconstructing the superblock? I suspect that manual examination
> of the segments on a 2G partition would be quite boring.

you have your redhat cd don't you ? 
if your cdrom drive is bootable throw it in, if not make a boot disk
run rescue.
run e2fsck -n /dev/hda2 - it will try and search for a backup superblock, 
the -n flag is used to scan in read-only mode
if your happy with the results remove the -n
e2fsck should scan other superblocks, but if for some reason it doesnt
work,
try forcing it:
run e2fsck and specify another superblock
e2fsck -b 8193 /dev/hda2

if you dont have the redhat cd, go and grab toms root/boot disks
www.toms.net

its not uncommon for linux not to mount the root fs if it finds an error -
hopefully for you its something that can be repaired, fingers cross :)

--Steve
> 
> The partitions were:
> /dev/hda1: 1GB FAT16
> /dev/hda2: 2GB ext2 Red hat 6.2 running 2.2.12 I think.
> /dev/hda3: 1GB swap space
> 
> Jim Donovan
> 
> 
> --
> SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
> More Info: http://slug.org.au/lists/listinfo/slug
> 



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug

Reply via email to