LinuxQuestions.org
Visit the LQ Articles and Editorials section
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
 
LinkBack Search this Thread
Old 03-04-2013, 06:54 AM   #1
rajaba21
LQ Newbie
 
Registered: Mar 2013
Location: Brazil
Posts: 8

Rep: Reputation: Disabled
Exclamation HD Unknown - 0 Kb


Dear Forum Users,

I'm a newbie to the Linux world, although I've been always keenly interested to get to know more about linux and open softwares.

I have a 500GB Hitachi HD that is not recognized by any OS I have, my last hope is Linux, I made 3 Live CD with versions of Backtrack 5, Ubuntu and Big Linux.

When I insert the HD and use GParted in all distributions it finds no hard drive connected.

If I go into the hardware settings I see my HD but it appears as if the capacity was 0 Kb but it has 500 Gb.

Please help me out.

Sincerely,
Barros
 
Old 03-04-2013, 09:40 AM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,772

Rep: Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346
Quote:
Originally Posted by rajaba21 View Post
Dear Forum Users,
I'm a newbie to the Linux world, although I've been always keenly interested to get to know more about linux and open softwares.
I have a 500GB Hitachi HD that is not recognized by any OS I have, my last hope is Linux, I made 3 Live CD with versions of Backtrack 5, Ubuntu and Big Linux.
When I insert the HD and use GParted in all distributions it finds no hard drive connected.
If I go into the hardware settings I see my HD but it appears as if the capacity was 0 Kb but it has 500 Gb.
From the standpoint of ANY operating system, there's nothing to help you WITH. Either the controller your disk is attached to is dead, the drive is dead, or there's a bad cable. That's it. If NO operating system can pick up a drive, then it's a hardware problem.

You can test it by hooking the drive up to another computer. If the drive works THERE, then you know it's either the cable or controller on your system. If not, then it's the drive. Replace the bad parts. Linux can't 'fix' bad hardware, anymore than any other OS can.
 
Old 03-04-2013, 10:22 AM   #3
rajaba21
LQ Newbie
 
Registered: Mar 2013
Location: Brazil
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
From the standpoint of ANY operating system, there's nothing to help you WITH. Either the controller your disk is attached to is dead, the drive is dead, or there's a bad cable. That's it. If NO operating system can pick up a drive, then it's a hardware problem.

You can test it by hooking the drive up to another computer. If the drive works THERE, then you know it's either the cable or controller on your system. If not, then it's the drive. Replace the bad parts. Linux can't 'fix' bad hardware, anymore than any other OS can.
It's not bad cable neither a drive dead, I can see the drive, but it's look 0 kb with no partition.

Check the screenshot please.
http://es.zimagez.com/zimage/screens...4-13-24-38.php

Last edited by rajaba21; 03-04-2013 at 10:29 AM. Reason: Put a link for the error.
 
Old 03-04-2013, 11:56 AM   #4
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 477

Rep: Reputation: 100Reputation: 100
It seems that you have a deleted partition on that drive. Where did you get the 0KB size? On the picture its clear that the disk is 465.8 GB in size (which is consistent for a 500GB drive, formatted).

Is there some data that is supposed to be on the drive?
There is a tool named testdisk that works really well, i recovered deleted NTFS partitions (God knows how they got deleted) with it. The nice thing is that you can see the contents of the lost partition without writing anything on the target disk.

If you run Linux, just open a terminal and type:

Code:
fdisk -l
That will list all your drives.
 
1 members found this post helpful.
Old 03-04-2013, 12:39 PM   #5
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,772

Rep: Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346
Quote:
Originally Posted by rajaba21 View Post
It's not bad cable neither a drive dead, I can see the drive, but it's look 0 kb with no partition.

Check the screenshot please.
Ah..from your first post, you said the DRIVE wasn't recognized by any OS. If the drive doesn't show up, it's a hardware issue. In this case, the drive DOES show up, but there aren't partitions on it.

gradinaruvasile gave some great advice, if there was supposed to be data on it. Otherwise, it's blank...so, use the operating system of your choice, and create a partition.
 
Old 03-04-2013, 12:59 PM   #6
rajaba21
LQ Newbie
 
Registered: Mar 2013
Location: Brazil
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Ah..from your first post, you said the DRIVE wasn't recognized by any OS. If the drive doesn't show up, it's a hardware issue. In this case, the drive DOES show up, but there aren't partitions on it.

gradinaruvasile gave some great advice, if there was supposed to be data on it. Otherwise, it's blank...so, use the operating system of your choice, and create a partition.
That's the moment that all the magic happen, when I run the TestDisk I can "see" the drive, i select it for analyse, nothig show to me.

http://es.zimagez.com/miniature/2013-03-04155408.png
http://es.zimagez.com/miniature/scre...4155246685.jpg

