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 02:37 AM.
|