Jump to content


 


Register a free account to unlock additional features at BleepingComputer.com
Welcome to BleepingComputer, a free community where people like yourself come together to discuss and learn how to use their computers. Using the site is easy and fun. As a guest, you can browse and view the various discussions in the forums, but can not create a new topic or reply to an existing one unless you are logged in. Other benefits of registering an account are subscribing to topics and forums, creating a blog, and having no ads shown anywhere on the site.


Click here to Register a free account now! or read our Welcome Guide to learn how to use this site.

Photo

Hard drive went RAW, doesn't show in Parted Magic Mount.


  • Please log in to reply
36 replies to this topic

#1 Schris

Schris

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:02:19 PM

Posted 24 April 2014 - 10:20 PM

My 300 GB 3.5" PATA hard drive Maxtor 6L300R0, in an external enclosure,  was used as an external hard drive on occasions.  It was working normally until the hard drive enclosure started having issues not connecting through the USB any more.  I bought a new enclosure to put the hard drive in.  I properly grounded myself to prevent electrostatic discharge, removed the hard drive from the old enclosure, and installed it in the new enclosure.  I powered it on and Windows XP Pro 32 bit said it wasn't formatted.  I checked the disk manager and it said it was RAW.  I didn't format the hard drive or do anything to it.  I installed a PCI RAID PATA controller card into my motherboard, as I don't have any connections to plug my PATA drive into.  I plugged my hard drive into the RAID card and booted into Parted Magic with a USB drive, as per the info I have found from James Litton on here and his website (http://html5.litten.com/how-to-fix-external-disk-drive-suddenly-became-raw/).

In Parted Magic I don't see my drive in the Parted Magic Mount.  In Disk Health I can see my hard drive.  I double click on it to open the Device Information.  I click on Perform Tests tab and ran the Short Test.  I didn't get any errors and there isn't any Error Log in that tab.  In Attributes, the RAW values for ID's 1,5, and 197 are:
1-There is nothing listed for 1.  It's not on the list.  The first thing on the list is 3.
5-0
197-0


I ran fdisk -l in the terminal window:
Disk /dev/sdc: 300.1 GB, 300089646592 bytes, 586112591 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x0182d8d0

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1              63   586099394   293049666    7  HPFS/NTFS/exFAT

 

I've tried to run gdisk -l/dev/sdc:
root@partedmagic:~# gdisk -l/dev/sdc
GPT fdisk (gdisk) version 0.8.6

Problem opening -l/dev/sdc for reading! Error is 2.
The specified file does not exist!

 

 

I tried testdisk in the Terminal.  I followed the steps of No Log, Proceed, Intel/PC partition, Analyze, Quick Search, and I only see one partition.
Disk /dev/sdc - 300 GB / 279 GiB - CHS 36483 255 63
     Partition               Start        End    Size in sectors
>* HPFS - NTFS              0   1  1 36482 254 63  586099332

I pressed p to list files and I get:
   * HPFS - NTFS              0   1  1 36482 254 63  586099332

Can't open filesystem. Filesystem seems damaged.

 

 

If I go to File Manager on the desktop in Parted Magic I can see my hard drive.  I click on it and I get:
Run: Mount /dev/sdc1
Status: Finished with error  ( exit status 1 )

0%
udevil: error 64: unable to determine device fstype - specify with -t

 

I saw somewhere that told me I should run chkdsk/f and reboot twice.

I have a 500 GB SATA hard drive waiting to transfer data into from my 300 GB hard drive.  I'm not sure where to go from here.  Any help or suggestions would be greatly appreciated.  Thank you.


Edited by Schris, 24 April 2014 - 10:59 PM.


BC AdBot (Login to Remove)

 


#2 JohnC_21

JohnC_21

  • Members
  • 24,630 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:19 PM

Posted 25 April 2014 - 03:10 PM

Hello, and Welcome

 

Lets see if it can be mounted in terminal by doing the following.

 

