A computer components & hardware forum. HardwareBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » HardwareBanter forum » General Hardware & Peripherals » Storage (alternative)
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

MBR, File system, boot sector, partition table



 
 
Thread Tools Display Modes
  #1  
Old November 9th 04, 08:08 AM
external usenet poster
 
Posts: n/a
Default MBR, File system, boot sector, partition table

Someone know where are on the disk these:

partition table,
boot sector,
MBR,
fat or ntfs table

And how can i find them with a disk hex viewer?
How much bytes their are long?

Thanks
  #2  
Old November 9th 04, 10:06 AM
Zvi Netiv
external usenet poster
 
Posts: n/a
Default

) wrote:

Someone know where are on the disk these:

partition table,


The 64 bytes from offset 406, in the MBR.

boot sector,


May be located anywhere on the disk. Its location is pointed by the active
partition entry in the MBR. Usually, the boot sector will be found in logical
sector 63 (011 in CHS notation) but don't count on it.

MBR,


The very first sector on the hard drive (logical sector 0, or CHS 001).

fat or ntfs table


The FAT can be found after the boot sector. With FAT-32, the FAT usually begins
on the 33rd sector from the boot sector, but that number may vary, depending on
how the FAT-32 partition was created.

By NTFS table I suppose you mean MFT (master file table). The MFT starts
somewhere at the beginning of the NTFS partition (NTFS has no FAT) at a location
that is specified in the boot sector.

And how can i find them with a disk hex viewer?


Try any of the many disk viewers available - some are free, like PTEDIT. You
may also try the free version of RESQDISK. Norton DiskEdit is a commercial disk
viewer and editor. Be careful with changing data as from your questions, you
have a great deal to learn before you can manipulate these elements without
doing harm to your data, or lose it.

How much bytes their are long?


Disk sectors are 512 bytes in size, and that applies to the MBR and boot sector.
The boot sector of a FAT-32 partition actually consists of three adjacent
sectors (aka "extended boot sector") and there are two copies thereof with the
mirror at seven sectors apart. The size of the FAT depends on the partition's
size and varies from hundreds of sectors for FAT-16 (256 max) to thousands of
sectors per FAT copy (there are always two) for FAT-32. The MFT size varies
according to the number of entries it contains.

May I suggest that you read about the subject on the web. Start with a google
search on "file system disk structures" (just a little over one million hits)
then narrow down your search per subject.

Thanks


Regards, Zvi
--
NetZ Computing Ltd. ISRAEL
www.invircible.com www.ivi.co.il (Hebrew)
InVircible Virus Defense Solutions, ResQ and Data Recovery Utilities
  #3  
Old November 9th 04, 10:43 AM
Zvi Netiv
external usenet poster
 
Posts: n/a
Default

Zvi Netiv wrote:

) wrote:

Someone know where are on the disk these:

partition table,


The 64 bytes from offset 406, in the MBR.


Correct that to "The 64 bytes from offset 446, in the MBR"

Regards
--
NetZ Computing Ltd. ISRAEL
www.invircible.com www.ivi.co.il (Hebrew)
InVircible Virus Defense Solutions, ResQ and Data Recovery Utilities
  #4  
Old November 9th 04, 09:37 PM
Folkert Rienstra
external usenet poster
 
Posts: n/a
Default

"Zvi Netiv" wrote in message
) wrote:

Someone know where are on the disk these:

partition table,


The 64 bytes from offset 406, in the MBR.

boot sector,


May be located anywhere on the disk.


In theory.

Its location is pointed by the active partition entry in the MBR.


Or the EPBR for extended partitions.

Usually, the boot sector will be found in logical sector 63


LBA 63. That would be the first partition boot sector. Others will be at
offset 64 to the start of the EPBR (which is pointed to from the MBR).
And from a partition perspective the bootsector is sector 0.

(011 in CHS notation)


Then that would be 0/1/1 in CHS notation, not 011.
And only with 63 sectors per logical track.

but don't count on it.


Right, primary vs without primary partitions and sectors per track and so on.


MBR,


The very first sector on the hard drive (logical sector 0, or CHS 0/0/1).

fat or ntfs table


The FAT can be found after the boot sector. With FAT-32, the FAT usually begins
on the 33rd sector from the boot sector, but that number may vary, depending on
how the FAT-32 partition was created.

By NTFS table I suppose you mean MFT (master file table). The MFT starts
somewhere at the beginning of the NTFS partition (NTFS has no FAT) at a location
that is specified in the boot sector.

And how can i find them with a disk hex viewer?


Try any of the many disk viewers available - some are free, like PTEDIT.

Well, that isn't a disk editor.

You may also try the free version of RESQDISK.


Norton DiskEdit is a commercial disk viewer and editor.


So is WinHex (sort of) but it can be used in Trial mode.
It lets you navigate to the partitions and to the bootsector, FATs and root-
directory within the partition(s).

Be careful with changing data as from your questions, you
have a great deal to learn before you can manipulate these elements without
doing harm to your data, or lose it.

How much bytes they are long?


Disk sectors are 512 bytes in size, and that applies to the MBR and boot sector.
The boot sector of a FAT-32 partition actually consists of three adjacent
sectors (aka "extended boot sector")


and there are two copies thereof with the mirror at seven sectors apart.


Six.

The size of the FAT depends on the partition's
size and varies from hundreds of sectors for FAT-16 (256 max) to thousands of
sectors per FAT copy (there are always two) for FAT-32. The MFT size varies
according to the number of entries it contains.

May I suggest that you read about the subject on the web. Start with a google
search on "file system disk structures" (just a little over one million hits)
then narrow down your search per subject.

Thanks


Regards, Zvi

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Game freezes system - possible ATI issue? Blaedmon Ati Videocards 1 February 12th 05 05:20 PM
Dell 8250 won't boot. Missing ntfs.sys file but it's there. drcwks Dell Computers 3 January 7th 05 11:28 PM
Windows XP fails to boot after Drive Image 7 restore Milleniumaire Storage (alternative) 11 February 28th 04 08:26 PM
Can't get CD Burner to Burn Nottoman General 2 December 22nd 03 05:47 PM
Multi-boot Windows XP without special software Timothy Daniels General 11 December 12th 03 05:38 AM


All times are GMT +1. The time now is 07:57 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 HardwareBanter.
The comments are property of their posters.