LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 08-19-2010, 10:43 AM   #1
hector3rd
Member
 
Registered: Jul 2007
Location: Aruba
Distribution: Debian, Ubuntu, Fedora, Knoppix, etc...
Posts: 38
Blog Entries: 1

Rep: Reputation: 16
Unhappy Error: /dev/sda: unrecognised disk label. >>Want to rescue data, but cannot mount it.


Hi, how you doing?

Ok, here is the deal:
Got a laptop here from a client, he says hd is kaput!!

I boot with Live Ubuntu CD.
Run the command parted, which gives: Using /dev/sda.
But, when I ask for partitions with command "print", it comes back and says, "Error: /dev/sda: unrecognised disk label"
Trying to "check 1" , i.e. check the first partition takes forever..., but finally comes back with the same error, unrecognised disk label.....

Gparted scans for devices and cannot locate any.

I tried to mount /dev/sda1 on /mnt/windows, nada.
It says: "mount: special device /dev/sda1 does not exist."
If I can only mount it, then I can run dd for a rawimage, and scalpel or foremost the image and recover the files.

Does anyone have suggestions on how to proceed?

Sincerely,

Hector3rd

Last edited by hector3rd; 08-19-2010 at 10:45 AM.
 
Old 08-19-2010, 11:05 AM   #2
amani
Senior Member
 
Registered: Jul 2006
Location: Kolkata, India
Distribution: Debian 64-bit GNU/Linux, Kubuntu64, Fedora QA, Slackware,
Posts: 2,766

Rep: Reputation: Disabled
use parted magic/system rescue cd

testdisk
 
Old 08-19-2010, 11:59 AM   #3
hector3rd
Member
 
Registered: Jul 2007
Location: Aruba
Distribution: Debian, Ubuntu, Fedora, Knoppix, etc...
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Quote:
Originally Posted by amani View Post
use parted magic/system rescue cd

testdisk
Ok, I booted with the systemrescue cd, but in the console I keep getting output that the SCSI dev, blablabla, how do I turn OFF this or send it to /dev/zero?????
Every console I go to, it bothers me.

Thanks!!

Hector3rd

Last edited by hector3rd; 08-19-2010 at 12:01 PM.
 
Old 08-19-2010, 12:15 PM   #4
hector3rd
Member
 
Registered: Jul 2007
Location: Aruba
Distribution: Debian, Ubuntu, Fedora, Knoppix, etc...
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Quote:
Originally Posted by hector3rd View Post
Ok, I booted with the systemrescue cd, but in the console I keep getting output that the SCSI dev, blablabla, how do I turn OFF this or send it to /dev/zero?????
Every console I go to, it bothers me.

Thanks!!

Hector3rd
Issue the "reset" command in the console, now I am running testdisk anlyse disk, and it says /dev/hda - 121MB, no partitions, and that the partition sector does not have the "ENDMARK 0xAA55"
When I press on proceed, it returns with a "Structure: Ok."
I cannot load the partition from backup, there isn't any.
I don't want to add a partition, because that will erase data I guess.

When I execute "testdisk /list" it gives the same result above, no endmark....

Suggestions??


Thanks.

Hector
 
Old 08-19-2010, 03:03 PM   #5
10110111
Member
 
Registered: Jun 2008
Location: St.-Petersburg, Russia
Distribution: (B)LFS, Ubuntu, SliTaz
Posts: 403

Rep: Reputation: 51
First, before you do anything with your HDD, make a backup copy of it. e.g., insert another HDD of greater size and do something like this:
Code:
dd if=/dev/sda of=/path/to/new/backup.img bs=16M
where /dev/sda is your faulty drive, path after of= is the path where you want to place backup. bs=16M makes dd copy data in blocks of 16MiB to increase speed.

Only after having a backup copy you should proceed in trying to rescue data.

Quote:
If I can only mount it, then I can run dd for a rawimage, and scalpel or foremost the image and recover the files.
You don't have to mount a drive to make a raw image of it.

Last edited by 10110111; 08-19-2010 at 03:04 PM.
 
Old 08-19-2010, 04:57 PM   #6
RockDoctor
Senior Member
 
Registered: Nov 2003
Location: Minnesota, US
Distribution: Fedora, Ubuntu, Manjaro
Posts: 1,791

Rep: Reputation: 427Reputation: 427Reputation: 427Reputation: 427Reputation: 427
Once you've created the image as suggested by 183 above, is it mountable with QEMU?
 
Old 08-20-2010, 01:26 PM   #7
hector3rd
Member
 
Registered: Jul 2007
Location: Aruba
Distribution: Debian, Ubuntu, Fedora, Knoppix, etc...
Posts: 38

Original Poster
Blog Entries: 1

Rep: Reputation: 16
Probably, almost 99.99% solved, unless....

Quote:
Originally Posted by 10110111 View Post
First, before you do anything with your HDD, make a backup copy of it. e.g., insert another HDD of greater size and do something like this:
Code:
dd if=/dev/sda of=/path/to/new/backup.img bs=16M
where /dev/sda is your faulty drive, path after of= is the path where you want to place backup. bs=16M makes dd copy data in blocks of 16MiB to increase speed.

Only after having a backup copy you should proceed in trying to rescue data.


You don't have to mount a drive to make a raw image of it.
Yes, its true, I'm sorry, you DON'T have to mount to do a dd for a rawimage.

I did try to use the "dd" command, but its says no such file or directory. I think the hard disk is gone.

Unless there is something else that I can try....

In any case, thank you so much for your help, corrections, and suggestions.

As always, thanks a bunch!!!


Sincerely,

Hector3rd
 
  


Reply

Tags
disk, error, label, parted, unrecognized



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] /dev/disk/by-label DISAPPEARED! Can't mount USB flash drive ShellyCat Linux - Desktop 5 11-16-2010 11:30 PM
clone hard disk with: cat /dev/sda >/media/disk/backup deathalele Linux - Security 3 04-17-2009 12:29 AM
[SOLVED] system disk moves from /dev/sda to /dev/sdm gdevaucorbeil Linux - Hardware 4 03-10-2007 09:30 AM
when i mount my USB Flash Drive A Messenge has come that mount: can't find /dev/sda/h feda82 Red Hat 2 12-24-2005 02:15 AM
Can I go from /dev/sda to /dev/rd w/o data loss? RPaulW Linux - Hardware 1 10-10-2005 10:39 AM

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

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