LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Help needed to recover data from ext3 file system where mkfs was issued accidentally (https://www.linuxquestions.org/questions/linux-general-1/help-needed-to-recover-data-from-ext3-file-system-where-mkfs-was-issued-accidentally-316620/)

kapilsampath 04-24-2005 06:27 AM

Help needed to recover data from ext3 file system where mkfs was issued accidentally
 
Hi,
I connected my harddisk as slave and issued "mkfs /dev/hdb2" accidentally.
Immediately I did ctrl C and stopped the process. But before that it had deleted some 100 Blocks.

After that I am unable to boot that hard disk as primary device. The system is asking me "please insert a valid boot device and press enter"

I am even unable to connect it as a slave device and mount it. The mount is saying bad super block information.

mount -t ext3 /dev/hdb2 mnt_pt/
mount: wrong fs type, bad option, bad superblock on /dev/hdb2,
or too many mounted file systems
(could this be the IDE device where you in fact use
ide-scsi so that sr0 or sda or so is needed?)

Please tell me how can I recover my data.

This disk is containing important data.

tormented_one 04-25-2005 03:39 PM

A hex editor may get you by, that is to maybe recover the info. I have found text is easiest to recover.

kapilsampath 04-25-2005 11:46 PM

Quote:

Originally posted by tormented_one
A hex editor may get you by, that is to maybe recover the info. I have found text is easiest to recover.
Hi,
Thanks for your reply. Can you tell me where can I get the hex editor and how to use it to recover data.

masand 04-26-2005 01:34 AM

Quote:

Originally posted by kapilsampath
Hi,
Thanks for your reply. Can you tell me where can I get the hex editor and how to use it to recover data.

there is an editor called khexedit which comes with kde in kde-utils

also this is not the correct forum to post this query
post it in the newbiew/software/general section to get the proper attention it needs

regards

XavierP 04-26-2005 07:52 AM

Moved: This thread is more suitable in Linux-General and has been moved accordingly to help your thread/question get the exposure it deserves.


All times are GMT -5. The time now is 09:50 AM.