Page 3 of 3 FirstFirst 123
Results 21 to 25 of 25

Thread: Help! Nedd to recover files

  1. #21
    Senior Member registered user
    Join Date
    Jan 2007
    Posts
    104
    PC partitions can be set up in 2 different ways.

    1) As a primary partition, or a "Real" partition. You can only have 4 primary partitions on a hard drive
    2) As an "extended" or "logical" partition. This is basically a partition inside a "Real" partition. You can have MANY logical partitions.. more than a dozen. But all of these extended partitions are stored inside a "Real" partition.

    In Linux, primary partitions are identified by /dev/devicenameX , where X = 1 through 4
    The extended partition names begin at X = 5

    So my guess is that your Disk director created partition table looks like this:

    sda1 (Primary, FAT/FAT32)
    sda2 (Primary, NTFS most likely your "C:" drive)
    sda3 (placeholder for extended partition, not a "Real" partition)
    and inside sda3:

    sda5 (Extended, NTFS, most likely your "E:" drive)

    I would not trust the gpart generated information because it looks incorrect. For some reason it saw your "E:" drive as a primary partition and not an extended one. This explains the gap in the last sector of partition #2 and the first sector of partition #3

    Chances are that your "Disk Director" has already fixed your partition table correctly, but if you wish to use a different program to try and recover your partition table, I would try "TESTDISK" and not gpart.

    Ironically, you can get a version of TESTDISK from the bootable "Gparted" livecd. Just Right-Click on an empty part of the desktop and then choose TESTDISK from the menu. Another option is to burn a copy of the ULTIMATE BOOT CD. I am pretty sure that it contains TESTDISK.

    But I would not use gpart to WRITE out a new partition table because the information looks inconsistent to me.

    Good Luck.

  2. #22
    Junior Member
    Join Date
    Jul 2007
    Posts
    4
    What is the best way to check the data that Disk Director has already written to the partition table? Basically I want to check that the partition data in the partition table isn't screwy already (like the stuff that gpart was suggesting), in case that is messing up my file system.

    You are right about the extended partition. That is how it is laid out. Thanks for giving me the info on the numbering system, it makes much more sense now.

    Thanks for taking the time to reply, I'm learning heaps here!

    Mike

  3. #23
    Junior Member
    Join Date
    Jul 2007
    Posts
    4
    If I was to try to write another new partition table, would it ignore the existing one, and look for the possible partition start and end points itself, or would it see the existing partition table and just use that?

    I had no joy getting Testdisk to work. Via Knoppix it said the libntfs.so.9 (or something like that) wasn't found. I had it on another bootcd, but it wouldn't run there either.

    Am trying DiskPatch v2.1.1 it has listed a whole load of potential partitions, but it is difficult to figure out which 2 of the bottom 6 are the correct ones....

    SEQ TYPE START--- (GB) LENGTH---(GB) END-----(GB) PRI RAT
    01 FAT32 63 (0) 9221247 (4.4) 9221309 (4.4) PRI #
    02 NTFS 9221310 (4.4) 165019680 (78.69) 174240989 (83.08) PRI -
    03 NTFS 9221310 (4.4) 165019673 (78.69) 174240982 (83.08) PRI +
    04 NTFS 9221317 (4.4) 165019673 (78.69) 174240989 (83.08) PRI +
    05 NTFS 174241053 (83.08) 145918332 (69.58) 320159384 (152.66) LOG -
    06 NTFS 174241053 (83.08) 145918332 (69.58) 320159381 (152.66) LOG +
    07 NTFS 174241056 (83.08) 145918329 (69.58) 320159384 (152.66) LOG +

    Obviously the 63 figure in the gpart readout means something (is it the partition ending on a sector boundary?). Is there an easy way that I can use a calculator to get an equivalent reading from the above data? Am I just adding 1, then dividing the numbers by 64 to see if I get no remainder?

    What is the best way to get that data off the current set of partition in the recovered partition table that Disk Director gave me?

    I would rather use TestDisk on Knoppix though, if someone can tell me how to overcome the lib error. I am using Knoppix 5.1.1 DVD version.

    Thanks

  4. #24
    Administrator Site Admin-
    Join Date
    Apr 2003
    Location
    USA
    Posts
    5,441
    Quote Originally Posted by xpcomputers
    If I was to try to write another new partition table, would it ignore the existing one, and look for the possible partition start and end points itself, or would it see the existing partition table and just use that?....
    The partition table is a fixed size and position, always the last part of sector 0 track 0 cylinder 0 of the hard disk. So if you write a new partition table, the old one is no longer there. The is no chance for any doubt if the old one will be used; it's gone.
    ---
    Verifying of md5 checksum and burning a CD at slow speed are important.

  5. #25
    Junior Member
    Join Date
    Jul 2007
    Posts
    4
    Quote Originally Posted by Harry Kuhman
    Quote Originally Posted by xpcomputers
    If I was to try to write another new partition table, would it ignore the existing one, and look for the possible partition start and end points itself, or would it see the existing partition table and just use that?....
    The partition table is a fixed size and position, always the last part of sector 0 track 0 cylinder 0 of the hard disk. So if you write a new partition table, the old one is no longer there. The is no chance for any doubt if the old one will be used; it's gone.
    Thanks Harry,

    I actually meant, does the scan search the partition starts/ends or will it just use the partition table if it exists. You actually indirectly answered me, as it can't write a new one if it hasn't created something different! So it must scan for partition start/ends and writing this info to a new partition table, which obviously will obliterate the old one.

    Mike