And now, what I can do?
 
Old 03-04-2013, 04:19 PM   #7
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,772

Rep: Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346
Quote:
Originally Posted by rajaba21 View Post
That's the moment that all the magic happen, when I run the TestDisk I can "see" the drive, i select it for analyse, nothig show to me.

http://es.zimagez.com/miniature/2013-03-04155408.png
http://es.zimagez.com/miniature/scre...4155246685.jpg

And now, what I can do?
Again, no idea. The screen shots you posted are too tiny to read, and AGAIN, if the drive isn't recognized by ANYTHING, then chances are, the drive is bad. Could be a firmware issue, could be something else. You aren't posting any other details (has this drive ever had data on it? Was it partitioned before? What changed? Anything??), so we don't know if someone deleted a partition, you had a lightning strike, or any of the thousand other things it could be.

If it had a partition and it's gone now, use something to partition the drive and format it, then reload your data from backup. If it NEVER had a partition, then make one. If you can't do either of those things, then the drive is bad.
 
Old 03-04-2013, 07:51 PM   #8
rajaba21
LQ Newbie
 
Registered: Mar 2013
Location: Brazil
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Again, no idea. The screen shots you posted are too tiny to read, and AGAIN, if the drive isn't recognized by ANYTHING, then chances are, the drive is bad. Could be a firmware issue, could be something else. You aren't posting any other details (has this drive ever had data on it? Was it partitioned before? What changed? Anything??), so we don't know if someone deleted a partition, you had a lightning strike, or any of the thousand other things it could be.

If it had a partition and it's gone now, use something to partition the drive and format it, then reload your data from backup. If it NEVER had a partition, then make one. If you can't do either of those things, then the drive is bad.
Ok, let's go:
- Yes, this drive had a data on it;
- It was partitioned before but it was in use in a custom hardware;
- Since i took this HD from this custom device I can't "read" it;

This is new print screen:
http://imageshack.us/photo/my-images/692/86315231.png/
http://imageshack.us/photo/my-images/835/77978522.png/
http://imageshack.us/photo/my-images/818/43552508.png/
http://imageshack.us/photo/my-images/577/29105431.png/
http://imageshack.us/photo/my-images/819/72805825.png/
http://imageshack.us/photo/my-images...ntgparted.png/

Q: How can I flash a firmware?

Regards

Last edited by rajaba21; 03-04-2013 at 08:56 PM. Reason: Posting Print
 
Old 03-04-2013, 07:59 PM   #9
rajaba21
LQ Newbie
 
Registered: Mar 2013
Location: Brazil
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gradinaruvasile View Post
It seems that you have a deleted partition on that drive. Where did you get the 0KB size? On the picture its clear that the disk is 465.8 GB in size (which is consistent for a 500GB drive, formatted).

Is there some data that is supposed to be on the drive?
There is a tool named testdisk that works really well, i recovered deleted NTFS partitions (God knows how they got deleted) with it. The nice thing is that you can see the contents of the lost partition without writing anything on the target disk.

If you run Linux, just open a terminal and type:

Code:
fdisk -l
That will list all your drives.
When I type
Code:
fdisk -l
nothig happen, just a new line root@root:~#
 
Old 03-04-2013, 08:48 PM   #10
gradinaruvasile
Member
 
Registered: Apr 2010
Location: Cluj, Romania
Distribution: Debian Testing
Posts: 477

Rep: Reputation: 100Reputation: 100
Quote:
Originally Posted by rajaba21 View Post
Ok, let's go:
- Yes, this drive had a data on it;
- It was partitioned before but it was in use in a custom hardware;
- Since i took this HD from this custom device I can't "read" it;
Ok, what was this "custom device" ? Maybe it used some non-standard methods to format the drive.

If fdisk doesnt show a device, its really weird since testdisk is able to access it. What hardware do you have there (mobo or computer model)?
On the screenshots there were 2 drives connected, i wonder why Linux does not see any of them.
What Linux distro/version did you use?

Last edited by gradinaruvasile; 03-04-2013 at 08:59 PM.
 
Old 03-04-2013, 08:59 PM   #11
rajaba21
LQ Newbie
 
Registered: Mar 2013
Location: Brazil
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by gradinaruvasile View Post
Ok, what was this "custom device" ? Maybe it used some non-standard methods to format the drive.

If fdisk doesnt show a device, its really weird since testdisk is able to access it. What hardware do you have there (mobo or computer model)?
On the screenshots there were 2 drives connected, i wonder why Linux does not see any of them.
I have 2 HD's from this custom device;
I have 1 HD running from my Windows PC (please don't kill me) and another one running from my notebook by a live CD (i have a ubuntu, backtrack and big linux distro).

Do you want to connect in my computer by teamviewer to see?

Last edited by rajaba21; 03-04-2013 at 09:16 PM.
 
Old 03-05-2013, 10:54 AM   #12
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,772

Rep: Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346
Quote:
Originally Posted by rajaba21 View Post
Ok, let's go:
- Yes, this drive had a data on it;
- It was partitioned before but it was in use in a custom hardware;
- Since i took this HD from this custom device I can't "read" it;
When asking a question, it's helpful to provide the details, rather than have folks ask for them over and over. Did you look at the screen shots?? The second one you posted tells you there's an unknown type of partition there. Since you mention a 'custom' device (and give no details about it), then it's likely it's using some 'custom' disk layout that only it knows about. So, either find out what it's using, or put the disk back in the device, and copy the data off over the network or some other method.
Quote:
Q: How can I flash a firmware?
That depends on the firmware, and what you're trying to flash. Typically, wherever you download the firmware from will have instructions. Read and follow them.
 
Old 03-07-2013, 06:43 AM   #13
rajaba21
LQ Newbie
 
Registered: Mar 2013
Location: Brazil
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
When asking a question, it's helpful to provide the details, rather than have folks ask for them over and over. Did you look at the screen shots?? The second one you posted tells you there's an unknown type of partition there. Since you mention a 'custom' device (and give no details about it), then it's likely it's using some 'custom' disk layout that only it knows about. So, either find out what it's using, or put the disk back in the device, and copy the data off over the network or some other method.
This custom device is a Sagemcom decoder, have anyway to fix the partitions for use like an External HD? (In fact the device have unknown partition. I don't care about the data in it)

Quote:
That depends on the firmware, and what you're trying to flash. Typically, wherever you download the firmware from will have instructions. Read and follow them.
I will try to flash the new firmware because I think this way the HD back to new condition...

I try the code fdisk -l and the device isn't listed, just my 1st HD, but if I enter in the disk utility from Ubuntu I can see it with no Partition in it and 500Gb. If try to create a new partition it give me a I/O error.

Regards.
 
Old 03-07-2013, 09:18 AM   #14
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,772

Rep: Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346Reputation: 2346
Quote:
Originally Posted by rajaba21 View Post
This custom device is a Sagemcom decoder, have anyway to fix the partitions for use like an External HD? (In fact the device have unknown partition. I don't care about the data in it)
Yes, as has been said several times...just create a partition on it, format it, and away you go. Again, though, if NOTHING can see/partition the drive, then you may have a drive problem.
Quote:
I will try to flash the new firmware because I think this way the HD back to new condition...

I try the code fdisk -l and the device isn't listed, just my 1st HD, but if I enter in the disk utility from Ubuntu I can see it with no Partition in it and 500Gb. If try to create a new partition it give me a I/O error.
How are you trying to create the new partition? And how are you plugging in this drive? Directly to the controller, or are you using a USB enclosure? And again, have you tried plugging this back in to the sagemcom device, and erasing it from there?
 
Old 03-07-2013, 09:31 AM   #15
rajaba21
LQ Newbie
 
Registered: Mar 2013
Location: Brazil
Posts: 8

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by TB0ne View Post
Yes, as has been said several times...just create a partition on it, format it, and away you go. Again, though, if NOTHING can see/partition the drive, then you may have a drive problem.
And I said several times too, I had alredy do this, and nothig works, if I plug the HD back in the device it work just fine so I do'nt have a drive problem.

Quote:
How are you trying to create the new partition? And how are you plugging in this drive? Directly to the controller, or are you using a USB enclosure? And again, have you tried plugging this back in to the sagemcom device, and erasing it from there?
I'm trying trought gparted (doesn't list the drive) and fdisk (doesn't list the drive), in Windows I had tried replace the MBR info (error), EASEUS Partition Manager is the unique program that can list the drive, but show the error I/O.

When I plug in Sagemcom Device and format, then i put it back in my desktop just show me the samething.

If you want you can call me in Skype after 01:00am (Greenwich Time) and I share the screen with you and try all the ways again. I give to you all the access to my computer if you want.

I tried Delpart an didn't work too.

http://imageshack.us/photo/my-images...pturarxjg.png/

Regards,

Last edited by rajaba21; 03-12-2013 at 08:00 PM.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Please help icmp destination unknown port unknown gbwien Linux - Networking 39 09-02-2011 08:46 AM
Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0 migabriel.84 Linux - Server 1 11-25-2009 03:36 PM
Unknown Netbios Packets to Unknown Network fukawi2 Linux - Networking 2 09-17-2007 06:41 PM
unknown user twallstr Linux - General 4 05-17-2005 12:20 PM
ia64 unknown fabster01 Linux - Newbie 5 10-30-2003 03:56 AM


All times are GMT -5. The time now is 05:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration