<?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>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; disk</title> <atom:link href="http://www.ghacks.net/tag/disk/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Fri, 10 Feb 2012 13:29:21 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>Why You Should Always Install Windows on Disk Zero</title><link>http://www.ghacks.net/2011/05/21/why-you-should-always-install-windows-7-on-disk-zero/</link> <comments>http://www.ghacks.net/2011/05/21/why-you-should-always-install-windows-7-on-disk-zero/#comments</comments> <pubDate>Sat, 21 May 2011 17:14:16 +0000</pubDate> <dc:creator>Mike Halsey MVP</dc:creator> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[disk]]></category> <category><![CDATA[install]]></category> <category><![CDATA[partition]]></category> <category><![CDATA[system]]></category> <category><![CDATA[vista]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[windows 7]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=45364</guid> <description><![CDATA[Windows has always had what many people believe to be an unconventional and frustrating method of addressing physical hard disks.  I&#8217;m talking here about drive letters.  These virtual constructs, I can only really describe them as that, are pointers to the actual names of the disks in your computer.  This works in a different way [...]]]></description> <content:encoded><![CDATA[<p>Windows has always had what many people believe to be an unconventional and frustrating method of addressing physical hard disks.  I&#8217;m talking here about drive letters.  These virtual constructs, I can only really describe them as that, are pointers to the actual names of the disks in your computer.  This works in a different way to Unix systems where the OS and the user both refer to the actual disk address.</p><p>This address does exist within Windows but it&#8217;s well hidden.  One time when you <em>will</em> see it though is when you install the operating system and with Windows 7 (and Vista) it is vitally important to make certain you choose the right one.</p><p>This wasn&#8217;t a problem even a few short years ago as computers only came with a single hard drive.  With the cost of hard drive storage still tumbling though and capacities increasing, it&#8217;s becoming more and more common to find two hard disks inside a new PC and even some high-end laptops.</p><p>These disks are labelled by Windows, Disc 0, Disc 1, Disc 2 and so on with Disc 0 (zero) being the critical one to the operating system.  This is the disc on which you really should install your copy of Windows.</p><p
style="text-align: center"><img
class="aligncenter size-full wp-image-45365" src="http://www.ghacks.net/wp-content/uploads/2011/05/F01xx01.bmp" alt="disk zero" width="516" height="396" /></p><p>There&#8217;s no hard and fast rule here that says you absolutely <em>must </em>install Windows on this drive, in fact it will boot merrily from any hard disk in your PC and from any partition on that drive.  Windows often places a 100Mb System partition at the beginning of Disk 0 though.  This hidden partition stores the boot information for your PC.  It&#8217;s completely separate from your Windows installation but absolutely critical.</p><p>The boot menu resides here, if you don&#8217;t have this partition you won&#8217;t be able to start your PC without detailed rebuilding of the boot system, if it&#8217;s even possible to do so as sometimes it&#8217;s not.  Either way the process is very technical and not for the faint of heart.</p><p>If you have this System partition on a separate physical hard disk to your copy of Windows you are doubling your chances that a hard disk failure will render your system unusable.  It might also be the case that you want to swap this disc out for a larger one, or remove it completely.  This can also render your copy of Windows unusable.</p><p>Hard disks, let&#8217;s not forget, are some of the very few remaining components in your PC to have mechanical moving parts (unless you&#8217;re lucky and rich enough to be able to afford a solid state disk).  The only other moving parts in your PC are fans if that&#8217;s any indication of how old the technology now is.  These moving parts can be placed under tremendous physical strain by heavy or prolonged use.</p><p>Let&#8217;s look at a hypothetical example here.  You have installed Windows 7 on Disc 1 in your computer.  This being the second physical hard disk inside the case.  Disc 0 will always carry the System boot partition so if either one of those hard disks fails you lose access to your copy of Windows.</p><p>If you instead install your copy of Windows on Disc 0 (zero) then the other disc can fail and you&#8217;ll not lose access to your copy of Windows.  Let&#8217;s not forget that on a dual hard disk system the disc that doesn&#8217;t contain a copy of Windows will commonly be used for file storage.</p><p>It&#8217;s an easy error to install Windows Vista or Windows 7 onto the wrong physical disc.  Perhaps the leads have been swapped onto the motherboard ports during maintenance or the build of the PC so that the disk on the top of the pile in the case, the one you&#8217;d assume was disc 0 now isn&#8217;t.  Alas the only way around the problem should issues occur with this is a complete reinstall, which can take many hours when you factor in all your software and settings changes.</p><p>So the next time you come to install a copy of Windows Vista or Windows 7, have a good look at the list of available disks and partitions, and make certain you choose Disc 0 for your installation.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2011/05/21/why-you-should-always-install-windows-7-on-disk-zero/feed/</wfw:commentRss> <slash:comments>10</slash:comments> </item> <item><title>Save disk space with UPX</title><link>http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/</link> <comments>http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/#comments</comments> <pubDate>Wed, 28 Apr 2010 13:11:32 +0000</pubDate> <dc:creator>Ronan Jouchet</dc:creator> <category><![CDATA[Hacking]]></category> <category><![CDATA[Knowledge]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[compress]]></category> <category><![CDATA[disk]]></category> <category><![CDATA[executables]]></category> <category><![CDATA[save]]></category> <category><![CDATA[space]]></category> <category><![CDATA[upx]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=24952</guid> <description><![CDATA[Disk space is cheap, but there are still situations where you&#8217;d like to reclaim space. For me, one of them is getting the maximum of the free Dropbox account I use to synchronize my applications between work and home. hey, don&#8217;t say my sysadmin I do this, he&#8217;d get a heart attack from the sole [...]]]></description> <content:encoded><![CDATA[<p>Disk space is cheap, but there are still situations where you&#8217;d like to reclaim space. For me, one of them is getting the maximum of the free Dropbox account I use to synchronize my applications between work and home. <em>hey, don&#8217;t say my sysadmin I do this, he&#8217;d get a heart attack from the sole thought of a virus among my tools collection</em>.</p><p>Of course {zip/rar}ing everything is a no-go; nobody wants to have to open an archive before being able to launch an application. So what?<br
/> <span
id="more-24952"></span>Enter UPX, the reference packer for executable files. UPX compresses executable files (mostly .exe and .dll under Windows), but contrarily to zip/rar/whatever, it keeps them executable, also preserving  their properties (icon, version&#8230;). All this at the cost of a completely unnoticeable performance hit when starting the application. Sounds good? Let&#8217;s compress everything executable in this Dropbox that is dangerously close to reaching its 2GB limit.</p><ol><li><a
href="http://upx.sourceforge.net/#download">Download UPX</a> from SourceForge and extract it to &lt;upxFolder&gt;.</li><li>Open a command prompt and browse to &lt;upxFolder&gt; (you can find the command prompt in Start &gt; Accessories or run it via Windows+R, then &#8220;cmd&#8221;. Use &#8220;cd FolderName&#8221; to navigate the filesystem).</li><li>Run upx.exe to have a look at the options available. I&#8217;ll use -9 but you can adjust this (for example if you feel a performance hit on an old machine &#8211;<em>I don&#8217;t</em>&#8211;), and -v to have verbose output. Now, navigate to the folder of a program you want to compress and run your freshly-baked command:<br
/> <code>"&lt;upxFolder&gt;\upx.exe" -9 -v *.exe *.dll</code><br
/> (replace &lt;upxFolder&gt; adequately, and keep the quotes around the path, or spaces will cause problems)</li><li>You&#8217;ll see the files being compressed, the compression ratio, as well as the occasional &#8220;<em>AlreadyPackedException: already packed by UPX</em>&#8220;, or &#8220;<em>CantPackException: .NET files (win32/net) are not yet supported</em>&#8220;, or &#8220;<em>IOException: read error: Invalid argument</em>&#8220;. These errors are all OK, UPX just notifies you that it left the file untouched.</li></ol><p>Woot, you already gained 50MB by just compressing big ol&#8217;Inkscape.<br
/> <a
rel="attachment wp-att-24921" href="http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/inkscape/"><img
class="alignnone size-full wp-image-24921" src="http://www.ghacks.net/wp-content/uploads/2010/04/inkscape.png" alt="" width="547" height="306" /></a></p><p>Of course you now want to do this on ALL the executables in a folder. But you&#8217;re lazy, and the perspective of running this line inside hundreds of subfolders leaves you bleak. Lucky you, I&#8217;m lazy too, so I dug <a
href="http://stackoverflow.com/questions/2043869/how-to-execute-a-windows-batch-command-recursively">Stack Overflow</a> to assemble a script that will do the operation recursively.</p><ol><li>Paste this in a text file (of course adjusting the main line like we did before) you will rename to something like upxRecursive.bat<br
/> <code>for /r /d %%x in (*) do (<br
/> pushd "%%x"<br
/> "&lt;upxFolder&gt;\upx.exe" -9 -v *.exe *.dll<br
/> popd<br
/> )<br
/> pause</code></li><li>Move this batch file inside your Dropbox folder, launch it and see the magic. This will take a long time on a big folder filled with executable files, but will seriously slim it down. In my case, I saved 400MB (from 1.7GB to 1.3GB), leaving me with plenty of space for more crap.</li></ol><p><strong>Final notes:</strong></p><ul><li>UPX has been in development for a long time and is praised for its extreme stability and reliability, but could possibly leave you with some exotic executable files that won&#8217;t run after compression. I personally never occurred to me, but accidents happen. In this case, use <code>"&lt;upxFolder&gt;\upx.exe" -d problematicFile.exe</code> to get an uncompressed version. Note it won&#8217;t be byte-identical, if you want to be able to get back to byte-identical versions, you should add the <code>--exact</code> switch at compression time.<br
/> By the way, the folks at <a
href="http://portableapps.com/">PortableApps.com</a> pack all the software they release with UPX. Reassured about its reliability?</li><li>People familiar with <a
href="http://en.wikipedia.org/wiki/Portable_Executable">the win32/pe format</a> will know that .exe and .dll are not its only valid extensions. The full list is &#8220;.exe .dll .cpl .ocx .sys .scr .drv&#8221;. However, I don&#8217;t recommend compressing sensitive files like control panel extensions or driver files, and this is why the line I suggest targets only dll and exe files. Compressing VLC is OK because you can reinstall it if UPX butchers it. Compressing critical software is not.</li><li>I&#8217;m just repeating my previous point, but don&#8217;t want to see angry comments from people doing crazy things with this. Again, <span
style="text-decoration: underline"><strong>don&#8217;t do this on all C: , it -will- wreck your system</strong></span>. Compress executables when you really need it, and inside folders containing only reinstallable applications if things go wrong.</li><li>UPX is multi-platform. My article focuses heavily on Windows because this is the platform where my use case comes from, but you can of course adjust this idea/script for Linux (plus you will probably have access to a saner scripting language than batch).</li><li><em><strong>EDIT</strong>: as pointed by John T. Haller in the comments, PortableApps offers <a
href="http://portableapps.com/apps/utilities/portableapps.com_appcompactor">AppCompactor</a>, a graphical frontend  that relies among others on UPX.</em></li></ul><p><em>Ronan is a geek and musician living in Montreal. He likes scaring wary sysadmins with 2GB folders full of false positives and writes about  software, music and life at <a
href="http://www.flyingmolehill.com/">flying  molehill</a>.</em></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2010/04/28/save-disk-space-with-upx/feed/</wfw:commentRss> <slash:comments>8</slash:comments> </item> <item><title>Defraggler a defragmentation software</title><link>http://www.ghacks.net/2007/10/03/defraggler-a-defragmentation-software/</link> <comments>http://www.ghacks.net/2007/10/03/defraggler-a-defragmentation-software/#comments</comments> <pubDate>Wed, 03 Oct 2007 20:10:34 +0000</pubDate> <dc:creator>Martin Brinkmann</dc:creator> <category><![CDATA[Operating Systems]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tools]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[ccleaner]]></category> <category><![CDATA[defraggler]]></category> <category><![CDATA[defragmentation]]></category> <category><![CDATA[disk]]></category> <category><![CDATA[fragmentation]]></category> <category><![CDATA[hard-drive]]></category> <category><![CDATA[recuva]]></category> <guid
isPermaLink="false">http://www.ghacks.net/2007/10/03/defraggler-a-defragmentation-software/</guid> <description><![CDATA[The makers of CCleaner and Recuva have created a new software called Defraggler which is a defragmentation software for Microsoft Windows 2000 up to Windows Vista. Defraggler introduces some new features that most - if not all - other defragmentation softwares are missing.]]></description> <content:encoded><![CDATA[<p>The makers of CCleaner and Recuva have created a new software called Defraggler which is a defragmentation software for Microsoft Windows 2000 up to Windows Vista. Defraggler introduces some new features that most &#8211; if not all &#8211; other defragmentation softwares are missing.</p><p>It is for instance possible to get a visual analysis of the fragmentation level of a folder or file. While it is nice to know it would not make much sense if the software would not take advantage of this feature. Defraggler makes it possible to just defrag a folder or file instead of defragmenting the complete drive.</p><p>This is of course considerably faster than defragmenting the whole hard drive and useful if you want to work with a certain application. As far as I can tell it is not faster or slower than any of the other defragmentation tools out there but as I said, the new feature makes it stick out from the rest.</p><p><span
id="more-2082"></span><img
src="http://www.ghacks.net/files/screens/2007/10/defraggler.jpg" alt="defraggler file defragmentation software" /></p><p><strong>Read More:</strong></p><p><a
href="http://www.piriform.com/defraggler">Defraggler</a></p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2007/10/03/defraggler-a-defragmentation-software/feed/</wfw:commentRss> <slash:comments>9</slash:comments> </item> </channel> </rss>
