tag:blogger.com,1999:blog-77333260561408204592024-03-16T11:53:09.373-07:00TechRemindersAnonymoushttp://www.blogger.com/profile/03793056507656850236noreply@blogger.comBlogger2125tag:blogger.com,1999:blog-7733326056140820459.post-64359774489006243342012-12-08T12:56:00.000-08:002012-12-08T13:42:48.826-08:00Add physical disk to VMware Fusion guest OSThis was not a big deal on VMware Workstation on my old Windows laptop, however today I realized that I'm unable just to add any external physical hard drive (attached to one of the USB ports) to VMware Fusion on my Mac.<br />
<br />
After a few minutes of goggling, I realized that I have to create a <b>.vmdk</b> file that will represent a connection to my external hard drive and then add it to my guest OS container.<br />
<br />
So, here is a step-by-step guide about how to add a physical HDD or SSD to your guest OS under Mac OS X 10.8 (should be work fine on 10.7 and 10.6 I suppose):<br />
<div>
<ol>
<li>First of all we should to figure out our hard drive name:</li>
<div class="separator" style="clear: both; text-align: center;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWqFa2oDSVkIEUGUhrlrbXU9arvwlptzebfSqrrJ_xrCNlFN2vrp3u62pg7E5DcJwXbBHQeD888gShs3YkrCS85-wmKQMGiqn9RwYndf3FTAsxhFsLMGLW_JwPku7OF1BzD38F4NQvpB0T/s1600/Screen+Shot+2012-12-08+at+7.10.36+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhWqFa2oDSVkIEUGUhrlrbXU9arvwlptzebfSqrrJ_xrCNlFN2vrp3u62pg7E5DcJwXbBHQeD888gShs3YkrCS85-wmKQMGiqn9RwYndf3FTAsxhFsLMGLW_JwPku7OF1BzD38F4NQvpB0T/s1600/Screen+Shot+2012-12-08+at+7.10.36+PM.png" height="278" width="320" /></a></div>
<ol>
<li>launch <b>Disk Utility </b>(select <b>Finder</b>, click on the <b>Go</b> menu, select <b>Utilities</b>, launch <b>Disk Utility.app</b>)</li>
<li>select your hard drive and press <b>Info</b> button on the top-left.</li>
<li>remember<b> Disk Identifier</b> specified in the Information window (<b>"disk1</b>" in my case).</li>
</ol>
<li>Fire up Terminal.app (it is also located in the Utilities folder)</li>
<li>Change current directory in Terminal to the WMware.app Contents/Library folder (you can simply copy and paste the following line: <b>cd "/Applications/VMware Fusion.app/Contents/Library/"</b>)</li>
<li>Now we should create a <b>.vmdk</b> file that will point to our external hard drive:</li>
<ol>
<li>paste the following line into the terminal (change <b>disk1</b> to the disk name you've found in the step 1):<br />./vmware-rawdiskCreator create /dev/<b>disk1</b> fullDevice ~/external-hdd ide</li>
<li>This will create a new <b>external-hdd.vmdk</b> file in your home folder.</li>
</ol>
<li>OK, we're almost done. Now let's find our VMware guest os container and add to it just created link to our hard drive.<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJEPOYqOdjsB6bN7t_qGYvyZ5yKAl5UKmkL1KIiH36lQ4yvsQYNihOGX0UxhzCdkKreA44cYqkeUyoQ4_ww_4aImtT35IhINeU8SFIbjG5X-HW6nTi78ZzYnC2_iehC4u8v1ZAo_VYY5Bg/s1600/Screen+Shot+2012-12-08+at+11.53.43+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"></a></li>
<ol>
<li>open <b>Finder</b> and go to a folder where your virtual machines are located. (<b>Documents › Virtual Machines</b> in my case)</li>
<li>do a right click on desired Virtual Machine to display a pop-up menu, select "Show Package Contents" this will allows us to view a directory with all corresponding files to this VM.</li>
<li>move or copy <b>external-hdd.vmdk</b> from your home folder into this one</li>
<li>do a right click on a file named like current VM with .vmx extension, select Open With › TextEdit<br /><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJEPOYqOdjsB6bN7t_qGYvyZ5yKAl5UKmkL1KIiH36lQ4yvsQYNihOGX0UxhzCdkKreA44cYqkeUyoQ4_ww_4aImtT35IhINeU8SFIbjG5X-HW6nTi78ZzYnC2_iehC4u8v1ZAo_VYY5Bg/s1600/Screen+Shot+2012-12-08+at+11.53.43+PM.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgJEPOYqOdjsB6bN7t_qGYvyZ5yKAl5UKmkL1KIiH36lQ4yvsQYNihOGX0UxhzCdkKreA44cYqkeUyoQ4_ww_4aImtT35IhINeU8SFIbjG5X-HW6nTi78ZzYnC2_iehC4u8v1ZAo_VYY5Bg/s1600/Screen+Shot+2012-12-08+at+11.53.43+PM.png" height="211" width="320" /></a></li>
<li>scroll to the end of file, add following lines:<br /><b>ide1:1.present = "TRUE"<br />ide1:1.fileName = "external-hdd.vmdk"</b></li>
<li>save and quit</li>
</ol>
<li>That's it, now you can launch VM with attached external HDD or SDD!</li>
</ol>
</div>
BTW: If you want to boot from the external hard drive you've just attached, you have to modify boot order in the VMware BIOS.<br />
<br />
If you know easiest way to do the same task, share it in the comments.Anonymoushttp://www.blogger.com/profile/03793056507656850236noreply@blogger.com30tag:blogger.com,1999:blog-7733326056140820459.post-33611887084306727802012-12-08T07:40:00.000-08:002012-12-08T13:38:11.736-08:00Let's something new beginAlright, this is my first post here, I decide to write about a tech difficulties I face on every day basis.<br />
Also, please note that English is my second language, so I'll appreciate any feedback and corrections.<br />
<br />
So what I'm waiting for? Let's get started!<br />
<br />
<div class="separator" style="clear: both; text-align: left;">
<a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9e6-XOOKO9_d4aNaQnT7CNJIxWQM6tznMFjrilzpdGcml-xXg81nMrmYOOX8Wmc7dS9UiONr794OI349UMlnBlrsMWEYuwhZLfwE9N0ScW3mwt08WY7n2ZCVxGvnZ5t52ltkb4iJGrdsw/s400/Bumbalinas+big+burger+II.jpg" imageanchor="1" style="clear: left; float: left; margin-bottom: 1em; margin-right: 1em;"><img border="0" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh9e6-XOOKO9_d4aNaQnT7CNJIxWQM6tznMFjrilzpdGcml-xXg81nMrmYOOX8Wmc7dS9UiONr794OI349UMlnBlrsMWEYuwhZLfwE9N0ScW3mwt08WY7n2ZCVxGvnZ5t52ltkb4iJGrdsw/s400/Bumbalinas+big+burger+II.jpg" height="149" width="200" /></a></div>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;"><br /></span>
<span style="font-size: x-small;">Photo by <a href="http://bumbalinainwonderland.blogspot.com/" target="_blank">Bumbalina In Wonderland</a></span>Anonymoushttp://www.blogger.com/profile/03793056507656850236noreply@blogger.com0