<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Фотограф Иван Молчанов &#187; Mac</title>
	<atom:link href="http://blog.imolchanov.ru/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.imolchanov.ru</link>
	<description>Фотограф на все случаи жизни!</description>
	<lastBuildDate>Mon, 19 Oct 2009 20:15:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.3</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Как я свой HDD (HFS+) под Mac лечил</title>
		<link>http://blog.imolchanov.ru/2009/10/kak-ya-hdd-hfs-pod-mac-lechil/</link>
		<comments>http://blog.imolchanov.ru/2009/10/kak-ya-hdd-hfs-pod-mac-lechil/#comments</comments>
		<pubDate>Mon, 19 Oct 2009 19:38:11 +0000</pubDate>
		<dc:creator>Иван Молчанов</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Vista]]></category>

		<guid isPermaLink="false">http://blog.imolchanov.ru/?p=78</guid>
		<description><![CDATA[Вначале случилась беда &#8211; я установил (уж пришлось по определенным причинам) Windows Vista второй системой на свой Mac. Все бы ничего, да виста после нескольких перезагрузок не захотела видеть мой внешний HDD отформатированный под Mac (HFS+) (спец прогу я естественно поставил), а потом как оказалось просто изменила таблицу разделов на диске и привет.
Пришла на помощь [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignleft size-full wp-image-81" title="bad-vista" src="http://blog.imolchanov.ru/wp-content/uploads/2009/10/bad-vista.jpg" alt="bad-vista" width="145" height="251" />Вначале случилась беда &#8211; я установил (уж пришлось по определенным причинам) Windows Vista второй системой на свой Mac. Все бы ничего, да виста после нескольких перезагрузок не захотела видеть мой внешний HDD отформатированный под Mac (HFS+) (спец прогу я естественно поставил), а потом как оказалось просто изменила таблицу разделов на диске и привет.</p>
<p>Пришла на помощь чудесная волшебная и бесплатная программа Tdisk! Ей я в висте полечил диск, восстановил разделы и диск стал работать нормально, но только в висте, а в Mac os перестал показывать и сам диск и таблицу разделов в Дисковой утилите. Вобщем, засада. Tdisk не захотел лечить, но все же саму таблицу нашел.</p>
<p>Пришлось ручками переписывать таблицу раздела через терминал. Вдруг кому пригодится, выкладываю текстовочку инструкции, чтобы если что не париться =)</p>
<p><span id="more-78"></span></p>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">sudo pdisk /dev/disk1</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">pdisk: No valid block 1 on &#8216;/dev/disk1&#8242;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Edit /dev/disk1 -</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Command (? for help): ?</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Notes:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  Base and length fields are blocks, which vary in size between media.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  The base field can be &lt;nth&gt;p; i.e. use the base of the nth partition.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  The length field can be a length followed by k, m, g or t to indicate</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  kilo, mega, giga, or tera bytes; also the length can be &lt;nth&gt;p; i.e. use</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  the length of the nth partition.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  The name of a partition is descriptive text.</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Commands are:</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  C    (create with type also specified)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  c    create new partition (standard type)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  d    delete a partition</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  h    help</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  i    initialize partition map</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  n    (re)name a partition</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  P    (print ordered by base address)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  p    print the partition table</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  q    quit editing</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  r    reorder partition entry in map</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  s    change size of partition map</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  t    change a partition&#8217;s type</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">  w    write the partition table</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Command (? for help): c</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">No partition map exists</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Command (? for help): i</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">A physical block is 512 bytes: </div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">A logical block is 512 bytes: </div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">size of &#8216;device&#8217; is 976773168 blocks (512 byte blocks): 976510944</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">new size of &#8216;device&#8217; is 976510944 blocks (512 byte blocks)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Command (? for help): c</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">First block: 262208</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Length in blocks: ^C</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">118312056:~ ivanmolcanov$ sudo pdisk /dev/disk1</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">pdisk: No valid block 1 on &#8216;/dev/disk1&#8242;</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Edit /dev/disk1 -</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Command (? for help): c</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">No partition map exists</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Command (? for help): i</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">A physical block is 512 bytes: </div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">A logical block is 512 bytes: </div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">size of &#8216;device&#8217; is 976773168 blocks (512 byte blocks): </div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">new size of &#8216;device&#8217; is 976773168 blocks (512 byte blocks)</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Command (? for help): c</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">First block: 262208</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Length in blocks: 976510944</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Name of partition: rec_part</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Command (? for help): w</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Writing the map destroys what was there before. Is that okay? [n/y]: y</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">The partition table has been altered!</div>
<div id="_mcePaste" style="position: absolute; left: -10000px; top: 174px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;">Command (? for help): q</div>
<p> </p>
<p>1. Запускаем  Tdisk и находим на нужном диске потерянный раздел.</p>
<p>В моем случае Tdisk выдал следующее: </p>
<p> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;">Disk /dev/disk1 &#8211; 500 GB / 465 GiB &#8211; CHS 976773168 1 1                          </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;">     Partition               Start        End    Size in sectors                </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;">P HFS                       262208  976773151  976510944   </p>
<p> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;"> </p>
<p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica;"><span style="font-family: Georgia; line-height: 19px;">2. В терминале пишем (то что пишем жирным отмечено, то что он пишет &#8211; курсивом)</span> </p>
<p><strong>sudo pdisk /dev/disk1</strong></p>
<p><em>pdisk: No valid block 1 on &#8216;/dev/disk1&#8242;</em></p>
<p><em>Edit /dev/disk1 -</em></p>
<p><em>Command (? for help): ?</em> <strong>c</strong></p>
<p><em>No partition map exists</em></p>
<p><em>Command (? for help): </em><strong>i</strong></p>
<p><em>A physical block is 512 bytes: </em>(тут жмем ввод, если совпадает)</p>
<p><em>A logical block is 512 bytes: </em>(тут жмем ввод, если совпадает)</p>
<p><em>size of &#8216;device&#8217; is 976773168 blocks (512 byte blocks):</em> (тут жмем ввод, если совпадает)</p>
<p><em>new size of &#8216;device&#8217; is 976510944 blocks (512 byte blocks)</em></p>
<p><em>Command (? for help):</em> <strong>c</strong></p>
<p><em>First block: </em><strong>262208</strong></p>
<p><em>Length in blocks: </em><strong>976510944</strong></p>
<p><em>Name of partition: </em><strong>rec_part </strong>(пишем любое)</p>
<p><em>Command (? for help):</em> <strong>w</strong></p>
<p><em>Writing the map destroys what was there before. Is that okay? [n/y]:</em> <strong>y</strong></p>
<p><em>The partition table has been altered!</em></p>
<p><em>Command (? for help): </em><strong>q</strong></p>
<p>3. Наслаждаемся =) У меня все заработало</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.imolchanov.ru/2009/10/kak-ya-hdd-hfs-pod-mac-lechil/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