Open terminal and type

sudo mkdir /media/usb

sudo mount -t ntfs-3g /dev/sdc1 /media/usb

cd /media/usb

ls -l

Do you see the contents of the drive?


Edited by JohnC_21, 25 April 2014 - 03:13 PM.


#3 Schris

Schris
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:02:19 PM

Posted 25 April 2014 - 05:53 PM

Here is what I got so far:

 

Welcome - Parted Magic (Linux 3.10.4-pmagic)

root@partedmagic:~# sudo mkdir /media/usb
root@partedmagic:~# sudo mount -t ntfs-3g /dev/sdc1 /media/usb
ntfs_mst_post_read_fixup_warn: magic: 0x00000001  size: 1024   usa_ofs: 0  usa_count: 65535: Invalid argument
Record 0 has no FILE magic (0x1)
Failed to load $MFT: Input/output error
Failed to mount '/dev/sdc1': Input/output error
NTFS is either inconsistent, or there is a hardware fault, or it's a
SoftRAID/FakeRAID hardware. In the first case run chkdsk /f on Windows
then reboot into Windows twice. The usage of the /f parameter is very
important! If the device is a SoftRAID/FakeRAID then first activate
it and mount a different device under the /dev/mapper/ directory, (e.g.
/dev/mapper/nvidia_eahaabcc1). Please see the 'dmraid' documentation
for more details.
root@partedmagic:~# cd /media/usb
root@partedmagic:/media/usb# ls -l
total 0
root@partedmagic:/media/usb#
 

I guess the last two lines don't matter since I didn't get favorible results after I entered

sudo mount -t ntfs-3g /dev/sdc1 /media/usb



#4 JohnC_21

JohnC_21

  • Members
  • 24,630 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:19 PM

Posted 25 April 2014 - 06:15 PM

Verify that your drive is sdc type:

 

lsblk -o name,label,size,fstype,mountpoint,model

 

If the drive is sdc try this command and then try to remount the drive as shown in the previous post.

 

ntfsfix /dev/sdc1  (space between ntfsfix and /)


Edited by JohnC_21, 25 April 2014 - 06:15 PM.


#5 Schris

Schris
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:02:19 PM

Posted 25 April 2014 - 09:51 PM

My drive is device c as shown in Disk Health on Parted Magic desktop.  I typed in the commands you gave me into the terminal (ROXTerm) and got:

 

root@partedmagic:~# lsblk -o name,label,size,fstype,mountpoint,model
NAME   LABEL         SIZE FSTYPE   MOUNTPOINT MODEL
sda                  1.4T                     WDC WD1502FAEX-0
├─sda1             232.9G ntfs                
├─sda2                 1K                     
├─sda5 Local Disk  232.9G ntfs                
├─sda6 Local Disk  232.9G ntfs                
├─sda7 Local Disk  232.9G ntfs                
├─sda8 Local Disk  232.9G ntfs                
└─sda9 Local Disk  232.9G ntfs                
sdb                465.8G                     WDC WD5000AACS-0
└─sdb1             465.8G ntfs                
sdc                279.5G                     Maxtor 6L300R0  
└─sdc1             279.5G                     
sdd                  987M                     Flash Disk      
└─sdd1 SCHRIS2 985.8M vfat                
sr0                 1024M                     iHAS324   A     
loop0               64.5M squashfs            
loop1              245.8M squashfs            
root@partedmagic:~# ntfsfix /dev/sdc1
Mounting volume... ntfs_mst_post_read_fixup_warn: magic: 0x00000001  size: 1024   usa_ofs: 0  usa_count: 65535: Invalid argument
Record 0 has no FILE magic (0x1)
Failed to load $MFT: Input/output error
FAILED
Attempting to correct errors... ntfs_mst_post_read_fixup_warn: magic: 0x00000001  size: 1024   usa_ofs: 0  usa_count: 65535: Invalid argument
Record 0 has no FILE magic (0x1)
Failed to load $MFT: Input/output error
FAILED
Failed to startup volume: Input/output error
Checking for self-located MFT segment... ntfs_mst_post_read_fixup_warn: magic: 0x00000001  size: 1024   usa_ofs: 0  usa_count: 65535: Invalid argument
OK
ntfs_mst_post_read_fixup_warn: magic: 0x00000001  size: 1024   usa_ofs: 0  usa_count: 65535: Invalid argument
Record 0 has no FILE magic (0x1)
Failed to load $MFT: Input/output error
Volume is corrupt. You should run chkdsk.
root@partedmagic:~#
 


Edited by Schris, 25 April 2014 - 09:55 PM.


#6 Anshad Edavana

Anshad Edavana

  • Members
  • 2,805 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:02:49 AM

Posted 26 April 2014 - 05:56 AM

Hi

 

When you open "Disk Health" , there is an option to save the SMART data in "txt" format ( Save As button ). 

 

gsmartcontrol-3.jpg

 

 

Please attach the result with next reply.



#7 JohnC_21

JohnC_21

  • Members
  • 24,630 posts
  • OFFLINE
  •  
  • Gender:Male
  • Local time:04:19 PM

Posted 26 April 2014 - 07:10 AM

Hello,

I will step away and let Anshad carry on with the thread. He is an excellent BC Advisor.



#8 Schris

Schris
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:02:19 PM

Posted 26 April 2014 - 10:55 AM

Thanks for your help John.

 

This is what I have for the S.M.A.R.T. Attributes output:

 

smartctl 5.43 2012-06-30 r3573 [i686-linux-3.10.4-pmagic] (local build)
Copyright © 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF INFORMATION SECTION ===
Model Family:     Maxtor DiamondMax 10 (ATA/133 and SATA/150)
Device Model:     Maxtor 6L300R0
Serial Number:    L60W1AWH
Firmware Version: BAH41G10
User Capacity:    300,089,646,592 bytes [300 GB]
Sector Size:      512 bytes logical/physical
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   7
ATA Standard is:  ATA/ATAPI-7 T13 1532D revision 0
Local Time is:    Sat Apr 26 08:51:57 2014 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82)    Offline data collection activity
                    was completed without error.
                    Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0)    The previous self-test routine completed
                    without error or no self-test has ever
                    been run.
Total time to complete Offline
data collection:         ( 2343) seconds.
Offline data collection
capabilities:              (0x5b) SMART execute Offline immediate.
                    Auto Offline data collection on/off support.
                    Suspend Offline collection upon new
                    command.
                    Offline surface scan supported.
                    Self-test supported.
                    No Conveyance Self-test supported.
                    Selective Self-test supported.
SMART capabilities:            (0x0003)    Saves SMART data before entering
                    power-saving mode.
                    Supports SMART auto save timer.
Error logging capability:        (0x01)    Error logging supported.
                    General Purpose Logging supported.
Short self-test routine
recommended polling time:      (   2) minutes.
Extended self-test routine
recommended polling time:      ( 119) minutes.
SCT capabilities:            (0x0021)    SCT Status supported.
                    SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  3 Spin_Up_Time            0x0027   180   172   063    Pre-fail  Always       -       28402
  4 Start_Stop_Count        0x0032   251   251   000    Old_age   Always       -       4444
  5 Reallocated_Sector_Ct   0x0033   253   253   063    Pre-fail  Always       -       0
  6 Read_Channel_Margin     0x0001   253   253   100    Pre-fail  Offline      -       0
  7 Seek_Error_Rate         0x000a   253   252   000    Old_age   Always       -       0
  8 Seek_Time_Performance   0x0027   248   247   187    Pre-fail  Always       -       32809
  9 Power_On_Minutes        0x0032   192   192   000    Old_age   Always       -       598h+34m
 10 Spin_Retry_Count        0x002b   253   252   157    Pre-fail  Always       -       0
 11 Calibration_Retry_Count 0x002b   253   252   223    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   250   250   000    Old_age   Always       -       1533
192 Power-Off_Retract_Count 0x0032   253   253   000    Old_age   Always       -       0
193 Load_Cycle_Count        0x0032   253   253   000    Old_age   Always       -       0
194 Temperature_Celsius     0x0032   044   253   000    Old_age   Always       -       21
195 Hardware_ECC_Recovered  0x000a   253   252   000    Old_age   Always       -       16596
196 Reallocated_Event_Count 0x0008   253   253   000    Old_age   Offline      -       0
197 Current_Pending_Sector  0x0008   253   253   000    Old_age   Offline      -       0
198 Offline_Uncorrectable   0x0008   253   253   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0008   001   001   000    Old_age   Offline      -       15705
200 Multi_Zone_Error_Rate   0x000a   253   252   000    Old_age   Always       -       0
201 Soft_Read_Error_Rate    0x000a   253   252   000    Old_age   Always       -       0
202 Data_Address_Mark_Errs  0x000a   253   252   000    Old_age   Always       -       0
203 Run_Out_Cancel          0x000b   253   252   180    Pre-fail  Always       -       1
204 Soft_ECC_Correction     0x000a   253   252   000    Old_age   Always       -       0
205 Thermal_Asperity_Rate   0x000a   253   252   000    Old_age   Always       -       0
207 Spin_High_Current       0x002a   253   252   000    Old_age   Always       -       0
208 Spin_Buzz               0x002a   253   252   000    Old_age   Always       -       0
209 Offline_Seek_Performnce 0x0024   240   240   000    Old_age   Offline      -       157
210 Unknown_Attribute       0x0032   253   252   000    Old_age   Always       -       0
211 Unknown_Attribute       0x0032   253   252   000    Old_age   Always       -       0
212 Unknown_Attribute       0x0032   253   252   000    Old_age   Always       -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
Num  Test_Description    Status                  Remaining  LifeTime(hours)  LBA_of_first_error
# 1  Short offline       Completed without error       00%     21349         -
# 2  Short offline       Completed without error       00%     21192         -

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.



#9 Anshad Edavana

Anshad Edavana

  • Members
  • 2,805 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:02:49 AM

Posted 26 April 2014 - 11:00 PM

Hi

 

According to the SMART data collected by "GsmartControl", there is no active "Current Pending Sector" in your hard drive. So hopefully the drive's condition seems to be good ( running manufacturer's diagnostic test is necessary to confirm ). It is safe to run CHKDSK to fix the file system corruption. 

 

1. Attach the HDD as a slave drive.

 

2. Boot in to Windows and identify the slave HDD drive letter.

 

3. Open an elevated command prompt.

 

    http://www.bleepingcomputer.com/tutorials/windows-elevated-command-prompt/

 

