LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-13-2013, 04:56 AM   #1
thallium
Member
 
Registered: Oct 2012
Location: Austin, TX
Distribution: Ubuntu Server 12.04
Posts: 33

Rep: Reputation: Disabled
May have lost all HD data, ee GPT/GUID?!?!


Awhile back I was starting up a server and trying to copy an IDE drive over to a SCSI. I was successful, but then the scsi crashed, unrecoverably. I got a SATA, installed ubuntu and attempted to remount that old IDE, now it won't mount, says it is "ee GPT". I took the IDE drive out and put it in an enclosure to check it out on my win7 machine. Again, Win7 detects it, but does not give it a drive letter, also says there is nothing on the drive (I went to My computer -> Manage -> Storage) I have options to convert to MBR or Dyanmic.

Is there anyway to get the data off this thing?! This is a disaster, I was trying to backup this stuff! Was the partition overwritten or was the table corrupted?
 
Old 02-13-2013, 05:19 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
At first, try to restore the partition table using Testdisk. It may be possible that Testdisk is even able to mount the disk.
If that doesn't work you can try to use Photorec (part of the Testdisk package) to recover files.
 
1 members found this post helpful.
Old 02-13-2013, 05:27 AM   #3
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
Is there anyway to get the data off this thing?! This is a disaster, I was trying to backup this stuff! Was the partition overwritten or was the table corrupted?
Yes there may be a way...but in your case, it's a loooooong shot

- get a live CD (for this challenge, I always use Knoppix)
- bolt the drive in a box, any ol' box
- boot that box up with Knoppix (pop the CD in the drive and...hey, you know this...)
- in the menu (several items) choose "shell"
- enter "su -" to get into root mode
- enter "fdisk -l" and cross your fingers
- if you get the disk in the list, it'll possibly be listed as /dev/sda , among other drive-like stuff (diskdrives, sticks, DVDroms...)
- try this "mount /dev/sda /media"
- and then "cd /media"
- hit ls to look if there's someone home...

you mau need to mount a stick in the system as well to act as a receiving medium...of course

If you've got success, and the stick is mounted, fire up Midnight Compmander (enter mc to do that) and shuttle stuff over to the stick

Good luck, and I mean that...

Thor
 
Old 02-13-2013, 06:03 AM   #4
thallium
Member
 
Registered: Oct 2012
Location: Austin, TX
Distribution: Ubuntu Server 12.04
Posts: 33

Original Poster
Rep: Reputation: Disabled
Testdisk!

The testdisk worked beautifully. Just turned out my partition table had been overwritten in someway. I just rewrote the partition table and restarted the drive (on/off). Win7 recognized it, I stuck in my ubuntu server and it recognized it right off, mounted like it was supposed to (ntfs-3g!).

Thanks so much!
 
Old 02-13-2013, 06:35 AM   #5
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Nice that it worked for you. Please mark the thread as solved using the thread tools at the top of the thread.
 
  


Reply



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
Cannot copy GPT partition data on Linux Mint 12 KDE to Kubuntu formatted MBR larryalk Linux - Newbie 2 06-19-2012 09:41 PM
Change from GPT to MBR partiotion schema (without losing data) juanjillo Linux - Server 1 04-04-2012 08:37 AM
[SOLVED] Slackware 13.37 - gdisk choices, MBR, GPT or Blank GPT CFet Slackware - Installation 3 04-01-2011 04:46 PM
Huge piles of disk with LVM and/or RAID - GPT/GUID?? petcherd Slackware 2 12-18-2007 04:50 PM
Howto recover lost and formatted data on lost partitions. Sören Schneider LinuxQuestions.org Member Success Stories 2 04-05-2006 06:38 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:58 AM.

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