
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>Ji2 Data Recovery</title>
	<atom:link href="http://www.hdd.ji2.com/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.hdd.ji2.com/blog</link>
	<description>Data Recovery Services</description>
	<pubDate>Tue, 17 Nov 2009 00:03:25 +0000</pubDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
			<item>
		<title>Hard Drive &#8220;Repair&#8221; Explained</title>
		<link>http://www.hdd.ji2.com/blog/2009/11/hard-drive-repair-explained/</link>
		<comments>http://www.hdd.ji2.com/blog/2009/11/hard-drive-repair-explained/#comments</comments>
		<pubDate>Tue, 17 Nov 2009 00:03:25 +0000</pubDate>
		<dc:creator>rwinters</dc:creator>
		
		<category><![CDATA[Informative]]></category>

		<guid isPermaLink="false">http://www.hdd.ji2.com/blog/?p=226</guid>
		<description><![CDATA[There are several software tools available that claim they can &#8220;repair&#8221; bad sectors on a hard drive.  Many people are misled into thinking these utilities are actually fixing the hard drive.  To an extent, they are, but in reality what is occurring is something modern hard drives actually do anyways automatically, without the [...]]]></description>
			<content:encoded><![CDATA[<p>There are several software tools available that claim they can &#8220;repair&#8221; bad sectors on a hard drive.  Many people are misled into thinking these utilities are actually fixing the hard drive.  To an extent, they are, but in reality what is occurring is something modern hard drives actually do anyways automatically, without the use of specialized software tools.  Hard drives have internally programmed maintenance routines that they constantly perform, even while you&#8217;re utilizing the hard drive. These programs claiming to &#8220;repair&#8221; the drive just give the drive an extra &#8220;push&#8221; to start this automatic, drive-level repair process.</p>
<p><span id="more-226"></span></p>
<p></p>
<p>Furthermore, the &#8220;repair&#8221; is not so much of a repair.  You could consider this repair to be the equivalent of a tourniquet.  The hard drive is like an arm that has been badly wounded and is bleeding profusely.  The tourniquet is the &#8220;repair&#8221;, which temporarily relieves the underlying issue, but the fact is it&#8217;s only a temporary solution to a escalating problem.  With hard drives, there is no hospital that can stop them from degrading; we can only hide the degradation temporarily.</p>
<p></p>
<p>So what is really going on when a drive is &#8220;repaired&#8221;? Reallocation.</p>
<p></p>
<p>A hard drive is constantly performing built-in maintenance routines and when the drive recognizes an unstable sector, the hard drive realizes this, marks the sector bad, then puts it in a reallocation queue.</p>
<p></p>
<p>What is this &#8220;reallocation&#8221;?<br />
It&#8217;s a simple principle: the detected bad sector gets put into a list that says &#8220;do not use this sector anymore, because it can&#8217;t hold data reliably&#8221;.  This list is known as the &#8220;G-list&#8221; or &#8220;Grown Defects List&#8221;.</p>
<p>Once the bad sector has been removed and put into the G-List, a new, reserved sector is used in its place.  This reserved sector is &#8220;mapped&#8221; as the same LBA (Logical Block Address) as the old, dead sector, but it is in a different physical location on the disk.</p>
<p>This can cause issues once many sectors begin failing because the heads will have to change position to read the new sectors that are located in the reserved areas. This will cause delays in access times and will eventually be noticeable to the end user.</p>
<p>All hard drives contain these reserved sectors and the OS is unable to see or use them.  Only the drive knows of their existence and their location on the disk.</p>
<p>There is even more to this story though, as there are two types of bad sectors.  There are &#8220;physical bad sectors&#8221; and &#8220;logical bad sectors&#8221;.</p>
<p>A physical bad sector is a sector that for some reason can no longer to be magnetically manipulated and used to store data. These are the types of errors that will be mapped to the G-List.</p>
<p>A logical bad sector is a sector that is able to be magnetically manipulated, but for some reason was incorrectly manipulated (maybe power was pulled during a write to that sector or the heads are failing/weak and wrote incorrectly to the sector, etc).</p>
<p>These logical bad sectors can be regenerated (usually by writing fresh, correct data to them) and then reused. But, sometimes logical bad sectors can be incorrectly written to the G-List. This often happens when the heads of a hard drive are failing and are reading good sectors with UNC errors because the read element of the heads is malfunctioning.  If this happens, the drive will attempt to queue these sectors for reallocation and, if successful, good sectors can end up in the G-List of the drive. Luckily, if you are in need of your data being recovered, such an issue is reversible.  Most data recovery technicians can easily access the G-list of a drive that is held within it&#8217;s &#8220;service area&#8221; and remove false entries, or even clear the list completely.</p>
<p>The last thing that I would like to mention is refurbishing.  Refurbishing drives takes a somewhat similar approach as these normal repair programs do: they remap bad sectors. The difference is that good refurb companies have reverse engineered hard drives so that they have the manufacturer-unique commands that tell the drive to reallocate bad sectors to a different list.  This list is called the &#8220;Primary Defects List&#8221; or &#8220;P-List&#8221;.  Sometimes it may be called the &#8220;Push-Down Defects List&#8221;.</p>
<p>The P-list is typically only written once in a disk&#8217;s lifetime.  This is typically done at the manufacturing site when the drive is assembled and the servo code is written to the platter surface.  The P-list handles reallocation much differently than just replacing the bad sector with a reserved sector.  It is a more complicated process that will be discussed in more details in a future post, but, in short, it eliminates the performance issues mentioned that occur when many sectors are replaced with reserved sectors.</p>
<p>I hope this has enlightened some about hard drive repair.  In conclusion, there is no real &#8220;repair&#8221; for a drive.  Even the refurbishing technique is a temporary solution.  The fact is that when a few sectors degrade magnetically, the degradation usually begins to spread to nearby sectors fairly quickly, and the drive will soon become unusable. </p>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Ji2%20Data%20Recovery&amp;siteurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F&amp;linkname=Hard%20Drive%20%E2%80%9CRepair%E2%80%9D%20Explained&amp;linkurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F2009%2F11%2Fhard-drive-repair-explained%2F">
	<img src="http://www.hdd.ji2.com/blog/wp-content/plugins/add-to-any/bookmark.gif" width="91" height="16" border="0" alt="Bookmark"/>
</a>
<script type="text/javascript">a2a_linkname="Hard Drive “Repair” Explained";a2a_linkurl="http://www.hdd.ji2.com/blog/2009/11/hard-drive-repair-explained/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p>]]></content:encoded>
			<wfw:commentRss>http://www.hdd.ji2.com/blog/2009/11/hard-drive-repair-explained/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hard Drive Anatomy - The HSA (Head Stack Assembly) Part 2</title>
		<link>http://www.hdd.ji2.com/blog/2009/09/hard-drive-anatomy-the-hsa-head-stack-assembly-part-2/</link>
		<comments>http://www.hdd.ji2.com/blog/2009/09/hard-drive-anatomy-the-hsa-head-stack-assembly-part-2/#comments</comments>
		<pubDate>Fri, 18 Sep 2009 22:11:19 +0000</pubDate>
		<dc:creator>rwinters</dc:creator>
		
		<category><![CDATA[Informative]]></category>

		<category><![CDATA[dual actuator]]></category>

		<category><![CDATA[hard drive anatomy]]></category>

		<category><![CDATA[HDD]]></category>

		<category><![CDATA[Head stack assembly]]></category>

		<category><![CDATA[heads]]></category>

		<category><![CDATA[HSA]]></category>

		<category><![CDATA[nanometers]]></category>

		<category><![CDATA[Piezo system]]></category>

		<category><![CDATA[slider]]></category>

		<guid isPermaLink="false">http://www.hdd.ji2.com/blog/?p=183</guid>
		<description><![CDATA[Now that we have talked about all of the parts that are easy to identify and to see, it is now time to zoom in and take a closer look at the head stack itself. You will find many of the most interesting aspects of the head stack are found at the end of the [...]]]></description>
			<content:encoded><![CDATA[<p>Now that we have talked about all of the parts that are easy to identify and to see, it is now time to zoom in and take a closer look at the head stack itself. You will find many of the most interesting aspects of the head stack are found at the end of the arm, where the head itself is located.</p>
<p><span id="more-183"></span></p>
<p>Lets start off with a picture:</p>
<div id="attachment_184" class="wp-caption alignleft" style="width: 310px"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/09/headstack-pic.png"><img class="size-medium wp-image-184" title="headstack-pic" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/09/headstack-pic-300x144.png" alt="" width="300" height="144" /></a><p class="wp-caption-text">The end of the arm</p></div>
<div class="mceTemp">The first part you are going to notice is the black square near the end. Many people actually mistake this component as the head when actually it is not.</div>
<div class="mceTemp">This component is actually called the &#8220;Slider&#8221;. You can see that it has some grooves in it, which are designed to make the slider aerodynamic. This allows for it to glide on the &#8220;Air bearing&#8221; that is created by the rapidly spinning platters. This is how the heads manage to not touch the disk surface.</div>
<div class="mceTemp">The gold wire coming from the arm is the &#8220;lead&#8221;. It is the connection between the heads themselves and the preamplifier.</div>
<div class="mceTemp">The heads are located at the far end of the slider. They aren&#8217;t clearly visible in this photo, but you can see where the leads curve around and go back towards the slider. The heads are where the leads end. The average flying height for heads on current drives is 5-10 nanometers. In comparison, a strand of human hair is approximately 60000 nanometers in diameter. A DNA molecule is ~2-12 nanometers wide.</div>
<div class="mceTemp">Newer hard drives are utilizing a sort of &#8220;Dual actuator&#8221; technology. They use a Piezo electric system where an electrical charge is provided to the material, which causes it to be manipulated in the direction needed with extremely high precision (within a nanometer or so).</div>
<div class="mceTemp">The next and final installment of this series on the HSA, I will detail how the heads read and write data.</div>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Ji2%20Data%20Recovery&amp;siteurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F&amp;linkname=Hard%20Drive%20Anatomy%20-%20The%20HSA%20%28Head%20Stack%20Assembly%29%20Part%202&amp;linkurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F2009%2F09%2Fhard-drive-anatomy-the-hsa-head-stack-assembly-part-2%2F">
	<img src="http://www.hdd.ji2.com/blog/wp-content/plugins/add-to-any/bookmark.gif" width="91" height="16" border="0" alt="Bookmark"/>
</a>
<script type="text/javascript">a2a_linkname="Hard Drive Anatomy - The HSA (Head Stack Assembly) Part 2";a2a_linkurl="http://www.hdd.ji2.com/blog/2009/09/hard-drive-anatomy-the-hsa-head-stack-assembly-part-2/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p>]]></content:encoded>
			<wfw:commentRss>http://www.hdd.ji2.com/blog/2009/09/hard-drive-anatomy-the-hsa-head-stack-assembly-part-2/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hard Drive Anatomy - The HSA (Head Stack Assembly) Part 1</title>
		<link>http://www.hdd.ji2.com/blog/2009/09/hard-drive-anatomy-the-hsa-head-stack-assembly-part-1/</link>
		<comments>http://www.hdd.ji2.com/blog/2009/09/hard-drive-anatomy-the-hsa-head-stack-assembly-part-1/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 19:02:12 +0000</pubDate>
		<dc:creator>rwinters</dc:creator>
		
		<category><![CDATA[Informative]]></category>

		<category><![CDATA[2.5 Hitatchi Travelstar]]></category>

		<category><![CDATA[actuator]]></category>

		<category><![CDATA[axis and arm]]></category>

		<category><![CDATA[gimbal]]></category>

		<category><![CDATA[HDD anatomy]]></category>

		<category><![CDATA[HDD components]]></category>

		<category><![CDATA[Head stack assembly]]></category>

		<category><![CDATA[heads]]></category>

		<category><![CDATA[HSA]]></category>

		<category><![CDATA[HSA components]]></category>

		<category><![CDATA[leads]]></category>

		<category><![CDATA[master control unit]]></category>

		<category><![CDATA[MCU]]></category>

		<category><![CDATA[PCB]]></category>

		<category><![CDATA[PCB to HSA connector]]></category>

		<category><![CDATA[preamplifier]]></category>

		<category><![CDATA[ramp]]></category>

		<category><![CDATA[shock absorption system]]></category>

		<category><![CDATA[sliders]]></category>

		<category><![CDATA[top magnet]]></category>

		<category><![CDATA[Travelstar drive]]></category>

		<category><![CDATA[voice coil]]></category>

		<guid isPermaLink="false">http://www.hdd.ji2.com/blog/?p=163</guid>
		<description><![CDATA[In this day and age nearly everyone knows a little something about computing, whether it is how to download new songs to your iPod or how to download illegal content from your favorite torrent site. The population is generally more technically savvy then we were even three or four years ago. When the average person [...]]]></description>
			<content:encoded><![CDATA[<p>In this day and age nearly everyone knows a little something about computing, whether it is how to download new songs to your iPod or how to download illegal content from your favorite torrent site. The population is generally more technically savvy then we were even three or four years ago. When the average person hears &#8220;Hard drive&#8221;, most actually know that there are at least two things involved in a hard drive. There are disks and there &#8220;needles&#8221; or &#8220;heads&#8221;. Many people think of hard drives as highly advanced record players, and in some aspects they are right. Just like it&#8217;s much older grandfather, the hard drive has both a record (platters) and a needle (heads). The platters store data by utilizing magnetization, and the head has the job of both reading these magnetic fields and changing them (what we call writing).</p>
<p><span id="more-163"></span></p>
<p>There are many components of the Head Stack Assembly, or HSA for short. These components include the actuator, sliders, gimbal, and the heads themselves. The heads themselves are so small that it requires a microscope to view them.</p>
<p><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/headstackanatomy1.jpg"><img class="alignleft size-medium wp-image-168" title="headstackanatomy1" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/headstackanatomy1-300x175.jpg" alt="" width="300" height="175" /></a></p>
<p>In the Above picture of a 2.5 inch Hitachi Travelstar we can clearly see many of the components of the HSA.</p>
<div id="attachment_171" class="wp-caption aligncenter" style="width: 83px"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/shockabsorbtion.jpg"><img class="size-medium wp-image-171" title="shockabsorption" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/shockabsorbtion-73x300.jpg" alt="Shock absorption system" width="73" height="300" /></a><p class="wp-caption-text">Shock absorption system</p></div>
<p>Starting on the far left side we have the &#8220;Shock absorption system&#8221;. This part&#8217;s primary function is obviously to absorb any shock that occurs when the heads load back on to the load/unload system (the ramp). This is the part that is notorious for making noise when you shake the drive itself, and many users incorrectly assume this sound means that there is a problem with the drive. The noise is actually normal; the shock absorption system fits very loosely inside.</p>
<div id="attachment_172" class="wp-caption aligncenter" style="width: 286px"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/topmagnet.png"><img class="size-medium wp-image-172" title="topmagnet" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/topmagnet-276x300.png" alt="Top Magnet" width="276" height="300" /></a><p class="wp-caption-text">Top Magnet</p></div>
<p>Moving to the right a little bit we see the top magnet. Normally there are at least two magnets in a hard drive; rarely are there less. In some recently manufactured low capacity drives you may find only one magnet, but traditionally you will always find a top and bottom magnet. These magnets are VERY powerful and require a significant amount of force to remove and very careful planning to put back on. Their purpose is to provide a magnetic field that will be utilized by the voice coil, which is nestled in between the magnets.</p>
<div id="attachment_170" class="wp-caption aligncenter" style="width: 197px"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/voicecoil.png"><img class="size-medium wp-image-170" title="voicecoil" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/voicecoil.png" alt="Voice coil" width="187" height="178" /></a><p class="wp-caption-text">Voice Coil</p></div>
<p>The voice coil is made up of tightly wound copper wire. When a current is driven to the voice coil, it produces a magnetic field. This magnetic field reacts with the field produced by the magnets which causes a reaction. Because all of the magnets are affixed by screws, the associated magnetic fields stay in place. Because the voice coil is mounted to the head stack (which is movable), the entire voice coil has the ability to move away from the other magnetic field. By changing the current, the voice coil can be manipulated to move in multiple directions. This is how the heads are able to move, and move at extremely high speeds accurately.</p>
<div id="attachment_173" class="wp-caption aligncenter" style="width: 292px"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/axisarms.jpg"><img class="size-medium wp-image-173" title="axisarms" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/axisarms.jpg" alt="Axis and Arm" width="282" height="195" /></a><p class="wp-caption-text">Axis and Arm</p></div>
<p>The next components you will see clearly are the axis and the arm.</p>
<p>The axis allows the arms to move across the disk surface.</p>
<div id="attachment_175" class="wp-caption aligncenter" style="width: 310px"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/preamp.png"><img class="size-medium wp-image-175" title="preamp" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/preamp-300x244.png" alt="preamplifier + leads" width="300" height="244" /></a><p class="wp-caption-text">preamplifier + leads</p></div>
<p>If I could pick out any component of the head stack assembly (besides the heads themselves) as the second-most important part, I would pick the preamplifier. The frequencies of the signals that are coming from the head stack are very high (above 1ghz), so these frequencies would most certainly dissipate well before they could reach the MCU (Master control unit) without some preventative measures. Enter the preamp, whose job is to amplify the signal coming from the heads and send it out to the MCU. Its other duty is to control which head is to be used, and also if that head is to read or write. This is necessary because the nature of how the data is written and read from the platters is that only one head may be utilized at a time, and that one head can either read or write at any given time, not both. The preamplifier controls this function along with the MCU.</p>
<p>The Leads pictures above to the right of the preamplifier chip are simply the connections to the heads themselves. You can clearly see that this particular drive has 4 heads and there are 4 leads present. Sometimes the lead may be present, but the head is not in use. This can be easily identified as you will see that the lead does not continue down the arm to a head and it will end near the preamp.</p>
<div class="mceTemp mceIEcenter">
<dl id="attachment_178" class="wp-caption aligncenter" style="width: 279px;">
<dt class="wp-caption-dt"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/09/pcb-headconnector.png"><img class="size-medium wp-image-178" title="pcb-headconnector" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/09/pcb-headconnector.png" alt="PCB to HSA connector" width="269" height="206" /></a></dt>
<dd class="wp-caption-dd">PCB to HSA connector</dd>
</dl>
<p>The PCB to HSA connector provides the connection between the drive printed circuit board (PCB) and the HSA. Without this connection the drive could not function because commands from the CPU would never be carried out, and the data would not have a way to travel from the heads into the cache to be managed by the MCU. The ribbon cable that connects this to the preamplifier is very fragile and you should take special care when handling it.</p></div>
<div class="mceTemp mceIEcenter">
<div class="mceTemp mceIEcenter" style="text-align: left;">
<dl id="attachment_179" class="wp-caption aligncenter" style="width: 117px;">
<dt class="wp-caption-dt"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/09/ramp.png"><img class="size-medium wp-image-179" title="ramp" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/09/ramp.png" alt="Load/unload system or &quot;Ramp&quot;" width="107" height="131" /></a></dt>
<dd class="wp-caption-dd">Load/unload system or &#8220;Ramp&#8221;</dd>
</dl>
<p>Lastly is the load/unload system, commonly called the ramp. The heads park here when not in use, and is made of very smooth plastic. The ramp rarely needs to be tampered with; it&#8217;s only necessary in cases where you need to transfer platters. In some cases heads can crash and create defects in the ramp, so when you replace the heads you need to replace the ramp as well.</p></div>
<div class="mceTemp mceIEcenter">We will cover the heads themselves and their components next time!</div>
</div>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Ji2%20Data%20Recovery&amp;siteurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F&amp;linkname=Hard%20Drive%20Anatomy%20-%20The%20HSA%20%28Head%20Stack%20Assembly%29%20Part%201&amp;linkurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F2009%2F09%2Fhard-drive-anatomy-the-hsa-head-stack-assembly-part-1%2F">
	<img src="http://www.hdd.ji2.com/blog/wp-content/plugins/add-to-any/bookmark.gif" width="91" height="16" border="0" alt="Bookmark"/>
</a>
<script type="text/javascript">a2a_linkname="Hard Drive Anatomy - The HSA (Head Stack Assembly) Part 1";a2a_linkurl="http://www.hdd.ji2.com/blog/2009/09/hard-drive-anatomy-the-hsa-head-stack-assembly-part-1/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p>]]></content:encoded>
			<wfw:commentRss>http://www.hdd.ji2.com/blog/2009/09/hard-drive-anatomy-the-hsa-head-stack-assembly-part-1/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hexadecimal 101 (Part II)</title>
		<link>http://www.hdd.ji2.com/blog/2009/08/hexadecimal-101-part-ii/</link>
		<comments>http://www.hdd.ji2.com/blog/2009/08/hexadecimal-101-part-ii/#comments</comments>
		<pubDate>Mon, 17 Aug 2009 23:29:31 +0000</pubDate>
		<dc:creator>rwinters</dc:creator>
		
		<category><![CDATA[Informative]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[Bios parameter block]]></category>

		<category><![CDATA[boot system]]></category>

		<category><![CDATA[BPB]]></category>

		<category><![CDATA[end of sector marker]]></category>

		<category><![CDATA[file signatures]]></category>

		<category><![CDATA[hex and data recovery]]></category>

		<category><![CDATA[hexadecimal]]></category>

		<category><![CDATA[how to read hex]]></category>

		<category><![CDATA[MBR]]></category>

		<category><![CDATA[NTFS]]></category>

		<category><![CDATA[partition table]]></category>

		<category><![CDATA[signature]]></category>

		<guid isPermaLink="false">http://www.hdd.ji2.com/blog/?p=149</guid>
		<description><![CDATA[So now that we&#8217;ve already covered the basics and you now you grasp the fundamental concepts of hexadecimal and how it represents data, it&#8217;s time to actually apply what you have learned so far toward real world situations. After all, what would be the point of knowing how to read hex if there was no [...]]]></description>
			<content:encoded><![CDATA[<p style="TEXT-ALIGN: left">So now that we&#8217;ve already covered the basics and you now you grasp the fundamental concepts of hexadecimal and how it represents data, it&#8217;s time to actually apply what you have learned so far toward real world situations. After all, what would be the point of knowing how to read hex if there was no relevant use for it in data recovery and forensics?</p>
<p><span id="more-149"></span></p>
<p>First lets take a look at the MBR (Master boot record) for an NTFS file system.</p>
<div class="mceTemp">
<dl id="attachment_150" class="wp-caption alignleft" style="width: 460px;">
<dt class="wp-caption-dt"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/ntfsmbr.jpg"><img class="size-full wp-image-150" title="ntfsmbr" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/ntfsmbr.jpg" alt="" width="450" height="311" /></a></dt>
<dd class="wp-caption-dd">NTFS MBR</dd>
</dl>
<p><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/ntfsmbr2.jpg"><img class="size-full wp-image-151" title="ntfsmbr2" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/08/ntfsmbr2.jpg" alt="" width="308" height="334" /></a></div>
<div class="mceTemp">As you look over the provided MBR screenshot (Screenshots compliments of Winhex), you will notice I have also provided a legend and have highlighted the appropriate data using various colors.</div>
<div class="mceTemp">The two items you should be particularly concerned about are:</div>
<div class="mceTemp"><strong>BPB (Bios parameter block). </strong>This is going to tell you how the sectors are laid out. In most cases (I&#8217;m talking well over 90% of cases) the drive will use 512 byte blocks. In some cases (for server applications, etc) the user may use larger blocks (1024 byte for example). This will all be outlined here in the BPB.</div>
<div class="mceTemp">The other highly important item is the <strong>&#8220;End of sector marker&#8221;</strong> (also called the signature). This should ALWAYS be 55AA. If the signature of the boot sector is not 55AA, then either the file system is damaged or it is not a windows file system. Different file systems use different signatures; NTFS always uses 55AA.</div>
<div class="mceTemp">Partition tables are the next stop. The relevance of the partition table is pretty obvious. First of all, it will tell you where each partition begins and ends and how many sectors are in each partition. It will also contain a status byte, which indicates whether the partition is bootable. The boot indicator field is either going to be 80 or 00. 80 means that the partition is a bootable one, and 00 meaning that it is not a bootable partition. Finally, the partition table will include a system ID field which is is going to tell you what kind of file system the partition is for.</div>
<div class="mceTemp">The partition table is located in the last 64bytes of the MBR. There can be a maximum of 4 primary partitions, and an unlimited amount of extended partitions. In data recovery you will likely only run into primary partitions on Windows systems as 99% of Windows users only use one or two primary partitions.</div>
<div class="mceTemp">The predetermined locations for the partition tables are:</div>
<div class="mceTemp">
<ul>
<li>Partition 1 0&#215;01BE (446)</li>
<li>Partition 2 0&#215;01CE (462)</li>
<li>Partition 3 0&#215;01DE (478)</li>
<li>Partition 4 0&#215;01EE (494)</li>
</ul>
</div>
<p>80 01                ..<br />
000001C0:01 00 06 0F 7F 96 3F 00 -00 00 51 42 06 00 00 00  &#8230;..?&#8230;QB&#8230;.<br />
000001D0:41 97 07 0F FF 2C 90 42 -06 00 A0 3E 06 00 00 00 A&#8230;.,.B&#8230;&gt;&#8230;.<br />
000001E0:C1 2D 05 0F FF 92 30 81 -0C 00 A0 91 01 00 00 00 .-&#8230;.0&#8230;&#8230;&#8230;<br />
000001F0:C1 93 01 0F FF A6 D0 12 -0E 00 C0 4E 00 00 55 AA &#8230;&#8230;&#8230;..N..U.</p>
<p>Above is the end of a MBR created using Windows. When reading hex you will notice that the beginning of each line actually starts on the line above it. You can see very easily that the boot indicator for the first partition is 80, follow by 01 which is telling which is the starting head. Future partitions will not list a starting head, but rather simply the starting sector.</p>
<p>At 0&#215;1C2 you will find the value 06. This is the system ID field. This tells you what file system formatted the partition. 06 is a FAT indicator. 07 is NTFS. 05 is an extended partition, and 01is a FAT12 partition. There are many more system ID fields, but these are the ones present in the example above.</p>
<p>The last thing I wanted to talk about is file signatures. Every type of file has a signature, even photos taken with a digital camera have a special signature that can actually tell you what kind of camera took the picture and when. This is the type of thing that you need to really learn for forensics, and can prove to be a very helpful skill for data recovery if you are going to attempt to repair files. There just isn&#8217;t enough time and space for me to go into the various types of signatures here, but here is a link to a list of signatures that is constantly being updated:</p>
<p><a href="http://www.garykessler.net/library/file_sigs.html">http://www.garykessler.net/library/file_sigs.html</a> - File signatures</p>
<p>You now have the basic understanding of hexadecimal and the part that it plays in data recovery and forensics. From here you should refine your ability to recognize patterns in the code so that you know when something has been changed or is damaged. Practice is the key here. You should constantly be looking at files in hex so that you can see what a working file should look like. Then, as a learning tool, you can damage that file and take note of the differences that occurred when you damaged it. Look for signatures in all kinds of files and become familiar with their location.</p>
<p>Next week I am going to be returning to the topic of hard drive anatomy, continuing with headstacks and then moving into the details of Servo technology.</p>
<p>HDD Doctor</p>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Ji2%20Data%20Recovery&amp;siteurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F&amp;linkname=Hexadecimal%20101%20%28Part%20II%29&amp;linkurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F2009%2F08%2Fhexadecimal-101-part-ii%2F">
	<img src="http://www.hdd.ji2.com/blog/wp-content/plugins/add-to-any/bookmark.gif" width="91" height="16" border="0" alt="Bookmark"/>
</a>
<script type="text/javascript">a2a_linkname="Hexadecimal 101 (Part II)";a2a_linkurl="http://www.hdd.ji2.com/blog/2009/08/hexadecimal-101-part-ii/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p>]]></content:encoded>
			<wfw:commentRss>http://www.hdd.ji2.com/blog/2009/08/hexadecimal-101-part-ii/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hexadecimal 101  (Part I)</title>
		<link>http://www.hdd.ji2.com/blog/2009/07/hexadecimal-101-part-1/</link>
		<comments>http://www.hdd.ji2.com/blog/2009/07/hexadecimal-101-part-1/#comments</comments>
		<pubDate>Tue, 28 Jul 2009 18:26:42 +0000</pubDate>
		<dc:creator>rwinters</dc:creator>
		
		<category><![CDATA[Informative]]></category>

		<category><![CDATA[Tutorials]]></category>

		<category><![CDATA[base 16]]></category>

		<category><![CDATA[convert hexadecimal to decimal]]></category>

		<category><![CDATA[hexadecimal]]></category>

		<category><![CDATA[how to read hexadecimal]]></category>

		<guid isPermaLink="false">http://www.ji2.com/blog/?p=127</guid>
		<description><![CDATA[Hexadecimal is a &#8220;base 16&#8243; numbering system primarily used as an easy-to-read way to represent binary values

As you likely know, computers read/write data in binary at the lowest level. Binary is a &#8220;base 2&#8243; numbering system, which means there are only two possible values for each digit. Binary is often compared to a &#8220;light switch&#8221; [...]]]></description>
			<content:encoded><![CDATA[<p>Hexadecimal is a &#8220;base 16&#8243; numbering system primarily used as an easy-to-read way to represent binary values</p>
<p><span id="more-127"></span></p>
<p>As you likely know, computers read/write data in binary at the lowest level. Binary is a &#8220;base 2&#8243; numbering system, which means there are only two possible values for each digit. Binary is often compared to a &#8220;light switch&#8221; because values are either &#8220;0&#8243; (off) or &#8220;1&#8243; (on). Each binary digit is considered a &#8220;bit&#8221;.</p>
<p>Because binary is difficult to read and interpret quickly, hexadecimal is often used to simplify and make low-level data easy to deal with. Each hexadecimal digit represents 4 bits (or binary digits). When viewing hex data, viewers often group data digits in pairs of two, because this represents 1 byte of data.</p>
<p>Hexadecimal counts as the following: 0 1 2 3 4 5 6 7 8 9 A B C D E F</p>
<p>Here is a chart showing the Hex/binary values of 0-15.</p>
<p style="text-align: center;"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/07/hextbl1.jpg"><img class="aligncenter size-medium wp-image-134" title="hextbl1" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/07/hextbl1-108x300.jpg" alt="" width="108" height="300" /></a></p>
<p>Now, this is where things get a little more tricky. Obviously, the number system doesn&#8217;t just end at &#8220;F&#8221;. Just like decimal (base 10), when hexadecimal gets to &#8220;F&#8221;, it adds a digit. So &#8220;16&#8243; in decimal is &#8220;10&#8243; in hexadecimal, and &#8220;17&#8243; in decimal is &#8220;11&#8243; in hexadecimal.</p>
<p>An important equation you should familiarize yourself with is how to convert a hexadecimal value to decimal. It is as follows:</p>
<p style="text-align: center;"><a href="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/07/hex_eq.jpg"><img class="alignnone size-medium wp-image-143" title="hex_eq" src="http://www.hdd.ji2.com/blog/wp-content/uploads/2009/07/hex_eq.jpg" alt="" width="264" height="176" /></a></p>
<p>Next week we will continue our look at hexadecimal by looking at hex data from the boot sector of an NTFS partition, and also the hex data for certain types of files to show how you can find patterns that will help you identify the type of file, and other interesting attributes about it.</p>
<p class="a2a_link">
<a name="a2a_dd" onmouseover="a2a_show_dropdown(this)" onmouseout="a2a_onMouseOut_delay()" href="http://www.addtoany.com/bookmark?sitename=Ji2%20Data%20Recovery&amp;siteurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F&amp;linkname=Hexadecimal%20101%20%20%28Part%20I%29&amp;linkurl=http%3A%2F%2Fwww.hdd.ji2.com%2Fblog%2F2009%2F07%2Fhexadecimal-101-part-1%2F">
	<img src="http://www.hdd.ji2.com/blog/wp-content/plugins/add-to-any/bookmark.gif" width="91" height="16" border="0" alt="Bookmark"/>
</a>
<script type="text/javascript">a2a_linkname="Hexadecimal 101  (Part I)";a2a_linkurl="http://www.hdd.ji2.com/blog/2009/07/hexadecimal-101-part-1/";</script>
<script type="text/javascript" src="http://www.addtoany.com/js.dropdown.js?type=page"></script>

</p>]]></content:encoded>
			<wfw:commentRss>http://www.hdd.ji2.com/blog/2009/07/hexadecimal-101-part-1/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
