Jump to content











Photo
- - - - -

d: partition not found


  • Please log in to reply
31 replies to this topic

#1 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 09 February 2012 - 12:51 PM

hiiii !!!!
my brother used a program called patition table doctor , i donno what he did with it exactly but now i cant find the drive D:/ (i have c:/ and d:/ each one has 130Gb) .. when i tryna show the partitions in my pc i get the c:/ and other partition with no name ("130Gb unallocated") .. my pc language is frensh so i hope i translated it well :))

#2 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 09 February 2012 - 08:47 PM

We need to see what is in the first sector of the disk. Can you post it?
You can either use a disk editor like WinHex - Tools - Open Disk - Physical Media and select disk HD0, or use RMPrepUSB ALT+F5, then Click Drive Info to read sector 0.
It may be there is a backup MBR somewhere, so post at least first 2 sectors (up to 400h if RMPrepUSB or 1024 bytes if using WinHex)

#3 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 03:23 PM

oh my God . i have ubuntu installed with windows , i used Gparted to view the partition in my pc . there were no c:/ nor d:/ so i said why not create a new partition table , n when i wanted to apply changes it said ERROR . later i tried to boot on win7 but all i had is a BLACK SCREEN :o
pleaaaaaaaaaaase dude what i gotta do ? i got important stuff in my pc :'((((

#4 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 03:26 PM

ps .... when i opened Gparted be4 findin out the deseppearence of win 7 is 300 Gb of unallocated memory !! would it help if i send u a snapshot ?

#5 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2012 - 03:31 PM

Can you just explain clearly what state the system is in now. What happens when you switch it on? What does it boot to? What do you see?

#6 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 03:35 PM

now am bootin on ubuntu via a flash drive , n if i deconnect it n boot , i just get the DELL icon n the F12 button on top (i have dell pc) then nothin happens , its stuck on a black screen

#7 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2012 - 03:47 PM

OK, so we need to see what is in the MBR on the disk - can you post first 2 sectors maybe?

#8 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 03:48 PM

please be patient with me , i dont know how to see the first two sectors !!

#9 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2012 - 03:50 PM

does gparted show any partitions?

#10 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 03:55 PM

on top of the Gparted there is this "/dev/sda(298Gb)"
then under it there is just 1 partition named "unallocated" size= 298Gb filesystem= unallocated and thats all , no flags , nothing else.. is it that bad ?? :(

#11 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2012 - 04:01 PM

Yep - it's bad! Looks like the MBR has been erased. I don't suppose you had a backup anywhere?
Can you boot from a Win 7 recovery DVD and run a command console - I am not familiar with Ubuntu linux commands for disk recovery (or maybe someone else could help).
My next stop would be to try to find a backup of the MBR under WinPE by booting from a Win 7 DVD or USB stick. This sometimes can be found in the first track of the hard disk. The last 2 bytes will end in 55 AA and there should be a partition table at 1BEh - at least one entry should have 80 at the start

01B0 00 00 00 00 00 00 00 00 - 60 4E DC 9B 00 00 80 01 ........ `NÜ›..€.
01C0 01 00 07 FE 3F E4 3F 00 - 00 00 66 22 38 00 00 00 ...þ?ä?. ..f"8...
01D0 01 E5 21 00 3F E5 A5 22 - 38 00 3F 00 00 00 00 00 .å!.?å¥" 8.?.....
01E0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 00 00 ........ ........
01F0 00 00 00 00 00 00 00 00 - 00 00 00 00 00 00 55 AA ........ ......Uª


#12 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 04:10 PM

i don't have the win 7 DVD with me now . my room-mate has it . i guess i will have to wait until he comes back . can't i do a repair with the win7 DVD ?

#13 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14945 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 10 February 2012 - 07:06 PM

I presume that you don't have access to *something* that can boot grub4dos, or have you a stick or can burn a cd on another computer?
With grub4dos the partition table (of first hard disk (hd0) - change accordingly to your situation) can be inspected with:
cat --hex --skip=432 --length=80 (hd0)+1

Under *any* Linux viewing the whole first sector (of device sda - change accordingly to your situation) should be possible with:
dd if=/dev/sda bs=512 count=1 | hexdump -C

Another possibility could be to run TESTDISK on the disk.
http://www.cgsecurit...g/wiki/TestDisk

Cannot say if UBUNTU has it.
You could get parted magic or the UBCD:
http://partedmagic.c...ku.php?id=start
http://www.ultimatebootcd.com/
which do have them.

Using TESTDISK is not particularly difficult, but you need anyway to be calm and spend a little time to read the tutorials.
If you have no idea of what a sector is, there might be a problem. :ph34r:

The general idea is the following:
the MBR is made essentially of TWO parts:
  • CODE (the part that you replaced by using bootsect on the other thread)
  • DATA

Data is divided in two parts (on NT systems):
  • Partition table data
  • Disk Signature

Right now we are interested in seeing just the partition table data, which is a set of 4 x 16 bytes each entries towards the end of the MBR.
These entries are nothing but "addresses" of the partitions, including their statuds (active 80 or non active 00) and type ID (like 07=NTFS, 83=EXT2/3, etc.)

IF these data is corrupted or missing partitions cannot simply be found.

TESTDISK is a program that will scan your hard disk looking for partitions and when it finds one, allow you to write the address in the partition table.

The disk signature is an additional piece of info that is ignored on DOS and Linux but that is needed by Windows NT to identify correctly the device when booting or accessing it, if this is missing, it needs to be recreated or corrected, but this might be - IF needed - a secondary step.

In any case, you should be very careful (and calm) as right now from what you write the issue is most probably easily solvable BUT you are going to use powerful and "low-level" tools, so make sure to have understood the advice or instructions fully, and exactly, and if you have any doubt ASK before doing something that may become much more difficult to fix.

:cheers:
Wonko

#14 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 08:46 PM

i typed the command dd if=/dev/sda bs=512 count=1 | hexdump -C n this is what i got :

00000000 fa b8 00 10 8e d0 bc 00 b0 b8 00 00 8e d8 8e c0 |................|
1+0 records in
1+0 records out
00000010 fb be 00 7c bf 00 06 b9 00 02 f3 a4 ea 21 06 00 |...|.........!..|
512 bytes (512 B) copied00000020 00 be be 07 38 04 75 0b 83 c6 10 81 fe fe 07 75 |....8.u........u|
00000030 f3 eb 16 b4 02 b0 01 bb 00 7c b2 80 8a 74 01 8b |.........|...t..|
, 0.000339568 s, 1.5 MB/s
00000040 4c 02 cd 13 ea 00 7c 00 00 eb fe 00 00 00 00 00 |L.....|.........|
00000050 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001b0 00 00 00 00 00 00 00 00 30 66 02 00 00 00 00 00 |........0f......|
000001c0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
000001f0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 55 aa |..............U.|
00000200


can i use the TeskDisk to recover my lost files in d:/ ??

#15 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2012 - 09:01 PM

sometimes there is a backup in sector 1 - can you post the result of


dd if=/dev/sda bs=512 count=1 skip=1 | hexdump -C

#16 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 09:04 PM

00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
1+0 records in
1+0 records out
00000200
512 bytes (512 B) copied, 0.000349695 s, 1.5 MB/s

#17 steve6375

steve6375

    Platinum Member

  • Developer
  • 7034 posts
  • Location:UK
  • Interests:computers, programming (masm,vb6,C,vbs), photography,TV,films,guitars, www.easy2boot.com
  •  
    United Kingdom

Posted 10 February 2012 - 09:06 PM

no backup! Looks like a job for TESTDISK. Can you try testdisk (but don't allow it to write or make changes) - just report what it says.

#18 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14945 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 10 February 2012 - 09:06 PM

We need the full content of lines that begin wih:
000001b0
000001c0
000001d0
000001e0
000001f0
Though from the three lines you posted looks a lot like a wiped :ph34r: partition table.
The point right now is not to recover your files from D:.
The priorities are (hopefully) to revive BOTH C: and D: partitions.
This is what TESTDISK will attempt to do.
Since presumably the disk was partitioned under 7, you need ot go in Options and set Cylinder Boundary No Allows partial last Cylinder Yes
http://www.cgsecurit...ki/Menu_Options
and answer yes when Testdisk will ask you to seach for partitions created under Vista.
Try following this example:
http://www.cgsecurit...sk_Step_By_Step

Ask if you have doubts BEFORE writing to the disk.

:cheers:
Wonko

#19 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 09:11 PM

testdisk is not available for ubuntu . all i found is linux and windows and mac os . what should i do ?

#20 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14945 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 10 February 2012 - 09:26 PM

testdisk is not available for ubuntu . all i found is linux and windows and mac os . what should i do ?

Ubuntu IS Linux.

The question was if is included in the Ubuntu you are running or not.

READ:

Cannot say if UBUNTU has it.
You could get parted magic or the UBCD:
http://partedmagic.c...ku.php?id=start
http://www.ultimatebootcd.com/
which do have them.


:cheers:
Wonko

#21 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 09:50 PM

cooooool . i got testdisk , i run it n this is what i got when i started it
TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org


TestDisk is a free data recovery software designed to help recover lost
partitions and/or make non-booting disks bootable again when these symptoms
are caused by faulty software, certain types of viruses or human error.
It can also be used to repair some filesystem errors.

Information gathered during TestDisk use can be recorded for later
review. If you choose to create the text file, testdisk.log , it
will contain TestDisk options, technical information and various
outputs; including any folder/file names TestDisk was used to find and
list onscreen.

Use arrow keys to select, then press Enter key:
[ Create ] Create a new log file
[ Append ] Append information to log file
[ No Log ] Don't record anything



what should i do now ?
i want to do the procedure step by step unless am going to do something stoupid as usual .

#22 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 09:59 PM

i clicked on create and this is what i got :
TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

TestDisk is free software, and
comes with ABSOLUTELY NO WARRANTY.

Select a media (use Arrow keys, then press Enter):
Disk /dev/sda - 320 GB / 298 GiB - ATA SAMSUNG HM321HI
Disk /dev/sdb - 4009 MB / 3824 MiB - USB FLASH DRIVE


[Proceed ] [ Quit ]

Note: Disk capacity must be correctly detected for a successful recovery.
If a disk listed above has incorrect size, check HD jumper settings, BIOS
detection, and install the latest OS patches and disk drivers.

#23 Wonko the Sane

Wonko the Sane

    The Finder

  • Advanced user
  • 14945 posts
  • Location:The Outside of the Asylum (gate is closed)
  •  
    Italy

Posted 10 February 2012 - 10:00 PM

Since presumably the disk was partitioned under 7, you need ot go in Options and set Cylinder Boundary No Allows partial last Cylinder Yes
http://www.cgsecurit...ki/Menu_Options
and answer yes when Testdisk will ask you to seach for partitions created under Vista.
Try following this example:
http://www.cgsecurit...sk_Step_By_Step

Ask if you have doubts BEFORE writing to the disk.


Guess WHY it was suggested to you (and WHY it is called "TestDisk_Step_By_Step")?

:cheers:
Wonko

#24 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 10:05 PM

hhhhhh yes i know , but with u experts guiding me , i be more relaxed :)

#25 shady_alaa

shady_alaa

    Newbie

  • Members
  • 26 posts
  •  
    Tunisia

Posted 10 February 2012 - 10:22 PM

i got this warning while analysing
TestDisk 6.11, Data Recovery Utility, April 2009
Christophe GRENIER <grenier@cgsecurity.org>
http://www.cgsecurity.org

Disk /dev/sda - 320 GB / 298 GiB - CHS 38914 255 63

Warning: the current number of heads per cylinder is 255
but the correct value may be 128.
You can use the Geometry menu to change this value.
It's something to try if
- some partitions are not found by TestDisk
- or the partition table can not be written because partitions overlaps.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users