LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 10-20-2010, 11:51 AM   #1
rflook
LQ Newbie
 
Registered: Feb 2007
Posts: 2

Rep: Reputation: 0
Help - Cant access second hard drive partition


OK so not long ago i updated my pc to the latest version of Ubuntu, but it ran so slowly that i reinstalled a previous version (9.04). I wasnt too bothered at the time as i had two hard disks in my machine, one which help programs and the os etc (an IDE), the other larger (SATA) one for all my media.

However when i booted up my computer after the reinstall, my second HD was no where to be found. So i tried

mount /dev/sda /media/HD2

and that didnt work, i even tried putting it into the fstab file and that didnt work either. So i had a look at the hard drive details via GParted, and it was telling me it was unallocated. Weird.

So next on the list was testdisk. I ran test disk once using the default option file type of 'Intel' when analysis the disk and it told me there were no partitions - same again when i did a deeper search. I tried analysing the disk again but this time i chose 'None' as the filetype, and this time it came back with a possible partition. But when i tried to view the files on the partition i simply got the following message

Cant open filesystem. Filesystem seems damaged

I really would love any help for this problem. Mainly the videos and music are replaceable, BUT the biggest loss would be a lot of personal photos. Honestly any help is gratefully appreciated.
 
Old 10-20-2010, 12:33 PM   #2
Stephannn
Member
 
Registered: Oct 2010
Location: San Francisco, CA
Distribution: Snow Leopard, Ubuntu, RedHat
Posts: 64

Rep: Reputation: 14
First, verify the SMART status of the disk. The first command will run an extended test (taking up to an hour.) The second will spit out the 'current health' of the drive, immediately after running the self test. If the drive's damaged, it won't be that helpful to attempt to rebuild the drive.

Code:
# smartctl -t long /dev/sda
smartctl -HcA /dev/sdb
From there, since you're only absolutely trying to recover photos, you could try using PhotoRec. There's a great tutorial on PhotoRec & Testdisk here:

http://www.linux.com/news/enterprise...our-hard-drive

And, of course, the obvious (but most painful when you experience it first hand) if/once you've recovered your data, and even if you haven't, making sure you have a solid backup solution is critical. It's never been so easy to copy entire partitions to a backup drive as it is with the tools available today. A 1TB drive runs $60; how many hours are you going to spend trying to recover the data you've lost, and think how much you earn an hour at your job. Not trying to preach; I've been in your shoes too.

Best of luck!
 
Old 10-20-2010, 02:56 PM   #3
eSelix
Senior Member
 
Registered: Oct 2009
Location: Wroclaw, Poland
Distribution: Arch, Kubuntu
Posts: 1,281

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Look strange. Did you use crypting? What filesystems you used on partitions? What show "fdisk -l"?
 
  


Reply

Tags
harddisk, partition, recover, ubuntu


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Hardware crash,Repaired,New Install New Hard drive,how to access original Hard drive flatstan Linux - Hardware 7 07-21-2009 06:51 PM
Hard Drive Partition Management - Mandriva Double Partition with Swap File partition moshebagelfresser Linux - Hardware 2 05-23-2008 10:46 AM
ext3 partition on external USB hard drive mounted, but only root access allowed leontini Linux - Hardware 4 02-17-2006 01:54 AM
access external hard drive linux partition on linux and vice versa garyozzy Linux - Newbie 2 08-03-2005 06:11 PM
hard drive partition access and more! hodogg Linux - Hardware 2 04-15-2005 05:06 PM

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

All times are GMT -5. The time now is 09:16 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