4. Enter the below command to run CHKDSK ( substitute "D:" with the slave drive's drive letter ).

 

    CHKDSK D: /R

 

    Wait for it to finish and let us know the result.


Edited by Anshad Edavana, 26 April 2014 - 11:01 PM.


#10 Schris

Schris
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:02:19 PM

Posted 26 April 2014 - 11:31 PM

Does chkdsk do the same thing in Windows XP vs Windows 7?

 

Is there a difference in doing a cmd to run chkdsk vs right clicking on the hard drive, selecting tools, and telling it to check the disk for errors?



#11 Schris

Schris
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:02:19 PM

Posted 27 April 2014 - 12:17 AM

I ran cmd in Windows XP Pro.  I tried chkdsk d: /r, d being my hard drive that is RAW.  I got:

 

C:\Documents and Settings\Schris>chkdsk d: /r

The type of the file system is NTFS.

Unable to determine volume or version and state.    CHKDSK aborted.

C:\Documents and Settings\Schris>

 

Do I have to run chkdsk in Windows 7?



#12 Anshad Edavana

Anshad Edavana

  • Members
  • 2,805 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:02:49 AM

Posted 27 April 2014 - 04:26 AM

Hi

 

The message you got indicates the file system has been seriously damaged. If CHKDSK can't fix an NTFS volume, nothing can. I don't think running "check disk" from "Win 7" will make a difference. 

 

Currently we only have two options left. First is to use "TestDisk" to try fixing the file system and the second is to use data recovery programs to recover the data. "TestDisk" is included with "Parted Magic". Windows version can be downloaded from http://www.cgsecurity.org/wiki/TestDisk_Download

 

Before running "TestDisk" , carefully read the official step by step guide : http://www.cgsecurity.org/wiki/TestDisk_Step_By_Step

 

First use "TestDisk" to repair "NTFS Boot Sector" and reboot the machine ( Advanced - File System Utilities ). Then run CHKDSK again. If that is not helpful, try "Repair MFT" option.

 

http://www.cgsecurity.org/wiki/Advanced_NTFS_Boot_and_MFT_Repair

 

http://www.xtralogic.com/testdisk_rebuild_bootsector.shtml

 

If nothing helps, data recovery is will be the only option left.



#13 Schris

Schris
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:02:19 PM

Posted 27 April 2014 - 08:21 PM

I used TestDisk in Parted Magic.  When I get to the part where it shows my drive I don't see any errors on it as seen in the documentation you listed.

 

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sdc - 300 GB / 279 GiB - CHS 36483 255 63
     Partition                  Start        End    Size in sectors
 1 P HPFS - NTFS              0   1  1 36482 254 63  586099332

Boot sector
Status: OK

Backup boot sector
Status: OK

Sectors are identical.

A valid NTFS Boot sector must be present in order to access
any data; even if the partition is not bootable.


>[  Quit  ]  [  List  ]  [Rebuild BS]  [Repair MFT]  [  Dump  ]
                            Return to Advanced menu

 

 

 

I continued and told it to Rebuild BS and it ran until it was finished.  I rebooted my computer into Windows XP Pro and tried to run chkdsk d: /r again with the same error.

 

C:\Documents and Settings\Schris>chkdsk d: /r

The type of the file system is NTFS.

Unable to determine volume or version and state.    CHKDSK aborted.

C:\Documents and Settings\Schris>

 

 

 

I rebooted my computer back into Parted Magic and ran TestDisk again so I could run Repair MFT.  The message I got was:

 

TestDisk 6.14, Data Recovery Utility, July 2013
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org


MFT and MFT mirror are bad. Failed to repair them.



>[Ok]

 

 

 

Did I miss something or do I have to do data recovery now?



#14 Anshad Edavana

Anshad Edavana

  • Members
  • 2,805 posts
  • OFFLINE
  •  
  • Gender:Male
  • Location:India
  • Local time:02:49 AM

Posted 27 April 2014 - 11:10 PM

 

 

Did I miss something or do I have to do data recovery now?

 

Unfortunately, Yes. MFT means the Master File Table and it is the core of an NTFS file system. If MFT gone bad, data recovery is the only choice left but most of them are paid software. However we can use the trial versions to evaluate whether it is possible to recover the data. I would recommend "Disk Internal's Partition Recovery" which will reconstruct the file system from scratch ( virtually ) and allow you to browse through it. Some common file types can be previewed too.

 

http://www.diskinternals.com/partition-recovery/

 

On the freeware side there is "Photorec" which is part of "TestDisk" package. 

 

http://www.cgsecurity.org/wiki/PhotoRec_Step_By_Step



#15 Schris

Schris
  • Topic Starter

  • Members
  • 18 posts
  • OFFLINE
  •  
  • Local time:02:19 PM

Posted 28 April 2014 - 01:29 AM

Is there a way to get my files without having to pay for the software, if the freeware says the files are good/there?






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users