LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
LinkBack Search this Thread
Old 04-24-2005, 06:27 AM   #1
kapilsampath
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Rep: Reputation: 0
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.

Last edited by kapilsampath; 04-24-2005 at 07:06 AM.
 
Old 04-25-2005, 03:39 PM   #2
tormented_one
Member
 
Registered: Oct 2004
Location: Small Town USA
Distribution: slamd64 2.6.12 Slackware 2.4.32 Windows XP x64 pro
Posts: 383

Rep: Reputation: 30
A hex editor may get you by, that is to maybe recover the info. I have found text is easiest to recover.
 
Old 04-25-2005, 11:46 PM   #3
kapilsampath
LQ Newbie
 
Registered: Apr 2005
Posts: 2

Original Poster
Rep: Reputation: 0
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.
 
Old 04-26-2005, 01:34 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 57
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
 
Old 04-26-2005, 07:52 AM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,165
Blog Entries: 4

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


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Software to acess and recover data on Fat32 data NeoSpawn Linux - Software 2 09-04-2005 11:37 AM
how to recover data ? my file system is currupt! skvasistha Linux - Software 3 11-22-2004 09:16 PM
How to ext3 file system A-Liang Programming 2 09-13-2004 10:14 PM
Large tar file taking huge disk space in ext3 file system pcwulf Linux - General 2 10-20-2003 07:45 AM
Format ext3 file system? mikeshn Linux - General 5 11-03-2002 12:37 PM


All times are GMT -5. The time now is 04:00 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration