LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-28-2013, 02:04 PM   #1
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 20.04
Posts: 383

Rep: Reputation: 30
TestDisk finds partition during scan that's not listed in the results


I have a HD that had a EXT3 partition on it but something happened (not sure what) that must have overwritten the partition table. I don't think the data's been overwritten and when I run a TestDisk (6.14) it finds the missing partition straight away and it keeps getting listed out during the scan. But when the scan completes the only entry is for a 100MB Windows utility partition.

Why's it doing this? How can I get it to allow me to work with the Linux partition it found?
 
Old 11-29-2013, 02:31 AM   #2
hal8000b
Member
 
Registered: Mar 2001
Location: UK
Distribution: Mint, Arch, Debian7
Posts: 194

Rep: Reputation: 23
I would start by posting the geometry and partition table of the hard drive.
Include the output of these commands:


sudo sfdisk -g /dev/sda (change sda to correct drive)

sudo sfdisk -lu /dev/sda

I always print a paper copy of my hard drives partition
table including start and end sectors, very quick and
easy to repartition if anything bad happens.
 
Old 11-29-2013, 04:57 AM   #3
Mark_667
Member
 
Registered: Aug 2005
Location: Manchester, England
Distribution: Ubuntu 20.04
Posts: 383

Original Poster
Rep: Reputation: 30
I got the following, not sure where to go from here.
Quote:
$ sudo sfdisk -g /dev/sdb
/dev/sdb: 60801 cylinders, 255 heads, 63 sectors/track
$
$ sudo sfdisk -lu /dev/sdb
unrecognised format - using sectors

Disk /dev/sda: 30401 cylinders, 255 heads, 63 sectors/track
<snip>
Disk /dev/sdb: 60801 cylinders, 255 heads, 63 sectors/track
Warning: The partition table looks like it was made
for C/H/S=*/224/19 (instead of 60801/255/63).
For this listing I'll assume that geometry.
Units = sectors of 512 bytes, counting from 0

Device Boot Start End #sectors Id System
/dev/sdb1 * 2048 206847 204800 7 HPFS/NTFS/exFAT
start: (c,h,s) expected (0,107,16) found (0,32,33)
end: (c,h,s) expected (48,134,14) found (12,223,19)
/dev/sdb2 0 - 0 0 Empty
/dev/sdb3 0 - 0 0 Empty
/dev/sdb4 0 - 0 0 Empty

<snip>
$
 
Old 11-29-2013, 02:52 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,981

Rep: Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625Reputation: 3625
Test disk can't fix or find all issues. At one time the best tool was Ranish. It may still be possible to use it.

You may try moving the drive to another computer. Voltage and data connections from system may be at fault.
 
  


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
Testdisk finds single OnTrack DM DDO partition on Disk. cov Linux - Hardware 10 12-21-2012 11:00 AM
iwlist scan - no scan results compu73rg33k Linux - Wireless Networking 6 05-29-2009 02:37 AM
Nmap scan results shivanrathore Linux - Security 2 10-21-2008 07:23 AM
Listed partition in cfdisk, but not listed in /dev? Erik_the_Red Linux - Newbie 7 08-05-2005 11:44 PM
nmap scan results juanb Linux - Security 5 11-16-2004 02:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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