{"id":261,"date":"2005-07-03T21:50:00","date_gmt":"2005-07-04T04:50:00","guid":{"rendered":"https:\/\/kb.terabyteunlimited.com\/kb-articles\/how-to-manually-specify-chs\/"},"modified":"2021-09-10T23:52:49","modified_gmt":"2021-09-11T06:52:49","slug":"how-to-manually-specify-chs","status":"publish","type":"lsvr_kba","link":"https:\/\/www.terabyteunlimited.com\/kb\/kb-articles\/how-to-manually-specify-chs\/","title":{"rendered":"How to Manually Specify CHS"},"content":{"rendered":"<p>There are some circumstances where your system configuration may require you to manually specify cylinder\/head\/sector (CHS) values for a drive attached to your system.\u00a0 <strong>Image for DOS<\/strong> and <strong>Image for Windows<\/strong> provide a number of ways to accomplish this.<\/p>\r\n<p>Please note that you may obtain the appropriate CHS values by running the <a href=\"https:\/\/www.terabyteunlimited.com\/downloads\/PARTINFO.ZIP\">PartInfo<\/a> utility.<\/p>\r\n<p><strong>Image for DOS and Image for Windows - Command Line Restore<\/strong><\/p>\r\n<blockquote>\r\n<p>When restoring from the command line, the <strong>C=xH=xS=x<\/strong> parameters may be used.\u00a0 The <strong>C=<\/strong> value specifies the last cylinder, <strong>H=<\/strong> specifies the last head, and <strong>S=<\/strong> specifies the sector count.\u00a0 Please refer to the following example:<\/p>\r\n<blockquote>\r\n<p><span style=\"color: #0000ff;\">image.exe \/R0VC=900H=31S=63 d:&#92;system~1&#92;monthl~1<\/span><\/p>\r\n<\/blockquote>\r\n<p>In the above example, hard drive <strong>0<\/strong> was specified as the target, the last cyclinder is <strong>900<\/strong>, the last head is <strong>31<\/strong>, and the sector count is <strong>63<\/strong>.\u00a0 Each parameter is optional, and their order does not matter.<\/p>\r\n<\/blockquote>\r\n<p><strong>Image for Windows - Interactive Restore<\/strong><\/p>\r\n<blockquote>\r\n<p>You may create a text file named <strong>IFW.INI<\/strong>, and create a section header of the format <strong>[HDx]<\/strong>, where <strong>x<\/strong> is the target hard drive number (zero based).\u00a0 The parameters and values to be specified here are the same as shown above for command line use.\u00a0 Here is an example of IFW.INI content:<\/p>\r\n<blockquote>\r\n<p><span style=\"color: #0000ff;\">[HD0]<\/span><br \/>\r\n<span style=\"color: #0000ff;\">C=800<br \/>\r\nH=31<br \/>\r\nS=55<\/span><\/p>\r\n<\/blockquote>\r\n<p>This specifies the first hard drive (HD<strong>0<\/strong>), a last cylinder of <strong>800<\/strong>, a last head of <strong>31<\/strong>, and a sector count of <strong>55<\/strong>.<\/p>\r\n<p>You may also specify a <strong>MBRCHS=n<\/strong> setting, where <strong>n<\/strong> may be either <strong>0<\/strong> or <strong>1<\/strong>.\u00a0 If MBRCHS=1 is used, Image for Windows will attempt to obtain the appropriate CHS values from existing partitions present in the MBR.\u00a0 For example:<\/p>\r\n<blockquote>\r\n<p><span style=\"color: #0000ff;\">[HD0]<\/span><br \/>\r\n<span style=\"color: #0000ff;\">MBRCHS=1<\/span><\/p>\r\n<\/blockquote>\r\n<p>If <strong>MBRCHS=0<\/strong> is used, or if the <strong>MBRCHS=n<\/strong> setting is omitted, Image for Windows will fall back on the <strong>C=<\/strong>, <strong>H=<\/strong>, and <strong>S=<\/strong> values supplied, if any.\u00a0 If no such values are provided in this case, Image for Windows reverts to its default behavior of obtaining the CHS values from Windows itself.<\/p>\r\n<\/blockquote>","protected":false},"excerpt":{"rendered":"<p>There are some circumstances where your system configuration may require you to manually specify cylinder\/head\/sector (CHS) values for a drive attached to your system.\u00a0 Image for DOS and Image for Windows provide a number of ways to accomplish this. Please note that you may obtain the appropriate CHS values by running the PartInfo utility. Image [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"lsvr_kba_cat":[1818],"lsvr_kba_tag":[2118],"class_list":["post-261","lsvr_kba","type-lsvr_kba","status-publish","hentry","lsvr_kba_cat-ifd-ifl-ifw-version-1-archive","lsvr_kba_tag-archived"],"_links":{"self":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/261","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba"}],"about":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/types\/lsvr_kba"}],"author":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/comments?post=261"}],"version-history":[{"count":2,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/261\/revisions"}],"predecessor-version":[{"id":6766,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba\/261\/revisions\/6766"}],"wp:attachment":[{"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/media?parent=261"}],"wp:term":[{"taxonomy":"lsvr_kba_cat","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_cat?post=261"},{"taxonomy":"lsvr_kba_tag","embeddable":true,"href":"https:\/\/www.terabyteunlimited.com\/kb\/wp-json\/wp\/v2\/lsvr_kba_tag?post=261"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}