Author Topic: Panic mode: HD not working  (Read 4048 times)

Offline Meomix

  • Member
  • Posts: 4993
  • For our glorious order
    • MAL
Re: Panic mode: HD not working
« Reply #20 on: January 20, 2012, 09:05:04 AM »
Take a ubuntu live cd and start it up DO NOT USE GPARTED OTHERWISE YOU WILL RISK ERASING THE DRIVE use ubuntu to view your broken drive, if it can access and see the files in the drive copy your stuff onto a new medium asap.
Did you know Satan was supposedly gods RIGHT HAND MAN, not his left. Blows your theory out of the water now doesn't it.

Offline GoGeTa006

  • Member
  • Posts: 6863
  • The fate of destruction is also the joy of Rebirth
    • Anime Planet listing
Re: Panic mode: HD not working
« Reply #21 on: January 20, 2012, 05:27:42 PM »
Take a ubuntu live cd and start it up DO NOT USE GPARTED OTHERWISE YOU WILL RISK ERASING THE DRIVE use ubuntu to view your broken drive, if it can access and see the files in the drive copy your stuff onto a new medium asap.

can I get a little elaboration there? I have never used ubuntu
does it have a simple get-around GUI or is it command based?

*edit*
which version of ubuntu? (11.6 which seesm like the newest says AMD on the torrent)

and comments say that 11.6 sucks and freezes and stuff. . .which version should I get?
« Last Edit: January 20, 2012, 05:30:56 PM by GoGeTa006 »

Online Bob2004

  • Member
  • Posts: 2562
