public inbox for linux-newbie@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Lost HD Partition
@ 2006-06-22 13:02 Peter
  2006-06-22 13:58 ` Hal MacArgle
  0 siblings, 1 reply; 7+ messages in thread
From: Peter @ 2006-06-22 13:02 UTC (permalink / raw)
  To: linux-newbie

Thanks all!

mount  -t ext2 /dev/hda6 /mnt/test
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
       missing codepage or other error
      

Yes I am sure that the partition was formated as ext3, then this does 
not work according to Chuck since these filesystems depend on the 
superblock.

Trying Hal's suggestion:

/sbin/e2fsck -b 32768 /dev/hda6
e2fsck 1.38 (30-Jun-2005)
/sbin/e2fsck: Invalid argument while trying to open /dev/hda6

The superblock could not be read or does not describe a correct ext2
filesystem.  If the device is valid and it really contains an ext2
filesystem (and not swap or ufs or something else), then the superblock
is corrupt, and you might try running e2fsck with an alternate superblock:
    e2fsck -b 8193 <device>


/sbin/mke2fs -n /dev/hda6

mke2fs 1.38 (30-Jun-2005)
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
244320 inodes, 487966 blocks
24398 blocks (5.00%) reserved for the super user
First data block=0
15 block groups
32768 blocks per group, 32768 fragments per group
16288 inodes per group
Superblock backups stored on blocks:
        32768, 98304, 163840, 229376, 294912

Trying these backup superblocks /sbin/e2fsck -b * /dev/hda6, I get with 
each: Invalid argument while trying to open /dev/hda6

Since apparently the superblock is corrupted and the partion has not 
been formated since, therefore the data should still be on the disk.
So what other alternate superblock can be tried?
Yet
The superblock could not be read or does not describe a correct ext2
filesystem.

It seems I am kind of stuck.

Regards

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread
* Lost HD Partition
@ 2006-06-21 14:40 Peter
  2006-06-21  5:15 ` Ray Olszewski
  0 siblings, 1 reply; 7+ messages in thread
From: Peter @ 2006-06-21 14:40 UTC (permalink / raw)
  To: linux-newbie

For some reason I cannot access my important /usr/local hard drive 
partition.

mount /mnt/hda6
mount: wrong fs type, bad option, bad superblock on /dev/hda6,
missing codepage or other error

# /sbin/fdisk /dev/hda6 -p

Disk /dev/hda6: 1998 MB, 1998710784 bytes
16 heads, 63 sectors/track, 3872 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
----------
The drive has/had ext3 which information apparently got lost

How could I access this drive again and remake it ext3 w/o losing the data?

What other info is needed?

Thanks & regards


Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-06-22 13:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-22 13:02 Lost HD Partition Peter
2006-06-22 13:58 ` Hal MacArgle
  -- strict thread matches above, loose matches on Subject: below --
2006-06-21 14:40 Peter
2006-06-21  5:15 ` Ray Olszewski
2006-06-21 19:23   ` Peter
2006-06-21 13:56     ` chuck gelm
2006-06-21 19:47     ` Hal MacArgle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox