LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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
 
Search this Thread
Old 12-09-2002, 12:12 PM   #1
balfred
Member
 
Registered: Mar 2002
Location: Rosario, Argentina
Distribution: SuSE 9.2
Posts: 32

Rep: Reputation: 15
Help me to recover data after a dd


Trying to burn an image I made a mistake and burned 'boot.iso' on a fat partition where i have all my mp3s.
(dd if=boot.iso of=/dev/hda1)

now I can't mount the partition I receive the following message: "wrong fs type, bad option, bad superblock on /dev/hda1, or too many mounted filesystems"

The boot.iso is 18MB, so I'm shure that there is a way to recover the rest of the data of the partition (9,5 GB).
 
Old 12-09-2002, 01:39 PM   #2
llama_meme
Member
 
Registered: Nov 2001
Location: London, England
Distribution: Gentoo, FreeBSD
Posts: 590

Rep: Reputation: 30
Maybe, maybe not :S

Tried fsck? If that doesn't work, you're in difficulties (it probably is possible to recover the data, but you'd have to do it manually, I suppose).

Alex
 
Old 12-09-2002, 02:09 PM   #3
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
You should be able to recover most of your data from one of your redundant superblocks. Usually if the superblock has been corrupted, I use
/sbin/fsck.ext3 -b8192 /dev/hdX
to use the backup superblock starting at byte 8192. Evidently this one has been overwritten here, so if you can find the address of a redundant superblock that you havent already wiped, you can pass that option to fsck. Hope this helps.
 
Old 12-09-2002, 02:14 PM   #4
balfred
Member
 
Registered: Mar 2002
Location: Rosario, Argentina
Distribution: SuSE 9.2
Posts: 32

Original Poster
Rep: Reputation: 15
Thanks for your help Alex but I tried fsck, and this is the output:

> fsck /dev/hda1
>Parallelizing fsck version 1.19a (13-Jul-2000)
>fsck: fsck.vfat: not found
>fsck: Error 2 while executing fsck.vfat for /dev/hda1

Do you know how can i recover it manually?
 
Old 12-09-2002, 02:41 PM   #5
balfred
Member
 
Registered: Mar 2002
Location: Rosario, Argentina
Distribution: SuSE 9.2
Posts: 32

Original Poster
Rep: Reputation: 15
nxny:
I suppose that i can't do fsck.ext3 because my corrupted partition is a FAT32 fs.
 
Old 12-09-2002, 02:53 PM   #6
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 22,978
Blog Entries: 11

Rep: Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879Reputation: 879
@nxny: I'm afraid FAT doesn't have superblocks :\

@balfred: The only (slight!) chance I'd see in this situation
is to boot into DOS, and try to use something like Nortons
Disk-Doctor ... but even then, you'd have at best a coherent
list of allocated blocks, never being able to retrieve the file's
names.... sorry to say that, but your chances would have
been better if you had erased the partition using fdisk.

Cheers,
Tink

P.S.: Don't be root if you don't HAVE to...
 
Old 12-09-2002, 04:35 PM   #7
nxny
Member
 
Registered: May 2002
Location: AK - The last frontier.
Distribution: Red Hat 8.0, Slackware 8.1, Knoppix 3.7, Lunar 1.3, Sorcerer
Posts: 771

Rep: Reputation: 30
Quote:
Originally posted by balfred
nxny:
I suppose that i can't do fsck.ext3 because my corrupted partition is a FAT32 fs.
sorry, i assumed it was a Linux partition. Good Luck.
 
  


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


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 your data. raxxal Linux - Software 2 07-05-2005 11:59 AM
data recover please ..! bruse Mandriva 7 04-15-2005 01:12 AM
CD RW data recover redsea Linux - General 1 12-11-2004 08:20 AM
Is it possible to recover data from format? nbccbn Linux - General 1 11-30-2003 05:03 AM


All times are GMT -5. The time now is 03:47 PM.

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