LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 11-30-2005, 01:36 AM   #1
zigman
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Rep: Reputation: 0
I am in panic! How can i rescue my data on hard drive?


I am new to linux, and probably i did something stupid and now i am in big trouble.
So what happened is i have two os: linux and windows. I needed to unplug one of my old harddrives and plug in my friends hard drive to burn his data on cd. His hardrive was a FAT32. Mine, the one i unplugged was NTFS. So, first i wanted to burn data from it in linux and i rebooted in linux... and figured out this new hard drive needs to be mounted so i changed my mind and rebooted in windows. Windows detected the new hard drive i did whatever i needed t o do, i unplug my friend's hard drive, put mine back in, and then i rebooted back in linux to continue my work - here's where i realised that i am in big trouble. I tried to mount my old NTFS hard drive... it works but for some reason it shows file structure of my friend's FAT32 hard drive. So i thought maybe it's a glitch, i rebooted in windows again... same thing! At last, i unplugged this hard drive and tried on totally different computer with Windows, and the same problem my NTFS hard drive but file structure on it is wrong. Obviously none of these files and directories cannot be read, it's all corrupted. Where did my old NTFS filestructure go? How can I recover it? Is it possible. Please help me what to do, either in linux or windows, i dont care no more, i just want my old file structure working back.

So, fdisk -l gives me this:

Disk /dev/hdb: 40.0 GB, 40027029504 bytes
255 heads, 63 sectors/track, 4866 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdb1 * 1 4865 39078081 7 HPFS/NTFS

While "dmesg | tail" gives this:
FAT: Filesystem panic (dev hdb1)
invalid access to FAT (entry 0x001f01ff)
FAT: Filesystem panic (dev hdb1)
invalid access to FAT (entry 0x001f01ff)
FAT: Filesystem panic (dev hdb1)
invalid access to FAT (entry 0x001f01ff)
FAT: Filesystem panic (dev hdb1)
invalid access to FAT (entry 0x001f01ff)
FAT: bogus number of FAT structure
VFS: Can't find a valid FAT filesystem on dev hdb.

Thanks!

Last edited by zigman; 11-30-2005 at 01:37 AM.
 
Old 12-01-2005, 11:34 AM   #2
ssfrstlstnm
Member
 
Registered: Dec 2004
Location: IN, USA
Distribution: debian etch
Posts: 402

Rep: Reputation: 30
Did you shut down the system before removing the fat disk and installing the ntfs disk? I think maybe that is where you messed up, but I don't know what to do about it now. Maybe run chkdsk (or scandisk for older windows versions) on the volume.
 
Old 12-02-2005, 10:24 AM   #3
zigman
LQ Newbie
 
Registered: Nov 2005
Posts: 2

Original Poster
Rep: Reputation: 0
yes, i shut down the computer and turned it off before unplug and replugging... i dont know how is this possible, maybe some virus or glitch. I doubt it's a virus though, because i have antivirus software running on my main hard drive. chkdsk scandisk dont help, it gives plenty of errors obviously. I downloaded one software which is supposed to help to restore partition table, but i decided not to use yet. Now i am running for 30 hrs already recovery software on that hard drive. The only option that works to restore my files in my case using this recovery software is the one where i can recover my files but not their filenames. i estimate it will take 40-50 hrs in total. When I recover my files, i will try to run that partition table restoration software, but i am not sure it will help, i might just format my hard drive.

My question now is whether I can actually delete a partition table without traces (the faulty FAT partition) without doing low level format. Maybe then my Recovery software could detect that there was NTFS partition at some point then i could obviously recover more files from it than now and much quicker.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
New Hard Drive Causes Kernel Panic darkfire55 Linux - Hardware 4 11-28-2004 02:59 PM
What should I save? Hard drive rebuild. FC2 Dual Boot... Slyder42 Fedora 5 09-09-2004 11:44 PM
PANIC: hard drive failure shishimo General 1 07-16-2004 03:06 PM
Transfering data to another hard drive thors_hammer123 Linux - Hardware 2 07-04-2004 04:34 AM
Getting Data off old hard drive artemis Linux - Hardware 6 11-02-2002 01:06 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 10:45 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration