Go Back   TechArena Community > Technical Support > Computer Help > Microsoft Windows Security > Windows Security
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read SiteMap

Tags: , , , ,

deleted mbr,boot sector

Windows Security


Reply
 
Thread Tools Search this Thread
  #1  
Old 22-05-2009
poster
 
Posts: n/a
deleted mbr,boot sector

so the primary HDD FAT partition cannot be found(appears unallocated)
any more
(lost &found recovery software used to copy the files,said: master
partition and boot sectors deleted)
Rebuilt MBR and partition table in Partition table doctor software but
still same (actually now it reports first partition free)
Active partition recovery,Norton Disc doctor- no help so undid their
changes
Any ideas please?


Reply With Quote
  #2  
Old 22-05-2009
poster
 
Posts: n/a
deleted mbr,boot sector

so the primary HDD FAT partition cannot be found(appears unallocated)
any more
(lost &found recovery software used to copy the files,said: master
partition and boot sectors deleted)
Rebuilt MBR and partition table in Partition table doctor software but
still same (actually now it reports first partition free)
Active partition recovery,Norton Disc doctor- no help so undid their
changes
Any ideas please?
free SPFdisk 2000 has also a rebuild MBR function..


Reply With Quote
  #3  
Old 22-05-2009
1PW
 
Posts: n/a
Re: deleted mbr,boot sector

Hello:

This reads like you have some experience. It also reads like you're
about a half-step from salvaging what you can from that HDD and
starting from the beginning.

Good luck to you.

Pete

Reply With Quote
  #4  
Old 23-05-2009
Pennywise@DerryMaine.Gov
 
Posts: n/a
Norton Disc Dr. never did me any good.

Use Norton DiskEdit.exe, use it to exchange the FATS.

If you didn't know, there are two fat tables, If first goes bad you
can replace it with the second. Norton diskedit has an option to do
just that.

As mentioned by another poster, see if the recovery software has an option
to restore directories. Directories in FAT and FAT32 partitions are stored
in a fashion similar to files and sometimes can be recovered intact, even if
the root directory entry is missing.

Partition size times 2 is correct for binary kilobytes.
For binary megabytes use size times 2048 and
binary gigabytes would be size times 2097152
If the size is in decimal, just convert to bytes and
divide by 512.

Reply With Quote
  #5  
Old 23-05-2009
chuckcar
 
Posts: n/a
Have you looked at the directory sectors to see if there's anything there?
If not, you're scrawed.no dirs -disk cannot be found in win/dos(however primary partition is unallocated and secondray is there, files on both as well)
I guess I should have gone for -rebuild Partition table after
rebuilding MBR in PTD

it is- however it assigned c: to what was previously d:
(but it is an idea make that one bootable install win in it and use
some more powerful win based software(instead of the one from bootable
cd)to recover the previous c:

Sorry, I'm too lazy to read the whole thread and I don't know
that much about boot sectors, but if you need to recover
partitions and directories which seem to have disappeared,
testdisk is amazing. Google.

Reply With Quote
  #6  
Old 25-05-2009
poster
 
Posts: n/a
Re: deleted mbr,boot sector

No none of sotwares restore dirs although they find them because fat
is probably ok
After rebuilding partition table in PTD software I got first still
unallocated but now the second partition became visible in dos
however it is marked with c: which is wrong!
I cant create again the first partition because that will destroy its
data so I need to just put a 100% correct entry for it in the
partition table + maybe boot sector code( mbr code should be there
because I did MBR repair) -how do you do that in Disk editor or can
one try SPFdisk 2000/MBR repair?

Reply With Quote
  #7  
Old 26-05-2009
Ben Myers
 
Posts: n/a
Re: deleted mbr,boot sector

If directories are being found, the right software might be able to
restore them.

Try using Fdisk to make sure the first partition is set to "Active".
If it isn't, change it.

If DOS is assigning a drive letter to the partition, you might try using "sys.com"
to restore the boot sector, for example "sys d:".

Reply With Quote
  #8  
Old 27-05-2009
Ben Myers
 
Posts: n/a
Actually, I was suggesting using "sys" on the first partition. All FAT and
FAT32 partitions, even non-boot ones, need a boot sector. A corrupt or
missing boot sector will make the partition inaccessable to DOS or
Windows. Sys.com should install a fresh copy of the boot sector, complete
with the data needed to access the files and folders, if they are still
available. Don't forget to use fdisk to make sure the boot partition is set
to "Active".

If memory servers NDD (Norton Disk Doctor- you should probably have
this is if you have the editor) can fix this for you. Hopefully now
the lesson is learned to back up the sector before you mess with it.

played with numbers a bit in nde and voila partition data showed up
now how do you go about copying it to another place- when you edit/
mark the folder it copies just the list of files in it?(NortonDisk
Editor clipboard is only 4KB)

Reply With Quote
  #9  
Old 02-06-2009
poster
 
Posts: n/a
Re: deleted mbr,boot sector

as mentioned deleted mbr and part table
on hdd with part1-fat32 and partition2-fat16

so part1 not visible in dos any more

To make it visible and bootable using Norton Disk editor,confirm
please?

-need to input first entry in part table of the physical hard disk
with start/end head.sector.cyl and partition1 size which should
be=size_in_KB*2 ,

(counting in some reserved sectors is not necessary even though
part1 is primary)

-need to input appropriate info in boot sector of part1(sector 0 only):
8 sect per cluster, file sys id=Bh...

-need to refresh mbr and boot sector code for part1

Reply With Quote
  #10  
Old 02-06-2009
poster
 
Posts: n/a
Re: deleted mbr,boot sector

ndd usually makes more damage than good
update:

did said but for physical hdd advanced recovery when input- start
side.sector.cyl=1.0.1 and end s.s.c=part2start-1 ,with sectors/
cluster=32 you get fat32 as it should be but then virtual disk button
does not display data but message-inconsistent sec/cluster given 16
derived 8, however when you change the value to 8 still no
data.Inputting sec/cluster=64 gives fat16but then virtual button takes
you to sector 263 with no data in it.Perhaps Boot sector info and
partition table need to be repaired before using advaced recovery and
disk virtualisation??

(however backup boot record in sector 6 is gone as well)

Reply With Quote
  #11  
Old 03-06-2009
Maxim S. Shatskih
 
Posts: n/a
I would scan the whole disk using some tool (dd+grep in Linux or such) to find some signature of the boot sector - "FAT" or "NTFS" or "MSDOS" (forgot what one is actually used).

Then look at the found sector in NDD to determine whether this is a valid boot sector. Then you know the position of the boot sector (volume start) and volume size, and you can create the MBR entry manually based on this data.

CHS values in MBR entries are _not_ used by modern OSes - Windows and Linux at least - since early 2000ies at least. They are properly written by the partitioning tools though, and are used by MS DOS.

See if this is helpful.

http://support.microsoft.com/kb/192322

See if the software you are using has an option to search for boot sectors,
since it's possible that the partition starts at a non-standard address.

Reply With Quote
  #12  
Old 06-06-2009
Ben Myers
 
Posts: n/a
If you are referring to a Norton Disk Editor feature, you probably should
start a new thread or post in a Norton forum.

http://community.norton.com/norton/board?board.id=other

If not, I suggest you back up the existing partition table, then write the
new data to it, restart the computer and see if you have access to the
missing files and folders.

ok but
does anyone know how does norton d.e. access files with advanced
recoverz mode-is it using fat tables?Also confirm please-boot sector
info that needs to be input in sector 63 is for the first partition
and not for the hard disk as a whole

No - but cgsecurity.org might be of some help.

Reply With Quote
  #13  
Old 17-06-2009
Pennywise@DerryMaine.Gov
 
Posts: n/a
Re: deleted mbr,boot sector

I'm very fimilar with Norton Disk Edit, it defaults to read only you
have to turn editing on (it's a safety feature).

Your boot sector or MBR is on the first sector of the hard drive and
holds all of your partition information not just the first one.

Haven't followed the entire thread, but play around with Disk Edit,
you can't do any harm, until you change it's config to allow edits.
It's how I learned how to use it. - I recovered one of my hard drives
with it a long time ago and swear by it now - but it took a lot of
playing around to find the problem.

Reply With Quote
  #14  
Old 17-06-2009
Jurjen Oskam
 
Posts: n/a
Re: deleted mbr,boot sector

The MBR doesn't hold all of the partition information. There's only room
for four partition table entries in the MBR. To be able to create more
partitions, a partition table entry in the main MBR can be set to type
"Extended" and point to a section of the disk where *another* MBR is
located. That other MBR has one partition table entry describing a
partition (called an "extended partition" by the OS) and optionally
another partition table entry of type "Extended" pointing to yet
another MBR, and so on.

In short: almost all information about any extended partitions *isn't*
stored in the main MBR.

Reply With Quote
  #15  
Old 18-06-2009
Pennywise@DerryMaine.Gov
 
Posts: n/a
Re: deleted mbr,boot sector

Wow, news to me, never heard of the EBR before, but in my defense it's
still located on the first sector :)
http://en.wikipedia.org/wiki/Extended_boot_record
(good info at this link)

As for recovering my hard drive I should mention that I had run
DISKMAP.EXE from the NT resource kit, something I do just in case.

So I had the numbers to rebuild my partitions (extended as well), The
OP is going to have a bit more math to do than I did, Disk Edit will
help on this but it's a rough ride.

Reply With Quote
Reply

  TechArena Community > Technical Support > Computer Help > Microsoft Windows Security > Windows Security


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads for: "deleted mbr,boot sector"
Thread Thread Starter Forum Replies Last Post
Possible boot sector virus - Please Help Mortartube Hardware Peripherals 1 11-07-2009 08:41 AM
Boot sector virus? nospam@virgin.net AntiVirus Software 4 10-06-2009 07:08 PM
deleted mbr,boot sector... anglomont Hardware Peripherals 0 22-05-2009 10:40 PM
Corrupt Boot Sector TimFawcett Vista Help 8 21-03-2009 08:33 PM
Sector By Sector Bypass For Safe Boot Jaslein Software Development 6 28-11-2008 05:21 AM


All times are GMT +5.5. The time now is 09:51 AM.