<?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>:: TechBlog :: &#187; windows</title>
	<atom:link href="http://techblog.touchbasic.com/html/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://techblog.touchbasic.com/html</link>
	<description>Techblog is collection of articles covering a wide variety of tech related topics including: Linux, Microsoft, Google, web development, web design, open source, wordpress, security, and more.</description>
	<lastBuildDate>Fri, 06 May 2011 00:58:22 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>How to increase the size of a VMware vmdk file formatted as linux lvm</title>
		<link>http://techblog.touchbasic.com/html/how-to-increase-the-size-of-a-vmware-vmdk-file-formatted-as-linux-lvm/</link>
		<comments>http://techblog.touchbasic.com/html/how-to-increase-the-size-of-a-vmware-vmdk-file-formatted-as-linux-lvm/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 05:03:33 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Code]]></category>
		<category><![CDATA[Everything]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[fdisk]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[lvm]]></category>
		<category><![CDATA[virtual disk]]></category>
		<category><![CDATA[vista]]></category>
		<category><![CDATA[vmdk]]></category>
		<category><![CDATA[vmware]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/?p=293</guid>
		<description><![CDATA[VMware can run many cool operating systems on a single host computer. But, having run the software for an extended amount of time, i eventually always run out of space on my guest OSes. This happened a few times before, but it wasn&#8217;t until my VM really froze up on me that i figured it [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.vmware.com">VMware</a> can run many cool operating systems on a single host computer. But, having run the software for an extended amount of time, i eventually always run out of space on my guest OSes. This happened a few times before, but it wasn&#8217;t until my VM really froze up on me that i figured it was time to look into extending or expanding the current virtual disk i had in use.</p>
<p><strong>Have you ever tried increasing the size of a vmdk file / virtual hard disk ?</strong><br />
<em>It&#8217;s not that easy.. and it&#8217;s kind of confusing.</em></p>
<p>So, once i finally figured out how to do it, i thought it would be useful to write it down so that i wouldn&#8217;t forget next time this happened. Here goes..</p>
<p><strong>In my example i have: </strong><br />
- a Windows Vista host OS running a <a href="http://fedoraproject.org/">Fedora Core</a> guest OS<br />
- an 8GB vmdk file (formatted as Linux LVM &#8211; fedora fs) on the guest OS which i have backed up before attempting anything here !!! </p>
<p><strong>I want to:</strong><br />
- increase the 8GB vmdk file to 16GB<br />
- not lose any data saved on the vmdk file<br />
- not move any data off/on the vmdk file</p>
<h2>Follow these Steps:</h2>
<ol>
<li>Download and Install: <a href="http://downloads.vmware.com/d/details/workstation_6_5_3_for_windows/dHdiZHdodGJAJXQ=">VMware Workstation for Windows</a> (trial)</li>
<li>Note the location of the VMware Workstation folder (after install) &#8211; in my case it&#8217;s &#8220;C:\Program Files\VMware\VMware Workstation&#8221;</li>
<li>Open a Windows Command Prompt and navigate to the folder where your vmdk file resides and execute the following command:<br /><code>"C:\Program Files\VMware\VMware Workstation\vmware-vdiskmanager.exe" -x 16GB "Name of Your Virtual Disk File.vmdk"</code><br />Ok, now you just made the disk twice as big but you can&#8217;t use the space yet because it&#8217;s inactive, unpartitioned, unformatted, and still utterly useless to us. (but not for long)</li>
<li>Next, boot up the guest OS and log in as root. Verify that there is in fact a large amount of unallocated space/sectors by typing the command: <code>fdisk -l</code></li>
<li>Then we&#8217;ll partition and format the new portion of the disk. First select the disk: <code>fdisk /dev/sda</code></li>
<li>Type &#8220;n&#8221; at the fdisk menu to create a new partition</li>
<li>Type &#8220;p&#8221; for primary partition, and then select the appropriate partition number, as well as first and last cylinders to set how large to make the new partition (defaults &#8211; ie: use all the free space &#8211; worked well for me here)</li>
<li>Type &#8220;t&#8221; to change the partition&#8217;s system id, then type &#8220;8e&#8221; to switch it to Linux LVM </li>
<li>Type &#8220;w&#8221; to write the table to disk and exit fdisk. You might get a warning about needing to reboot for changes to take effect &#8211; either way, reboot your guest OS just to be safe.</li>
<li>Once rebooted, log in as root again and verify  the new partition exists. Type &#8220;fdisk -l&#8221; to see a list of partitions. In my case, the new partition is: /dev/sda3</li>
<li>Now comes the confusing part. We&#8217;re going to merge the new partition into the current Volume Group (which is just what fedora calls it&#8217;s own virtual disks that are made up of a bunch of virtual LVM partitions). So, first, to &#8220;create&#8221; the necessary &#8220;physical volume&#8221; from our newly created disk partition (/dev/sda3) first type: <code>pvcreate /dev/sda3</code></li>
<li>You need to find out the name of the Volume Group before you can extend it to include the newly created physical volume. Type: <code>vgdisplay</code> and look for the first line, &#8220;VG Name&#8221; &#8211; in this case it was VolGroup00 [<a href="http://techblog.touchbasic.com/html/how-to-increase-the-size-of-a-vmware-vmdk-file-formatted-as-linux-lvm/#comment-36074">thanks agm</a>]</li>
<li>Next, you need to extend the Volume Group to include the newly created physical volume. Type: <code>vgextend VolGroup00 /dev/sda3</code></li>
<li>Then, type: <code>pvscan</code> You should see the new partition (/1dev/sda3) in the list of partitions and the total should read approximately 16GB (the amount we set earlier). In my example, it said 15.75GB</li>
<li>Now type: <code>lvextend -L+8GB /dev/VolGroup00/LogVol00</code> to increase / extend the Logical Volume by 8GB (to a total of 16GB).</li>
<li>Finally, to resize the filing system type: <code>resize2fs /dev/VolGroup00/LogVol00</code></li>
</ol>
<p>Now your fedora guest OS should have twice the amount of space and your VM should be running smoothly.<br />
Repeat this process if / when the vmdk file gets filled up again and runs out of space ;)</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/how-to-increase-the-size-of-a-vmware-vmdk-file-formatted-as-linux-lvm/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>Windows Metafile Crib Sheet</title>
		<link>http://techblog.touchbasic.com/html/windows-metafile-crib-sheet/</link>
		<comments>http://techblog.touchbasic.com/html/windows-metafile-crib-sheet/#comments</comments>
		<pubDate>Wed, 04 Jan 2006 20:02:44 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Research]]></category>
		<category><![CDATA[bug-fix]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[patch]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[wmf]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/?p=160</guid>
		<description><![CDATA[[ page last updated: Jan. 06, 2006. ] [ update: Microsoft has finally released it's Security update for WMF vulnerability. To apply the patch, simply visit the Windows Update web site, automatically scan for updates and install. ] Thanks Fuzzie for bringing this to my attention. The purpose of this article is to clearly lay [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color:#bbb;margin-bottom:15px;">[ page last updated: Jan. 06, 2006. ]</span></p>
<p style="margin-bottom:15px;">[ <span class="under">update</span>: Microsoft has finally released it's <a href="http://www.microsoft.com/athome/security/update/bulletins/200601_WMF.mspx">Security update for WMF vulnerability</a>. To apply the patch, simply visit the Windows Update web site, automatically scan for updates and install. ] <span style="color:#bbb;">Thanks <a style="color:#bbb;" href="http://techblog.touchbasic.com/html/windows-metafile-crib-sheet/#comments">Fuzzie</a> for bringing this to my attention.</span></p>
<p>The purpose of this article is to clearly lay out all the information i could find on the recent Windows exploit, namely the WMF (Windows Metafile) vulnerability. Instead of adding to the current state of panic, my hope is that this post will help to clear up some of the apparent contradictions surrounding this issue and provide a kind of reference in the decision making process (ie: overall severity and what actions to take).</p>
<p>I&#8217;ll begin with a brief overview of the current state of affairs:</p>
<p>A Windows Metafile (WMF) &#8211; is a 16-bit metafile that can be used by all versions of Windows to display a picture. Similar to a .jpeg, .gif or bitmap.</p>
<p>A Metafile &#8211; is simply a list of commands that can be executed to draw a graphic. Normally, these commands are used to style objects such as lines, polygon and text. In this case, the WMF is being used to trigger potentially malicious code (ex: trojans).</p>
<p>For more background on Windows Metafile you can read the Wikipedia definition <a href="http://en.wikipedia.org/wiki/Windows_Metafile">here</a>.</p>
<p>i was also planning on quickly going over the events that have unfolded in reaction to the news about the widespread potential of this type of exploit. However, it turns out that the Wikipedia, once again, has done this job for me (and probably better than i could have done). If you&#8217;re late on the scene for this whole thing, i recommend you spend a few minutes reviewing <a href="http://en.wikipedia.org/wiki/Windows_Metafile_vulnerability">that page</a> as well.</p>
<p>Still, here&#8217;s a short list of the key points related to the most recent Windows Metafile Vulnerability: </p>
<ul>
<li>First reports of affected computers: December 28, 2005. [more info <a href="http://www.viruslist.com/en/alerts?alertid=176701669">here</a> and <a href="http://www.freshnews.com/news/computers-internet/article_29005.html">here</a>]</li>
<li>List of Vulnerable Systems: All versions of Windows. [ see full list <a href="http://www.securityfocus.com/bid/16074/info">here</a> ]</li>
<li>How it spreads: via email attachments [ although Microsoft is now <a href="http://www.securityfocus.com/archive/1/420770">saying otherwise</a> ] or even just loading a website with WMF graphics. Read more <a href="http://castlecops.com/a6445-WMF_Exploit_FAQ.html">here</a>.</li>
</ul>
<p>There seems to be some uncertainty surrounding the list of vulnerable systems. Some sources believe that older systems like Win95/98 and even WinME/2K can not easily be exploited in this manner. Read <a href="http://castlecops.com/t143179-WMF_Exploit_Major_Revision_In_Vulnerable_System_List.html">here</a>, <a href="http://www.grc.com/x/news.exe?utag=&#038;group=grc.securitynow&#038;xrelated=772&#038;cmd_last=+Prev+">here</a> and <a href="http://castlecops.com/t143163-Win98SE_will_not_install_the_WMF_HotFix.html">here</a> for more info.</p>
<p>Protection against this exploit -</p>
<ul>
<li>The Workaround according to Microsoft: unregistering the dll [ type: "regsvr32.exe /u shimgvw.dll" in the command prompt ]</li>
<li>The Unofficial Patch: by Ilfak Guilfanov version1.4 can be found <a href="http://www.grc.com/miscfiles/wmffix_hexblog14.exe">here</a>.</li>
<li>The Unofficial Patch: based on the fix by Ilfak Guilfanov can be found <a href="http://isc.sans.org/diary.php?compare=1&#038;storyid=1010">here</a>. [ .msi installer version 1.4 ]</li>
<li>The Unofficial Patch: developed by ESET version1.1 can be found <a href="http://www.eset.com/download/wmfpatch11.zip">here</a>. [ updated: Jan. 05, 2006. ( source: <a href="http://www.eweek.com/article2/0,1759,1908014,00.asp?kc=EWRSS03129TX1K0000614">eWEEK.com</a> ) ]</li>
</ul>
<p>The best description of what these fixes actually do to your system can be found <a href="http://www.section66.com/handlers/WMF.pdf">here</a> [.pdf format]</p>
<p>Additional Notes -</p>
<ul>
<li>This is not an actual virus outbreak [it is an exploit, meaning just leaving your pc online but unpatched does not guarantee that you will be attacked].</li>
<li>Some people have reported minor &#8220;issues&#8221; related to installing this patch such as <a href="http://seclists.org/lists/fulldisclosure/2006/Jan/0058.html">printing problems</a>.</li>
<li>There is already a Microsoft patch available that is a pre-release which leaked onto the internet this morning and is said to be tested on Winxp/2k3 systems, but every link i&#8217;ve found was broken and had the file taken offline. For those interested, the file was named WindowsXP-KB912919-x86-ENU.exe and i&#8217;m sure it will surface again sooner or later.</li>
<li>McAfee has added <a href="http://vil.nai.com/vil/content/v_137760.htm">WMF exploit detection</a> to its latest DAT file, which can detect exploits created by <a href="http://vil.nai.com/vil/content/v_137846.htm">this tool</a>.</li>
<li>ESET claims its <a href="http://www.eset.com/download/trial.htm">NOD32 anti-virus</a> stops hackers from using all 206/206 tested WMF vulnerability exploits. They offer a 30-day trial version of their software which would protect you from this exploit &#8220;without having to take any special actions&#8221;, according to ESET (presumably until Microsoft releases an official fix). [ updated: Jan. 05, 2006. ]</li>
</ul>
<p>That&#8217;s all i could find at this time. Hope it helps in some way.</p>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/windows-metafile-crib-sheet/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
		</item>
		<item>
		<title>Windows to Linux: Baby Steps.</title>
		<link>http://techblog.touchbasic.com/html/windows-to-linux-baby-steps/</link>
		<comments>http://techblog.touchbasic.com/html/windows-to-linux-baby-steps/#comments</comments>
		<pubDate>Thu, 11 Aug 2005 23:11:27 +0000</pubDate>
		<dc:creator>elran</dc:creator>
				<category><![CDATA[Everything]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[linux alternatives]]></category>
		<category><![CDATA[Open Source]]></category>
		<category><![CDATA[operating systems]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://techblog.touchbasic.com/html/?p=125</guid>
		<description><![CDATA[Every so often, i get myself into an uncomfortable situation that involves me trying to explain to someone why <em>they</em> should to switch from Windows to Linux. It goes something like this, "because it's faster, more secure, ..." --- but for some reason i just never know where to begin. I end up either confusing the person or just scaring them off with too much technical jargon.

I thought it would be a good idea to make a list that compared Windows to Linux softwares, side-by-side. That way, i could describe the difference between the two operating systems in terms that people were already familiar with. Try <a href="http://www.mozilla.org/products/firefox/">Firefox</a> instead of Internet Explorer, <a href="http://www.openoffice.org/">Open Office</a> instead of Microsoft Office, <a href="http://www.mozilla.org/products/thunderbird/">Thunderbird</a> instead of Outlook Express.. and so on.]]></description>
			<content:encoded><![CDATA[<p>Every so often, i get myself into an uncomfortable situation that involves me trying to explain to someone why <em>they</em> should to switch from Windows to Linux. It goes something like this, &#8220;because it&#8217;s faster, more secure, &#8230;&#8221; &#8212; but for some reason i just never know where to begin. I end up either confusing the person or just scaring them off with too much technical jargon.</p>
<p>I thought it would be a good idea to make a list that compared Windows to Linux softwares, side-by-side. That way, i could describe the difference between the two operating systems in terms that people were already familiar with. Try <a href="http://www.mozilla.com/en-US/firefox/">Firefox</a> instead of Internet Explorer, <a href="http://www.openoffice.org/">Open Office</a> instead of Microsoft Office, <a href="http://www.mozilla.org/products/thunderbird/">Thunderbird</a> instead of Outlook Express.. and so on.</p>
<p><span id="more-125"></span></p>
<p>All of these alternative softwares are free to download (there&#8217;s a good reason, right?) and can be installed on a system running Windows. The idea was to prepare the person for an eventual switch to Linux. So if those 3 applications are the only ones you even use, go ahead and give them a try. You too could be running a Linux desktop in the near future.</p>
<p>Unfortunately, these days the vast majority of Windows users demand a lot more out of their desktop systems. When comparing softwares for things like sound, gaming, viewing dvds, and different graphics editors &#8211; there may not always be a clear Linux alternative. I was relieved to find out that there is a site called <a href="http://www.grokdoc.net/index.php/Main_Page">Grokdoc</a> that has taken on the challenge of maintaining such a list, so i guess i won&#8217;t have to. Lucky me.</p>
<p>If you were looking for a starting point, i would recommend the page entitled: <a href="http://www.grokdoc.net/index.php/Switching_to_Linux">Switching to Linux</a>, which is a very complete step by step for first timers. It does a good job of bringing together info from many different sources. There is also a page called <a href="http://www.grokdoc.net/index.php/Application_Crossover_Chart">Application Crossover Chart</a>, that does a side-by- side comparison of softwares with links to many Linux alternatives, but there isn&#8217;t as much description, so it is more useful to have just as a reference.</p>
<p>I guess i&#8217;ll end off by quoting what someone once told me when i first starting asking about Linux:</p>
<blockquote><p>&#8220;Just read a lot.&#8221;</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://techblog.touchbasic.com/html/windows-to-linux-baby-steps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