Page 3 of 3 FirstFirst 123

Similar Threads

  1. trying to recover my files using knoppix ....
    By fogsy in forum MS Windows & New to Linux
    Replies: 3
    Last Post: 10-22-2009, 09:24 PM
  2. Files are set to 0KB. Is there a way to recover
    By Bachatero in forum MS Windows & New to Linux
    Replies: 0
    Last Post: 02-14-2008, 10:27 PM
  3. Help me recover files
    By Plala in forum MS Windows & New to Linux
    Replies: 6
    Last Post: 06-11-2007, 06:15 PM
  4. Recover Files from NTFS
    By stevelw in forum Laptops
    Replies: 16
    Last Post: 07-16-2005, 04:57 PM
  5. Recover deleted files
    By scrat in forum MS Windows & New to Linux
    Replies: 1
    Last Post: 08-06-2004, 04:24 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver picture

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver

$1500.00



Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch picture

Cisco WS-C3650-12X48UR-L 48-Port Stackable Layer 3 8x10G SFP+ Port Switch

$129.99



Cisco 8-Port Ethernet Catalyst Switch - WS-C2960C-8TC-L - Brand New picture

Cisco 8-Port Ethernet Catalyst Switch - WS-C2960C-8TC-L - Brand New

$50.00



Cisco C9300NM8X Network Switch Module picture

Cisco C9300NM8X Network Switch Module

$649.99



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



CISCO Services Router C891F-K9, Grade B,  SKU 16188 picture

CISCO Services Router C891F-K9, Grade B, SKU 16188

$24.94



Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch picture

Cisco Nexus N9K-C92160YC-X 48P 25GbE SFP28 6P QSFP+/QSFP28 PE Switch

$439.00



Cisco C9300-48UXM-A Switch 9300 Series 48-port UPoE Network picture

Cisco C9300-48UXM-A Switch 9300 Series 48-port UPoE Network

$874.99



Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch picture

Cisco Catalyst WS-C2960+24TC-S 24-Port Gigabit Managed SFP Switch

$39.99



CISCO ISR4331/K9 V04 Integrated Services Router -Sealed Box picture

CISCO ISR4331/K9 V04 Integrated Services Router -Sealed Box

$332.49