Re: Panic mode: HD not working
« Reply #22 on: January 20, 2012, 06:16:36 PM »
If Windows can't read the drive, then Ubuntu most likely won't be able to either (though there may well be tools included in the distribution which might be able to help, I wouldn't recommend going near them if you don't know what you're doing). If anything, Ubuntu's support for NTFS partitions is a lot worse than Windows (since only Windows formats its drives as NTFS).

My advice is to not worry about using Ubuntu. Unless you find some really good drive recovery software which only runs on Linux, there's not much benefit to it unless you're an experienced Linux user who's happy to muck around on the command line, edit system files, etc.

Offline kitamesume

  • Member
  • Posts: 7223
  • Death is pleasure, Living is torment.
Re: Panic mode: HD not working
« Reply #23 on: January 20, 2012, 06:47:04 PM »
btw, did you ever tried taking a look at the pins? once i mistakenly moved the jumper on the wrong pin on an old drive and it looked like a blank disk from the OS.

Haruhi Dance | EMO | OLD SETs | ^ I know how u feel | Click sig to Enlarge

Offline GoGeTa006

  • Member
  • Posts: 6863
  • The fate of destruction is also the joy of Rebirth
    • Anime Planet listing
Re: Panic mode: HD not working
« Reply #24 on: January 20, 2012, 06:59:53 PM »
btw, did you ever tried taking a look at the pins? once i mistakenly moved the jumper on the wrong pin on an old drive and it looked like a blank disk from the OS.

I havent touched the pins, hell I hadnt even removed it from its external enclosure until this problem happened

Offline datora

  • Member
  • Posts: 1411
  • "Warning! Otaku logic powers in use!"
Re: Panic mode: HD not working
« Reply #25 on: January 21, 2012, 12:59:05 AM »
.
The idea of using linux is to boot from a live CD and see if you can view the contents of your Windows drives.  Practice on your healthy drives before you connect the failed one.  If you can view contents, or even recognize that data is there (instead of unallocated space), then there might be some glimmering of hope.

I haven't played with Ubuntu in years.  In fact, it's close to two years since I've booted any linux system.  Other distros might work better than Ubuntu.  Ubuntu is designed as a user-friendly environment.  Stuff like Knoppix, Fedora, openSUSE, Debian might be a better bet for an included toolbox for system diagnostic and recovery.

See: http://distrowatch.com/ for an intimidating listing.

I can't recommend something current for you.  Sorry.  I simply am not up on current distros.  Five to seven years ago I could have helped you out with SUSE, Gentoo or Knoppix, but not today.

Start at distrowatch, check a few links for descriptions on what some of those distros are intended for.  A little search & google-fu will be required to find a live CD ISO that is designed for Windows diagnostic & recovery.  They ARE out there ,,,,but research is required to find one that is currently stable & user-friendly.

Look for small & micro kernels that are designed for system diagnostics.  They are likely to have the "best" tools to attempt analysis & recovery ... although, they may not be the most user-friendly.

Since I haven't attempted drive recovery in a a serious way in a while, I was hoping someone here could jump in with better advice, even if only a better forum to visit.  That is also something to spend a little search time on: a decent tech forum.  I used to liek MajorGeeks a lot: http://forums.majorgeeks.com/ but can't speak to their current state of usefulness these days.  Lots of freebie utilities there; great repository to begin with: http://majorgeeks.com/
I win, once again, in my never-ending struggle against victory.

Offline Meomix

  • Member
  • Posts: 4993
  • For our glorious order
    • MAL
Re: Panic mode: HD not working
« Reply #26 on: January 21, 2012, 01:01:16 AM »
Take a ubuntu live cd and start it up DO NOT USE GPARTED OTHERWISE YOU WILL RISK ERASING THE DRIVE use ubuntu to view your broken drive, if it can access and see the files in the drive copy your stuff onto a new medium asap.

can I get a little elaboration there? I have never used ubuntu
does it have a simple get-around GUI or is it command based?

*edit*
which version of ubuntu? (11.6 which seesm like the newest says AMD on the torrent)

and comments say that 11.6 sucks and freezes and stuff. . .which version should I get?

Get the lowest version instead then, download the "live cd" type, and burn it into a bootable cd.

When you put the cd into the drive it boots up the OS no installation required.

Edit: datora beat me to it.
Did you know Satan was supposedly gods RIGHT HAND MAN, not his left. Blows your theory out of the water now doesn't it.

Offline GoGeTa006

  • Member
  • Posts: 6863
  • The fate of destruction is also the joy of Rebirth
    • Anime Planet listing
Re: Panic mode: HD not working
« Reply #27 on: January 21, 2012, 04:05:40 AM »
Take a ubuntu live cd and start it up DO NOT USE GPARTED OTHERWISE YOU WILL RISK ERASING THE DRIVE use ubuntu to view your broken drive, if it can access and see the files in the drive copy your stuff onto a new medium asap.

can I get a little elaboration there? I have never used ubuntu
does it have a simple get-around GUI or is it command based?

*edit*
which version of ubuntu? (11.6 which seesm like the newest says AMD on the torrent)

and comments say that 11.6 sucks and freezes and stuff. . .which version should I get?

Get the lowest version instead then, download the "live cd" type, and burn it into a bootable cd.

When you put the cd into the drive it boots up the OS no installation required.

Edit: datora beat me to it.

and then? will I get a cmd prompt or will I get a desktop of some sort?
I will obviously try with my healty drives first. . .HD arrives tomorrow according to tracking. . .

Offline Meomix

  • Member
  • Posts: 4993
  • For our glorious order
    • MAL
Re: Panic mode: HD not working
« Reply #28 on: January 21, 2012, 04:19:20 AM »
Take a ubuntu live cd and start it up DO NOT USE GPARTED OTHERWISE YOU WILL RISK ERASING THE DRIVE use ubuntu to view your broken drive, if it can access and see the files in the drive copy your stuff onto a new medium asap.

can I get a little elaboration there? I have never used ubuntu
does it have a simple get-around GUI or is it command based?

*edit*
which version of ubuntu? (11.6 which seesm like the newest says AMD on the torrent)

and comments say that 11.6 sucks and freezes and stuff. . .which version should I get?

Get the lowest version instead then, download the "live cd" type, and burn it into a bootable cd.

When you put the cd into the drive it boots up the OS no installation required.

Edit: datora beat me to it.

and then? will I get a cmd prompt or will I get a desktop of some sort?
I will obviously try with my healty drives first. . .HD arrives tomorrow according to tracking. . .

You may get some options at bootup if so choose the option akin to "start live desktop"
Did you know Satan was supposedly gods RIGHT HAND MAN, not his left. Blows your theory out of the water now doesn't it.

Offline Freedom Kira

  • Member
  • Posts: 4324
  • Rawr™.
Re: Panic mode: HD not working
« Reply #29 on: January 21, 2012, 10:48:07 AM »
If Windows can't read the drive, then Ubuntu most likely won't be able to either (though there may well be tools included in the distribution which might be able to help, I wouldn't recommend going near them if you don't know what you're doing). If anything, Ubuntu's support for NTFS partitions is a lot worse than Windows (since only Windows formats its drives as NTFS).

My advice is to not worry about using Ubuntu. Unless you find some really good drive recovery software which only runs on Linux, there's not much benefit to it unless you're an experienced Linux user who's happy to muck around on the command line, edit system files, etc.

Ubuntu and Windows read drives the same way, afaik. I don't see how it would recognize data just because it's a Linux distro. So, what Bob2004 said, except for the NTFS part, which I don't recall OP ever mentioning. Ubuntu has enough open-source NTFS support to be able to create, resize, and read from/write to NTFS partitions, IIRC.

If you insist, though, any version of it is fine; I'd just go with the latest version 11.10. If you want guaranteed stability, grab 10.04, which is their LTS version released in April 2010. Just make sure you grab it from the Ubuntu site (if you insist on torrenting it, they have torrent files available in their alternative downloads page). Grab the x86 version, always. Pop it in, mash F12 while booting (if you have boot from CD first in your BIOS settings you don't have to do this), boot from CD. Click "Try Ubuntu" when it asks if you want to install. Make sure you only click it once, as I've had system hangs from clicking it more than once. Oh, and to answer your question, Ubuntu is a desktop OS. It's very possible to use it without ever using the command line, like Windows.

11.10 is Unity-based, so things are much different from the classic GNOME desktop, which 10.04 should be using. I've been using it for a few months, so I kinda know my way around. Hit Ctrl+Alt+T (I think) to start a terminal. The file browser GUI program is at the very top of the menu on the left, just below the black icon (which is Dash and acts a lot like the Windows 7 Start search box). If Ctrl+Alt+T doesn't open a terminal, you can type terminal into Dash to start it.

Note: For this walkthrough I will assume you are using 11.10/Unity. If you're using 10.04/GNOME classic, check the bottom of this post.

The first thing to note while running off an Ubuntu Live CD is that none of your hard drives are mounted, but they should be detected. Use Dash to open GParted to see what hard drives are connected (don't worry, if you don't tell it to do anything to your drives, it won't actually do anything - I'm sure Meomix hasn't actually used GParted before). Use the drop down list at the top right to select different drives (named sdx, where x is a lowercase letter starting from a). You can see what a drive's contents look like - if its data is readable, it will show a summary of the partitions available and colors representing the amount of space used.

Since your backup drive is new, it will likely have nothing on it, and therefore the entire bar will just be gray and say "unallocated." Since you can't use dd to clone your disk, you'll have to format it so you can use it. Go to Partition -> New to create a new partition table with default settings (MS-DOS). Next, right-click on the bar of unallocated space, and create a new primary partition. Be sure to use FAT32, or NTFS if you have files over 4GB on your 1TB disk. All the default settings should be fine; just make sure you allocate the entire disk. To apply your changes, click the green checkmark (nothing actually happens to your disk until you click that, and confirm that you want to do what you want to do).

Once you have your 1TB drive connected, open up GParted the same way and look for the disk. If the disk shows up as unallocated, you probably can't read it, but it doesn't hurt to try anyway (if you see a red circle with "!" in it, you might have a chance). First thing to know is what filesystem is on your disk, as the mount command probably won't be able to detect it (if Windows couldn't, Ubuntu probably can't either). Also note the sdx ID of the drive in GParted.

See the extra post below before continuing.
Open up a terminal, and type the following command:
Code: [Select]
sudo mount -t <filesystem> /dev/sdx /media
Be sure to replace <filesystem> with your filesystem, like FAT or NTFS, and replace sdx with your drive, which will probably be sda or sdb.

Here's an example command, note that your filesystem input should be all lowercase:
Code: [Select]
sudo mount -t fat /dev/sdb /media
The above command will mount the sdb drive in the /media directory with filesystem FAT. FAT12/16/32 is auto-detected; if you want to override auto-detection to 32, I believe the command is:
Code: [Select]
sudo mount -t fat fat=32 /dev/sdb /media

If it just quietly mounts, you're in luck. If it throws an error regarding the filesystem being invalid, you're not so lucky. If it complains about the filesystem being read-only or something, you might be in luck.

Edit: For the below command, as noted in the post below, change "/media" to your desired directory.
In the terminal, type:
Code: [Select]
cd /media
ll
(that second line is LL in lowercase)
This will move you to the mount point and list everything in the directory in long listing format. If it only shows ./ (which means current directory) and ../ (which means parent, or 1-up, directory), either the mount failed, or you can't read anything on the drive.
(If command ll doesn't work, use "ls -l" - those are all lowercase L)

If you can read anything on the drive at all, open up GParted again and find your backup drive. Note the sdx. Mount that disk with the following command (assuming it's already formatted):
Code: [Select]
sudo mount -t <filesystem> /dev/sdx /mnt
This will mount your backup disk to /mnt.

Finally, run the command:
Code: [Select]
cp -r /media/* /mnt
This will copy everything in the /media folder, where your 1TB disk is mounted, into your /mnt folder, where your backup disk is mounted. Make sure you don't touch anything in the terminal until the command prompt comes back up, which is that little bit of text that ends with ">". It'll probably be pretty boring to watch the cursor flash for a few hours, so you'll probably want to do something on another computer or start a browser or something, or even take a nap.

Edit: As with the mount commands, change these directories to the ones you actually want.
When you're done everything, run the following two commands to unmount your disks:
Code: [Select]
sudo umount /media
sudo umount /mnt

And then close everything and shut down by finding it on the menu that opens when you click at the far upper-right of the screen. Or, if you want, the command to shut down is:
Code: [Select]
sudo shutdown 0
The 0 specifies the time delay, in seconds, between your issue of the command to the actual shutdown.

Finally, if you are running GNOME classic desktop for any reason, the aforementioned programs are located at:
Terminal: Applications -> Accessories -> Terminal
GParted: System -> Administration -> GParted
File browser: Places -> Computer
There is no Dash in GNOME classic.
These can be found in the menus at the upper left of the screen.
« Last Edit: January 21, 2012, 03:08:15 PM by Freedom Kira »

Online Bob2004

  • Member
  • Posts: 2562
Re: Panic mode: HD not working
« Reply #30 on: January 21, 2012, 11:30:16 AM »
A couple of things about what Kira said; firstly the drive ID may have a number at the end (eg /dev/sda0), which represents the partition number. So each physical drive will be identified as /dev/sda, /dev/sdb, etc, and the partitions will be numbered from 0 up. In order to mount it, even if it only has one parition, you might have to specify the partition too. GParted should tell you all this though.

Also, I'd advise against mounting the drives directly to /media and /mnt. If you have any disc drives, they will usually be mounted as /media/cdrom0 or similar, and since it's a livecd there might be a /mnt/ramdisk or something too (I'm not sure) - this could cause a number of problems if there are folders and stuff already in the folder you want to mount to, so it's better to be safe. You'll want to create a couple of new folders first, (such as /mnt/brokendrive and /mnt/backupdrive, or whatever you want) then mount the drives to them. I can't remember the command for creating a new folder (it's been a year or two since I last used Linux), but hopefully Kira or someone can tell you.

All that said, don't bother. Seriously. Linux is not going to be any more likely to read the drive than Windows is, it's a pretty complicated process trying to (compared to Windows, anyway), and you really, really, really do not want to be mounting and trying to access your broken drive any more than you have to, in case it does fail. As a last resort, sure, but try a few different recovery programs first.

Offline rkruger

  • Member
  • Posts: 124
  • #include <bakabt.h>
Re: Panic mode: HD not working
« Reply #31 on: January 21, 2012, 12:19:39 PM »
I would recommend using SystemRescueCD. It's a Linux live CD (or USB if you want) that has all the tools needed for a job like this. (It even has a GUI if you are afraid of the command line.) With other distros, it's really a hit-or-miss on what's included, so you may need to download additional stuff.

Anyway, if the root cause of this problem is that the file system is messed up, your best bet is really to use a forensic-style tool to recover the data based on headers and such. There is a tool named "foremost" included in SystemRescueCD that can do tasks like this, but unfortunately this tool is only configured for certain files types out-of-the-box. Last time i checked, it did not support MKV files for instance, which I would guess most of your files are.

Offline Freedom Kira

  • Member
  • Posts: 4324
  • Rawr™.
Re: Panic mode: HD not working
« Reply #32 on: January 21, 2012, 03:04:06 PM »
A couple of things about what Kira said; firstly the drive ID may have a number at the end (eg /dev/sda0), which represents the partition number. So each physical drive will be identified as /dev/sda, /dev/sdb, etc, and the partitions will be numbered from 0 up. In order to mount it, even if it only has one parition, you might have to specify the partition too. GParted should tell you all this though.

Also, I'd advise against mounting the drives directly to /media and /mnt. If you have any disc drives, they will usually be mounted as /media/cdrom0 or similar, and since it's a livecd there might be a /mnt/ramdisk or something too (I'm not sure) - this could cause a number of problems if there are folders and stuff already in the folder you want to mount to, so it's better to be safe. You'll want to create a couple of new folders first, (such as /mnt/brokendrive and /mnt/backupdrive, or whatever you want) then mount the drives to them. I can't remember the command for creating a new folder (it's been a year or two since I last used Linux), but hopefully Kira or someone can tell you.

All that said, don't bother. Seriously. Linux is not going to be any more likely to read the drive than Windows is, it's a pretty complicated process trying to (compared to Windows, anyway), and you really, really, really do not want to be mounting and trying to access your broken drive any more than you have to, in case it does fail. As a last resort, sure, but try a few different recovery programs first.

Yes, that's true. Ubuntu 11.10 mounts the cdrom to /cdrom and not to the /mnt or /media directories, but the distro you pick may mount to /mnt/cdrom or /media/cdrom. Ubuntu 10.04 apparently mounts the cdrom to /media/cdrom or /media/cdrom0.

Anyway, you will want to run the commands:
Code: [Select]
mkdir /mnt/broken
mkdir /mnt/backup
... to create the directories Bob2004 mentioned, and then change your mount commands to these directories instead of /media or /mnt. Also change your mount devices to /dev/sdxy, where x is probably a or b, and y is probably 1. The partition you want to mount will be shown within the sdx drive in GParted, and should be the largest partition on the drive.

Offline GoGeTa006

  • Member
  • Posts: 6863
  • The fate of destruction is also the joy of Rebirth
    • Anime Planet listing
Re: Panic mode: HD not working
« Reply #33 on: January 21, 2012, 08:03:53 PM »
that linux thing sounds complicated. . .but from what I understand linux has this "recovery" thing implemented already? its a built in feature? or is it just because linux can read everything you plug in without an index?

anyways, from the looks of those instructions it seems a little toughie. . .I'll try the recovery software since it is there for a reason. . .let's hope it all goes well. . .I shall begin this on monday once I can go home and grab some extra SATA cables

Online Bob2004

  • Member
  • Posts: 2562
Re: Panic mode: HD not working
« Reply #34 on: January 21, 2012, 08:40:24 PM »
that linux thing sounds complicated. . .but from what I understand linux has this "recovery" thing implemented already? its a built in feature? or is it just because linux can read everything you plug in without an index?

Nope, I think the only reason anyone suggested it in the first place is because it's not Windows, rather than because it actually does something useful (for your purposes). Honestly, the only advantage of using Linux is if you find a recovery program which only runs in Linux; the OS itself probably won't do anything different to Windows. It was of course written by different people to Windows, and therefore the drive mounting code is different, and therefore there's a chance it might be more error-tolerant - and therefore might be able to read the drive when Windows can't. But I highy doubt it.

Offline kitamesume

  • Member
  • Posts: 7223
  • Death is pleasure, Living is torment.
Re: Panic mode: HD not working
« Reply #35 on: January 22, 2012, 06:24:38 AM »
lol that HDD still hasn't been dealt with? d.mn must be some tough nut to crack huh, well because i've read some posts here that are pretty easy to follow, like the one using R-studio.

in my personal experience with a formatted drive, I found r-studio to be VERY useful in getting access at the formatted drive info.  First you would need a disk image taken of the drive (1:1 copy to a 2 TB drive would be best and may take a few hours).  Then you make a scan of the drive (takes MANY hours), then you open the partitions it shows and see which 1 has your anime on it.  Then try recovering the data.  There will be some CRC checking to do if files are damaged and it is POSSIBLE 100% of the data will not be recoverable but it's worth a shot

you wouldn't really be damaging the HDD if you're only taking an image of it, i mean, do you damage your face when you take a photo of it?

Haruhi Dance | EMO | OLD SETs | ^ I know how u feel | Click sig to Enlarge

Offline Freedom Kira

  • Member
  • Posts: 4324
  • Rawr™.
Re: Panic mode: HD not working
« Reply #36 on: January 22, 2012, 11:42:42 AM »
you wouldn't really be damaging the HDD if you're only taking an image of it, i mean, do you damage your face when you take a photo of it?

The issue here is that the hard drive in question is on the verge of dying. The image analogy may work normally, but you could also use the analogy of rubbing against a frayed string every time he powers up the drive because of its condition. If he can't get his data out before the last power-up, it'll be gone permanently (unless he pays a couple thousand to take it to professional HDD recovery services).

Like datora said, every time he powers up his drive from now on could very well be the last time he can ever power it on.

Offline kitamesume

  • Member
  • Posts: 7223
  • Death is pleasure, Living is torment.
Re: Panic mode: HD not working
« Reply #37 on: January 22, 2012, 03:07:30 PM »
good point, though he could try a sample trial with a regular healthy drive, small ones could do imho like imaging your OS into a healthy large drive. if it works successfully then proceed into the main course.

Haruhi Dance | EMO | OLD SETs | ^ I know how u feel | Click sig to Enlarge

Offline GoGeTa006

  • Member
  • Posts: 6863
  • The fate of destruction is also the joy of Rebirth
    • Anime Planet listing
Re: Panic mode: HD not working
« Reply #38 on: January 23, 2012, 12:04:30 AM »
you wouldn't really be damaging the HDD if you're only taking an image of it, i mean, do you damage your face when you take a photo of it?

The issue here is that the hard drive in question is on the verge of dying. The image analogy may work normally, but you could also use the analogy of rubbing against a frayed string every time he powers up the drive because of its condition. If he can't get his data out before the last power-up, it'll be gone permanently (unless he pays a couple thousand to take it to professional HDD recovery services).

Like datora said, every time he powers up his drive from now on could very well be the last time he can ever power it on.
I refuse to accept such nonsense! the drive is perfectly fine and just had a black-out moment for some obscure reason outside of our understanding. . .
Im assuming there was a sudden change in the earth's magnetic field just over the exact space where my hard drive was stored (when it was external) and the sudden change deleted ONLY THE INDEX and everything else is safe. . .
thats my story and im sticking to it. . .

Offline nstgc

  • Member
  • Posts: 7758
    • http://www.justfuckinggoogleit.com
Re: Panic mode: HD not working
« Reply #39 on: January 23, 2012, 02:50:16 AM »
Just my two cents, but if you CAN take an image of the drive, then you definitely should. Once thats done you can determine the health of the drive.