<?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>Broes &#187; Uncategorized</title>
	<atom:link href="http://www.broes.nl/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.broes.nl</link>
	<description>Mac OS X Widgets and more!</description>
	<lastBuildDate>Wed, 02 Nov 2011 13:30:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>De mooiste (portret)fotografie</title>
		<link>http://www.broes.nl/2008/09/de-mooiste-portretfotografie/</link>
		<comments>http://www.broes.nl/2008/09/de-mooiste-portretfotografie/#comments</comments>
		<pubDate>Tue, 23 Sep 2008 10:22:50 +0000</pubDate>
		<dc:creator>Broes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.broes.nl/?p=37</guid>
		<description><![CDATA[Kortgeleden was ik bij een nichtje van mij –Janneke Walter– om éindelijk eens de foto&#8217;s te aanschouwen die ze tijdens een reis door Bolivia had geschoten. Ik wist dat ze ondertussen redelijk had geïnvesteerd in camera en lenzen en kon zien dat dat geld goed was besteed. De foto&#8217;s die het meest in het oog [...]]]></description>
			<content:encoded><![CDATA[<p>Kortgeleden was ik bij een nichtje van mij –Janneke Walter– om éindelijk eens de foto&#8217;s te aanschouwen die ze tijdens een reis door Bolivia had geschoten. Ik wist dat ze ondertussen redelijk had geïnvesteerd in camera en lenzen en kon zien dat dat geld goed was besteed.<br />
De foto&#8217;s die het meest in het oog sprongen waren de portretten, krachtig, scherp, met de gezichten prachtig uitgelicht tegen de achtergrond. Ik denk dat voor elk van ons geldt dat een krachtige portretfoto veel emoties kan losmaken en haar portretfoto&#8217;s doen dat absoluut.<br />
Ik was dan ook blij verrast toen ze me vertelde dat ze zelf ook overtuigd was geraakt van haar eigen kunnen, dat ze haar technische vaardigheden eindeloos had bijgeschaafd (ze is na de reis waarschijnlijk net zo lang bezig geweest met het verkrijgen van het &#8216;juiste&#8217; beeld per foto, heel perfectionistisch, als met de reis zelf), maar vooral: dat ze haar kennis en kunde graag als dienst wil aanbieden.<br />
Janneke werkt als <a href="http://nl.wikipedia.org/wiki/Optometrie">optometrist</a> en weet dus vanuit haar professie al &#8216;alles&#8217; over de fysische en biologische kant van licht, de ogen en de beeldverwerking door de hersenen. Haar professionele interesse in &#8220;beeldverwerking&#8221; gaat dus gepaard met een passie voor fotografie.<br />
Ondertussen heeft ze een aantal <a href="http://www.jannekewalter.nl">portretfoto&#8217;s</a> gemaakt, zoals ook op haar <a href="http://www.jannekewalter.nl">website</a> te zien is. Zelf zegt ze hierover: </p>
<blockquote><p>&#8220;Op de één of andere manier krijg ik het altijd voor elkaar om precies dát moment te vangen, waarop iemand stráált. Soms na een paar minuten, soms na een uur, maar altijd is er een moment tussen mij en mijn onderwerp dat er uitspringt en dat ik weet te vangen!&#8221;</p></blockquote>
<p>Volgens mij is dat precies haar kracht! Dus wilt u een prachtige, krachtige portretfoto van uzelf, met aandacht voor ú als mens, denk dan ook eens aan <a href="http://www.jannekewalter.nl">Janneke Walter (portret)fotografie</a>! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.broes.nl/2008/09/de-mooiste-portretfotografie/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restore an Apple Partition Map</title>
		<link>http://www.broes.nl/2008/01/restore-an-apple-partition-map/</link>
		<comments>http://www.broes.nl/2008/01/restore-an-apple-partition-map/#comments</comments>
		<pubDate>Fri, 04 Jan 2008 14:32:00 +0000</pubDate>
		<dc:creator>Broes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.broes.nl/1999/11/restore-an-apple-partition-map/</guid>
		<description><![CDATA[Update Nov 19, 2009 &#8212; I just came accross an open source piece of software that might do all of the manual work described below for you. It&#8217;s called TestDisk, open source data recovery software. I haven&#8217;t used it, but it looks very promising! &#8212; Original article, Jan 4, 2008 Say you&#8217;ve got an external [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Update Nov 19, 2009</strong><br />
&#8212; I just came accross an open source piece of software that might do all of the manual work described below for you. It&#8217;s called <a href="http://www.cgsecurity.org/wiki/TestDisk">TestDisk, open source data recovery software</a>.<br />
I haven&#8217;t used it, but it looks very promising! &#8212;</p>
<p><strong>Original article, Jan 4, 2008</strong><br />
Say you&#8217;ve got an external harddisk in a Firewire or USB enclosure. It&#8217;s Apple Partition Map (APM) partitioned and contains a couple of HFS+ Journaled formatted volumes. You&#8217;re happily using it on your Mac and for some reason you&#8217;ve decided to hook it up to a Windows PC. You&#8217;ve installed <a href="http://www.mediafour.com/products/macdrive/">MacDrive</a> on it, but somehow it doesn&#8217;t recognize the volumes that are on it. You check the <a href="http://support.microsoft.com/kb/309000">Disk Management tool</a> and you notice a red stop sign on the external drive. When you right-click the symbol, you&#8217;re able to &#8220;initialize&#8221; the drive. You hesitate for a second, but decide it must mean something like &#8220;just start the damn thing up, so that it works&#8221; (later on you know that this must have been your weakest moment of that day, maybe even the entire week, but at this &#8220;moment suprême&#8221; you feel it&#8217;s the only choice). And then, disaster strikes. Cause &#8220;initialize&#8221; means <a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/dm_initialize_disk.mspx?mfr=true">something entirely else</a>. The Disk Management tool has just overwritten the APM with a <a href="http://en.wikipedia.org/wiki/Master_boot_record">Master Boot Record</a> (MBR) and all partition information seems lost.<br />
That is exactly what happened to me last week. After extensive searches on the internet, the only option seemed to be to buy and use a data restore/recovery program like Disk Warrior II, which meant copying/restoring/recovering the full 250GB of info to another harddisk, which I don&#8217;t have. It seemed wrong, the only thing gone was the partition information, the data was still there, why should I spend money on: a) software; b) hardware; to recover &#8220;undamaged&#8221; data?<br />
Then I found <a href="http://ubuntuforums.org/showthread.php?p=113181">this post on Ubuntuforums.org</a> and it made me see the light.<br />
Before you start doing anything I recommend reading through all below-mentioned steps and then decide whether you can do this. Furthermore note that the disk I used was originally partitioned using an <a href="http://en.wikipedia.org/wiki/Apple_partition_map">Apple Partition Map</a>. Recent (Intel) Macs have been formatted using <a href="http://en.wikipedia.org/wiki/GUID_Partition_Table">GUID Partition Table</a> (GPT) and I have <em>no clue at all</em> whether this will work on GPT drives.<br />
<span id="more-34"></span></p>
<ol>
<li>Attach the drive to the Mac (using either USB or Firewire). <strong>Don&#8217;t</strong> initialize the drive when asked (cause you want to write as little as possible to the drive to avoid data corruption). To be safe, disconnect other external drives from your Mac. The fewer mistakes you <em>can</em> make, the fewer you <em>will</em>.</li>
<li>Install <a href="http://www.macintosh-data-recovery.com/">StellarPhoenix</a>. Follow the <a href="http://www.macintosh-data-recovery.com/mac-root-user.php">instructions</a> on enabling the &#8220;root&#8221; user. <strong>Warning: this has serious security implications! Know what you do when enabling the &#8220;root&#8221; user. I for sure can&#8217;t guarantee that even StellarPhoenix is virus/malware free!</strong></li>
<li>Relogon with the &#8220;root&#8221; user and start StellarPhoenix.</li>
<li>When you&#8217;re lucky, StellarPhoenix instantly finds the Logical Volumes. When it does, skip the next step, else&#8230;</li>
<li>Scan the disk (which needs to be restored&#8230;) for Logical Volumes. To do so, double click the Physical Disk and choose &#8220;Scan for Logical Volumes&#8221;.</li>
<li>Write down the name of the found partition (e.g. something like &#8220;Apple_HFS_Untitled_1&#8243;) and type (e.g. &#8220;HFS+&#8221;). Double click the found partition, you&#8217;ll be presented with three options. Under the second option <em>&#8220;Advanced Scan&#8221;</em> is the blue highlighted text <em>&#8220;selected region&#8221;</em>. Click on <em>&#8220;selected region&#8221;</em> and write down the information (start and end sectors). Be sure to write them down <em>exactly</em> the same! Repeat this step for every found partition that is on the external disk.</li>
<li>You now have a list of partitions with: name, type, start sector, end sector. If you don&#8217;t, repeat the steps until you have exactly this information.</li>
</ol>
<p>Now comes the tricky part. You have to use the Terminal and &#8220;pdisk&#8221; or &#8220;fdisk&#8221; to manually recreate the partition information. I&#8217;ve used &#8220;pdisk&#8221; as I found it to be easier to use than &#8220;fdisk&#8221;, so that is what I&#8217;ll show you to use here. Proceed with caution!</p>
<ol start="8">
<li>I logged out from the &#8220;root&#8221; account and logged in to my own account, don&#8217;t know why, but it &#8220;felt better&#8221;. I know&#8230; I guess the difference is whether you need to use &#8220;sudo&#8221; (to become the root) to execute the next commands.</li>
<li>Open up the Terminal, and execute <code>sudo pdisk</code>. It&#8217;ll ask you for your  root password, so be polite and give it to the Terminal. <em>(Be aware that the Terminal is like a very loyal dog: it&#8217;ll do exactly what you&#8217;re telling it. But don&#8217;t make jokes, cause it doesn&#8217;t understand them. Tell it to kill all your files and it&#8217;ll do it. Loyal, but stupid. Like a dog.)</em></li>
<li>You&#8217;ll be presented with <code>Top level command (? for help):</code>. Enter <code>?</code> to get acquainted with what pdisk can do for you.</li>
<li>Enter <code>L</code> to list the partition information of all attached disks. This is what it told me (and this will probably screw up the layout):</li>
</ol>
<pre>pdisk: No valid block 1 on '/dev/rdisk1' 

Partition map (with 512 byte blocks) on '/dev/rdisk0'
 #:                type name                   length   base     ( size )
 1: Apple_partition_map Apple                      63 @ 1
 2:          Apple_Free                        262144 @ 64       (128.0M)
 3:           Apple_HFS Apple_HFS_Untitled_1 77877936 @ 262208   ( 37.1G)
 4:          Apple_Free                            16 @ 78140144
Device block size=512, Number of Blocks=78140160 (37.3G)
DeviceType=0x0, DeviceId=0x0 

Top level command (? for help):</pre>
<p>As you can see my <code>/dev/rdisk1</code> is screwed up. What you need to do now is recreate the partition information. Look at the above output of pdisk and try to understand how it relates to the information you&#8217;ve written down before. As you can see, the APM itself exists as the first entry in the table as</p>
<pre>#:                type name                   length   base     ( size )
1: Apple_partition_map Apple                      63 @ 1</pre>
<p>The next entry (#2 Apple_Free) starts (base) at (64) the <em>base</em> (1) plus <em>length</em> (63) of the preceding entry. This holds true for every entry. The <em>length</em> of an entry is the base of the <em>next</em> entry minus the base of the entry. The length of the last entry is the size of the disk in blocks minus the base of the entry. So how does this relate to the <em>name, type, start sector, end sector</em> list you made earlier? I suspect you already understand, but here it goes.</p>
<ul>
<li><em>Name</em>, I won&#8217;t explain.</li>
<li>If the <em>type</em> is <coded>HFS+</coded>, it&#8217;ll relate to <code>Apple_HFS</code> and you&#8217;ll be fine, otherwise you&#8217;re in bigger trouble and you need to find out what the type definition of that volume is.</li>
<li><em>Start sector</em>, relates to the <em>base</em>.</li>
<li>The <em>length</em> you can find by subtracting the <em>start sector</em> from the <em>end sector</em>.</li>
</ul>
<p>Now, see whether this fits a certain pattern. In my case, I had two logical volumes of type HFS+, named Apple_HFS_Untitled_1 and Apple_HFS_Untitled_2. The space between the volumes was exactly 262144 blocks, so I presumed that each was preceded by an Apple_Free volume without a name and with a length of 262144 blocks. This also fit the start sector of the first volume, being 262208, exactly like my existing <code>/dev/rdisk0</code>. The space between the end sector of the last volume and the last block of the disk was exactly 16, so that would have to be the last Apple_Free volume. That made enough sense to me to procede.</p>
<ol start="12">
<li>I assume you still have Terminal opened and pdisk active. Enter <code>e /dev/rdisk1</code>. (Replace <code>/dev/rdisk1</code> with the right disk.)</li>
<li>Enter <code>p</code> to be sure you&#8217;re not screwing with the wrong disk. (It&#8217;s wrong when there actually <em>is</em> a partition map.)</li>
<li>Enter <code>i</code>. This will <em>initialize</em> a partition map. When it asks whether you really want to do this, enter <code>y</code>. Just enter <em>(press enter/return)</em> on physical block size, logical block size and size of device. Verify what you&#8217;ve just done by entering <code>p</code> again (it&#8217;s a good thing to verify every step you make). You&#8217;ll now see two entries in the partition map. The Apple_partition_map and an Apple_Free entry, which takes up the rest of the space. That&#8217;s quite convenient, cause this means that you won&#8217;t need to enter the Apple_Free volumes manually. I don&#8217;t think it matters that the Apple_Free volumes get the name &#8220;Extra&#8221;. If you do think it matters, you can remove the name using pdisk (hint: <code>n</code>).</li>
<li>Enter <code>c</code>, this will create a new volume of type Apple_HFS. Enter the <em>exact</em> start sector (base) of the first volume you&#8217;re recovering. Next, enter the length of the volume. Verify the result (<code>p</code>). Repeat this step for every volume to be recovered. When you want/need to manually fill out all volume properties, use <code>C</code> instead of <code>c</code>.</li>
<li>Verify the result for the last time. When you&#8217;re sure this is what you expected, enter <code>w</code>. When asked whether you&#8217;re sure, enter <code>y</code>.</li>
<li>Enter <code>q</code> until you&#8217;re back at the command prompt.</li>
</ol>
<p>By now, the volumes may have already been mounted and you&#8217;re jumping on your chair in joy. When they didn&#8217;t mount, unplug the external disk and plug it in again. When it still doesn&#8217;t work, something is wrong and you need to review what you&#8217;ve done in the preceding steps. When you come to the conclusion that you&#8217;ve done exactly what I described but it hasn&#8217;t helped, blame me, but I can not help you. Buy a license of a recovering tool, buy an extra harddisk and start recovering those files.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.broes.nl/2008/01/restore-an-apple-partition-map/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Just starting up</title>
		<link>http://www.broes.nl/2006/10/just-starting-up/</link>
		<comments>http://www.broes.nl/2006/10/just-starting-up/#comments</comments>
		<pubDate>Fri, 06 Oct 2006 13:20:31 +0000</pubDate>
		<dc:creator>Broes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.broes.nl/2006/10/just-starting-up/</guid>
		<description><![CDATA[Hey and welcome! As you can see this site is just starting up&#8230; Guess I&#8217;ll need to put a big &#8220;Under Construction&#8221; sign here, which is of course &#8220;so 90&#8242;s&#8221;. So I won&#8217;t. If you came here for the photo&#8217;s of the Milano furniture fair that were hosted here, too bad. They&#8217;re no longer here [...]]]></description>
			<content:encoded><![CDATA[<p>Hey and welcome! As you can see this site is just starting up&#8230; Guess I&#8217;ll need to put a big &#8220;Under Construction&#8221; sign here, which is of course &#8220;so 90&#8242;s&#8221;. So I won&#8217;t.<br />
If you came here for the photo&#8217;s of the Milano furniture fair that were hosted here, <strike>too bad. They&#8217;re no longer here and they won&#8217;t be again.</strike> then <a href="http://wwwold.broes.nl">here they are</a>!</p>
<p>When you&#8217;re looking for the NL Weerradar widget for MacOSX, just follow this <a href="http://widgets.broes.nl">link</a>, it&#8217;ll bring you right to it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.broes.nl/2006/10/just-starting-up/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

