<?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>Linux * Screw &#187; linux</title>
	<atom:link href="http://www.linuxscrew.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.linuxscrew.com</link>
	<description></description>
	<lastBuildDate>Thu, 15 Jul 2010 15:44:53 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=1396</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>The easiest way to split and merge pdf files in Ubuntu</title>
		<link>http://www.linuxscrew.com/2010/06/18/the-easiest-way-to-split-and-merge-pdf-files-in-ubuntu/</link>
		<comments>http://www.linuxscrew.com/2010/06/18/the-easiest-way-to-split-and-merge-pdf-files-in-ubuntu/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 06:09:17 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1087</guid>
		<description><![CDATA[The easiest way to split, merge or edit pdf files in Ubuntu is to use pdftk utility. This rather old (latest version was released in 2006) but still simple and powerful program can be installed in Ubuntu (Debian or any deb-family Linux distribution) by the following command in terminal:
sudo aptitude install pdftk
(if you run Fedora, [...]]]></description>
			<content:encoded><![CDATA[<p>The easiest way to split, merge or edit pdf files in Ubuntu is to use <a href="http://www.accesspdf.com/pdftk/">pdftk utility</a>. This rather old (latest version was released in 2006) but still simple and powerful program can be installed in Ubuntu (Debian or any deb-family Linux distribution) by the following command in terminal:</p>
<p><code>sudo aptitude install pdftk</code><br />
(if you run Fedora, RedHat or CentOS use this one: <code>sudo yum install pdftk</code>)</p>
<p><strong>Split large pdf into many one-page files:</strong></p>
<p><code>pdftk largepdfile.pdf burst</code></p>
<p>(as the result you will get many small files like pg_0001.pdf, pg_0002.pdf and so on).</p>
<p><strong>Merge files into one PDF file:</strong></p>
<p><code>pdftk *.pdf cat output onelargepdfile.pdf</code></p>
<p>pdftk is extremely powerful and makes it possible to do almost anything with input pdf files. Thus above two commands are just examples showing how to split and merge pdf files in Ubuntu easily.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/06/18/the-easiest-way-to-split-and-merge-pdf-files-in-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Split huge files in Ubuntu or any other Linux distro</title>
		<link>http://www.linuxscrew.com/2010/06/16/split-huge-files-using-ubuntu-linux/</link>
		<comments>http://www.linuxscrew.com/2010/06/16/split-huge-files-using-ubuntu-linux/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 15:10:18 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[ipod]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1072</guid>
		<description><![CDATA[Recently I&#8217;ve bought WD TV media player for streaming full HD movies (primarily in 1080p resolution) to my home TV from external storage like usb HDD or ipod classic. You might already know that size of average HD movie rip is more than 4GB (e.g. full HD Avatar movie image is literally 21 GB mkv [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve bought WD TV media player for streaming full HD movies (primarily in <a href="http://en.wikipedia.org/wiki/1080p">1080p</a> resolution) to my home TV from external storage like usb HDD or ipod classic. You might already know that size of average HD movie rip is more than 4GB (e.g. full HD <a href="http://www.imdb.com/title/tt0499549/">Avatar</a> movie image is literally 21 GB mkv file) so it&#8217;s just impossible to store such huge files on any <a href="http://en.wikipedia.org/wiki/File_Allocation_Table">FAT32</a> formatted HDD or ipod. My ipod classic 160 GB is windows formatted so it uses FAT32 filesystem where maximum file size is 4 GB. As far as ipod cannot be formatted into ext3 but still be able to play music (just sweet dreams) I have to <strong>split huge files</strong> to 3.99GB parts and store them to my ipod for later reassemble. When it&#8217;s time to watch the some HD movie stored at ipod it&#8217;s required to assemble those 3.99 GB parts into one solid file, transfer it to media player and then actually watch the movie.</p>
<p>Rather long preface but solution is quite simple. If u run <strong>Ubuntu</strong> you can try <strong><a href="http://lxsplit.sourceforge.net/">lxsplit</a></strong> utility for breaking files into parts (binary packages for other <strong>Linux</strong> distributions as well as source code are available at  lxsplit project&#8217;s <a href="http://lxsplit.sourceforge.net/">homepage</a>.):</p>
<p><code>sudo apt-get install lxsplit</code></p>
<p>In order to split some file in 3.99GB parts use the following command:</p>
<p><code>lxsplit -s /path/to/hugemoviefile.mkv 3999M</code></p>
<p>Depending on size of <em>hugemoviefile.mkv</em> you will get several parts <em>hugemoviefile.mkv.001</em>, <em>hugemoviefile.mkv.002</em> and so on stored in current directory. It means that if you&#8217;re going to store those parts on some external storage like ipod you can do the following:</p>
<p><code>cd /media/ipod/<br />
lxsplit -s /path/to/hugemoviefile.mkv 3999M</code></p>
<p>and hugemoviefile.mkv.001.. will saved in /media/ipod/ directory regardless where hugemoviefile.mkv is located.</p>
<p>Now coming to assembling procedure. It&#8217;s just as easy as splitting:</p>
<p><code>lxsplit -j hugemoviefile.mkv.001</code></p>
<p>Once done you will get <em>hugemoviefile.mkv</em> saved in current directory.</p>
<p><span style="color: #800000;"><em>Have  an interesting article? You&#8217;re welcome to <a href="mailto:artiomix@gmail.comREMOVETHIS">contact me</a> and get  it   published at <a href="http://www.linuxscrew.com">LinuxScrew.com</a>!</em></span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/06/16/split-huge-files-using-ubuntu-linux/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Linux as slave USB drive?</title>
		<link>http://www.linuxscrew.com/2010/06/11/linux-as-slave-usb-drive/</link>
		<comments>http://www.linuxscrew.com/2010/06/11/linux-as-slave-usb-drive/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 09:37:23 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[questions]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1068</guid>
		<description><![CDATA[Does anybody know if it&#8217;s possible to make Ubuntu/Linux laptop to work as a usb slave drive? Here are people who also need this but still didn&#8217;t find any workable solution: http://ubuntu-ky.ubuntuforums.org/showthread.php?p=7780737
]]></description>
			<content:encoded><![CDATA[<p>Does anybody know if it&#8217;s possible to make Ubuntu/Linux laptop to work as a usb slave drive? Here are people who also need this but still didn&#8217;t find any workable solution: <a href="http://ubuntu-ky.ubuntuforums.org/showthread.php?p=7780737">http://ubuntu-ky.ubuntuforums.org/showthread.php?p=7780737</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/06/11/linux-as-slave-usb-drive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Access to real Cisco routers and switches for free</title>
		<link>http://www.linuxscrew.com/2010/06/09/access-real-cisco-routers-and-switches-for-free/</link>
		<comments>http://www.linuxscrew.com/2010/06/09/access-real-cisco-routers-and-switches-for-free/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 06:54:15 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[cisco]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[sites]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1054</guid>
		<description><![CDATA[Preparing for Cisco certification exam and need real equipment required to accomplish all those CCNA or CCNP labs? That&#8217;s not a problem any more. This is due to availability of Packet Tracer for Linux and Community Lab hosted by people behind packetlife.net. As for Packet Tracer it supports Linux natively now &#8212; Cisco offers it [...]]]></description>
			<content:encoded><![CDATA[<p>Preparing for Cisco certification exam and need real equipment required to accomplish all those CCNA or CCNP labs? That&#8217;s not a problem any more. This is due to availability of <a href="http://www.cisco.com/web/learning/netacad/course_catalog/PacketTracer.html">Packet Tracer</a> for Linux and <strong>Community Lab</strong> hosted by people behind <a href="http://www.packetlife.net">packetlife.net</a>. As for Packet Tracer it supports Linux natively now &#8212; Cisco offers it as deb package for Ubuntu or Debian and there is no need to use Wine to get <a href="http://www.linuxscrew.com/2007/10/16/running-cisco-packet-tracer-in-linux/">Packet Tracer working in Linux</a>. Try searching the web for &#8220;packet tracer deb&#8221; and I am sure you&#8217;ll find where to download desired file shortly (we do not share pirated content here).</p>
<p>Anyways sometimes Packet Tracer as like as <a href="http://dynagen.org/">dynamips</a>/<a href="http://www.gns3.net">gns3</a> are not a panacea when it&#8217;s necessary to emulate mid-sized network or test some specific ios features on <strong>real Cisco devices</strong>. There are several options: the first and the easiest one means to buy Cisco device. But we all know that Cisco&#8217;s pricing policy is far away from democratic in application to individual users so even used or refurbished Cisco router/switch will cost enough to think about another option. Second option is to schedule access to <a href="http://packetlife.net/lab/"><strong>Community Lab at packetlife.net</strong></a>. Nice to know the access to it is absolutely free so anyone can get logon to Cisco routers, switches or ASAs once user reached his/her timeslot. Here is the list of hardware you can have access to (there are multiple devices of the same model):</p>
<p><strong><a href="http://www.cisco.com/en/US/products/ps6120/index.html">Cisco ASA 5505</a><br />
<a href="http://www.cisco.com/en/US/products/ps5881/index.html">Cisco 2811</a> (2xWIC-2T)<br />
<a href="http://www.www.cisco.com/en/US/products/ps5875/" class="broken_link" >Cisco 1841</a> (1xWIC-2T)<br />
<a href="http://www.cisco.com/en/US/products/hw/switches/ps646/index.html"> Cisco Catalyst 3550-24</a></strong></p>
<p>Not bad for free lab as for me. The lab is broken into two blocks so user can reserve only one block or both blocks simultaneously. This is to make it possible to access the lab by multiple users simultaneously. Devices are connected to each other according to predefined topology &#8212; see separate diagrams for Ethernet and Serial connections below (they are split to prevent overhead on the graph I guess). All documentation as well as FAQs can be found here: <a href="http://packetlife.net/wiki/packet-life-community-lab/">here</a> and <a href="http://packetlife.net/wiki/community-lab-faq/">here</a>. Thanks to <a href="http://packetlife.net/users/stretch/">Jeremy Stretch</a>.</p>
<p style="text-align: center;"><a href="http://packetlife.net/media/wiki/attachments/6/3/lab_topology_ethernet.png"><img class="aligncenter" title="packetlife community lab ethernet topology" src="/files/lab_topology_ethernet.png" alt="packetlife community lab ethernet topology" /></a></p>
<p style="text-align: center;">&nbsp;</p>
<p style="text-align: center;"><a href="http://packetlife.net/media/wiki/attachments/7/5/lab_topology_serial.png"><img class="aligncenter" title="packetlife community lab serial topology" src="/files/lab_topology_serial.png" alt="packetlife community lab serial topology" /></a></p>
<p>P.S. By the way if you can share any other similar labs allowing people on the web to access Cisco (or some other networking devices) &#8212; you are welcome to share this information here. Thanks!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/06/09/access-real-cisco-routers-and-switches-for-free/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>radiotray: online radio player for Ubuntu</title>
		<link>http://www.linuxscrew.com/2010/05/19/radiotray-online-radio-player-for-ubuntu/</link>
		<comments>http://www.linuxscrew.com/2010/05/19/radiotray-online-radio-player-for-ubuntu/#comments</comments>
		<pubDate>Wed, 19 May 2010 17:56:22 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1016</guid>
		<description><![CDATA[Just came across smart ubuntu online radio client &#8212; radiotray. As it comes from its name radiotray sits in Ubuntu&#8217;s system tray and just plays online radio (see the screenshot taken on my Ubuntu Lucid Lynx). You can of course stop playing or select different channel (there are four channels coming by default). I found [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright" title="radiotray" src="/files/radiotray.png" alt="radiotray" />Just came across smart <strong>ubuntu online radio</strong> client &#8212; <a href="http://sourceforge.net/projects/radiotray/">radiotray</a>. As it comes from its name <strong>radiotray</strong> sits in Ubuntu&#8217;s system tray and just plays online radio (see the screenshot taken on my Ubuntu Lucid Lynx). You can of course stop playing or select different channel (there are four channels coming by default). I found this utility useful when working as it doesn&#8217;t required to keep in RAM such monster like <a href="http://amarok.kde.org">amarok</a> just for listening the radio. Nice and simple application.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/19/radiotray-online-radio-player-for-ubuntu/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Create Encrypted Filesystem Within a File (truecrypt way)</title>
		<link>http://www.linuxscrew.com/2010/05/08/create-encrypted-filesystem-within-a-file-truecrypt-way/</link>
		<comments>http://www.linuxscrew.com/2010/05/08/create-encrypted-filesystem-within-a-file-truecrypt-way/#comments</comments>
		<pubDate>Sat, 08 May 2010 08:18:59 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[applications]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1034</guid>
		<description><![CDATA[Some time ago I&#8217;ve written an article named 16 GB encrypted candy file describing how to create encrypted filesystem within regular file. After quick research it became clear that cryptoloop is vulnerable and there is open exploit available on the web: see it here (thanks to everybody who commented that article). So I don&#8217;t recommend to [...]]]></description>
			<content:encoded><![CDATA[<p>Some time ago I&#8217;ve written an article named <a href="http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/">16 GB encrypted candy file</a> describing how to create encrypted filesystem within regular file. After quick research it became clear that <a href="http://www.spiritus-temporis.com/cryptoloop/">cryptoloop</a> is vulnerable and there is open exploit available on the web: see it <a href="http://www.securiteam.com/exploits/5UP0P1PFPM.html">here</a> (thanks to everybody who commented that article). So <strong>I don&#8217;t recommend to use cryptoloop</strong> but instead take a look at <strong><a href="http://www.truecrypt.org/">truecrypt</a></strong> that makes it possible not only to encrypt whole storage but also to create encrypted file just like I&#8217;ve described in <a href="../2010/05/05/16-gb-encrypted-candy/">16 GB  encrypted candy file</a> article.</p>
<p><span id="more-1034"></span>Truecrypt is cross platform disk/file encryption software that is available for windows, mac os and linux. In order to get started visit <a href="http://www.truecrypt.org/">www.truecrypt.org</a> site and download the latest version of this software (<a href="http://www.truecrypt.org/download/truecrypt-6.3a-linux-x86.tar.gz">direct link</a>) and install it:</p>
<p><code>cd /usr/src<br />
sudo -s<br />
wget -c  http://www.truecrypt.org/download/truecrypt-6.3a-linux-x86.tar.gz<br />
tar -xvzf truecrypt-6.3a-linux-x86.tar.gz<br />
./truecrypt-6.3a-setup-x86<br />
exit</code></p>
<p>When installation is finished you will see Trucrypt item in Gnome menu (if not or use different X manager &#8212; type truecrypt in command line). Here how it looks like:</p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/Screenshot-TrueCrypt.png" alt="truecrypt" /></p>
<p>In order to create encrypted file press &#8220;Create Volume&#8221; button and follow instructions:</p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr1.png" alt="truecrypt" /></p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr2.png" alt="truecrypt" /></p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr3.png" alt="truecrypt" /></p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr4.png" alt="truecrypt" /></p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr5.png" alt="truecrypt" /></p>
<p>Use long passwords like &#8220;e07910a06a086c83ba41827aa00b26ed&#8221; instead of &#8220;123&#8243; or &#8220;iloveyou&#8221;:</p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr6.png" alt="truecrypt" /></p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr7.png" alt="truecrypt" /></p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr8.png" alt="truecrypt" /></p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr9.png" alt="truecrypt" /></p>
<p>Once encrypted candy is created you can store it on usb flash drive or elsewhere, it doesn&#8217;t matter how that storage is formatted &#8212; it can be CD or windows formatter ipod.</p>
<p>Use the same utility to open the file &#8212; press &#8220;Select File&#8221; and point to newly created encrypted file, then choose first slot and select &#8220;Mount Volume&#8221; in drop down menu (it will ask for your sudo password and then password you typed when created the file):</p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr10.png" alt="truecrypt" /></p>
<p>As the result encrypted filesystem will be mounted into /media/truecrypt1 directory:</p>
<p style="text-align: center;"><img class="aligncenter" title="truecrypt" src="/files/tr10.png" alt="truecrypt" /></p>
<p>Copy your sensitive files there and unmount /media/truecrypt1 when done (select &#8220;Dismount&#8221; in drop down menu).<br />
Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/08/create-encrypted-filesystem-within-a-file-truecrypt-way/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install Google Chrome (Chromium) on Ubuntu Lucid Lynx</title>
		<link>http://www.linuxscrew.com/2010/05/08/install-google-chrome-chromium-ubuntu-lucid-lynx/</link>
		<comments>http://www.linuxscrew.com/2010/05/08/install-google-chrome-chromium-ubuntu-lucid-lynx/#comments</comments>
		<pubDate>Sat, 08 May 2010 06:46:51 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1025</guid>
		<description><![CDATA[There are several approaches to install Google Chrome browser for Linux (another name Chromium) in Ubuntu Lucid Lynx. According to the first approach you can download deb package compatible with Ubuntu Lucid Lynx just from Google Chrome website (direct link to deb) and get it installed using dpkg command line utility or gdebi (just open [...]]]></description>
			<content:encoded><![CDATA[<p><img class="size-full wp-image-834  alignright" title="google-chrome-os-logo" src="http://www.linuxscrew.com/wp-content/uploads/2009/07/google-chrome-os-logo.jpg" alt="" width="174" height="200" />There are several approaches to install <strong>Google Chrome</strong> browser for <strong>Linux</strong> (another name <strong>Chromium</strong>) in <a href="https://wiki.ubuntu.com/LucidLynx"><strong>Ubuntu Lucid Lynx</strong></a>. According to the first approach you can download deb package compatible with Ubuntu Lucid Lynx just from <a href="http://www.google.com/chrome?platform=linux">Google Chrome website</a> (<a href="http://dl.google.com/dl/linux/direct/google-chrome-beta_current_i386.deb">direct link to deb</a>) and get it installed using <a href="http://en.wikipedia.org/wiki/Dpkg"><em>dpkg</em></a> command line utility or <a href="http://en.wikipedia.org/wiki/Gdebi"><em>gdebi</em></a> (just open downloaded deb file with double-click).</p>
<p>Currently it is available as a beta so every time Google upgrades their <a href="http://dl.google.com/dl/linux/direct/google-chrome-beta_current_i386.deb"><em>google-chrome-beta_current_i386.deb</em></a> package you will need to download fresh one and install it again over existing package. This is not so effective as using apt package manager with Google Chrome repository for easy installation and automatic upgrades.</p>
<p>Once you installed Ubuntu Lucid Lynx on your computer and connected it to Internet open terminal (command line) and type there the following:</p>
<p><code>sudo aptitude update<br />
sudo aptitude install google-chrome-beta</code></p>
<p>This will install the latest version of Google Chrome (Chromium) browser and also will keep it up to date (Ubuntu checks for updates periodically and will notify you if fresh packages are available). Instead of using command line you can try Synatic Package manager that comes with Ubuntu Lucid Lynx by default and makes it possible to select packages to install without any commands. To open it go to System &#8211;&gt; Administration &#8211;&gt; Synaptic Package Manager, mark google-chrome-beta for installation and press Apply button. In a few minutes Google Chrome will be installed and appear in Applications &#8211;&gt; Internet Gnome menu.</p>
<p>As for me Chrome is much more faster than other browser I&#8217;ve been using for a long time like Firefox and Opera but due to lack of extensions I wouldn&#8217;t recommend Google Chrome as primary browser. The most important extension for me is Nagios checker that is still in early stage of development for Chrome. Anyway here is official repository of Chrome extensions: <a href="https://chrome.google.com/extensions">https://chrome.google.com/extensions</a>, there are not so many plugins as for Firefox but growing.</p>
<p style="text-align: center;"><img class="size-full  aligncenter" title="google chrome with linuxscrew.com" src="http://www.linuxscrew.com/files/google-chrome-linuxscrew.png" alt="google chrome with linuxscrew.com" />Good browsing with Google Chrome!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/08/install-google-chrome-chromium-ubuntu-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Install Windows after Ubuntu Lucid Lynx</title>
		<link>http://www.linuxscrew.com/2010/05/06/install-windows-after-ubuntu-lucid-lynx/</link>
		<comments>http://www.linuxscrew.com/2010/05/06/install-windows-after-ubuntu-lucid-lynx/#comments</comments>
		<pubDate>Thu, 06 May 2010 15:02:17 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=1001</guid>
		<description><![CDATA[Sh*t happens. There is no more applications to manage my 6th generation iPod Classic 160 GB under Linux/Ubuntu. I have to install Windows as the second operating system along with newly installed Ubuntu Lucid Lynx (it rocks but this is for another post) to run iTunes.
For rather long time I&#8217;ve been using gtkpod, amarok, banshee, exaile [...]]]></description>
			<content:encoded><![CDATA[<p>Sh*t happens. There is no more applications to manage my <a href="http://en.wikipedia.org/wiki/IPod_classic#Sixth_generation">6th generation </a><strong><a href="http://en.wikipedia.org/wiki/IPod_classic#Sixth_generation">iPod Classic 160 GB</a></strong> under L<strong>inux/<a href="http://www.ubuntu.com">Ubuntu</a></strong>. I have to install <strong>Windows </strong>as the <strong>second operating system</strong> along with newly installed <strong>Ubuntu Lucid Lynx</strong> (it rocks but this is for another post) to run <strong>iTunes</strong>.</p>
<p>For rather long time I&#8217;ve been using <a href="http://www.gtkpod.org">gtkpod</a>, <a href="http://amarok.kde.org">amarok</a>, <a href="http://banshee-project.org/">banshee</a>, <a href="http://www.exaile.org">exaile</a> or <a href="http://projects.gnome.org/rhythmbox/">rhythmbox</a> to sync my ipod under Linux/Ubuntu and load my music collection there. As we all know <del>The Elder Brother</del> <a href="http://www.apple.com">Apple</a> fights with interoperability and makes ipod/iphone users to use <a href="http://en.wikipedia.org/wiki/Itunes">iTunes</a> only. Any other applications that can read/write to ipod data format are prohibited by Apple. This also concerns <a href="http://www.rockbox.org">Rockbox</a> and <a href="http://ipodlinux.sourceforge.net/index.shtml">ipod4linux</a> alternative firmwares &#8212; once Apple encrypted ipod firmware it became impossible to use them. It definitely sucks. At least due to the fact there are millions of Linux users who are real or potential customers of Apple products. Anyways these facts have been discussed in various forums, blogs like <a href="http://mdeslaur.blogspot.com/2009/07/goodbye-apple.html">this</a> and similar but this post about how to install Windows as the second operating system along with Ubuntu or any other Linux.</p>
<p><a href="http://www.linuxscrew.com/wp-content/uploads/2010/05/gparted.png"><img class="alignright" title="gparted example" src="http://www.linuxscrew.com/wp-content/uploads/2010/05/gparted.png" alt="gparted example" width="177" height="121" /></a>The first that we need to do is to <strong>create new partition for Windows</strong> and format it to <strong><a href="http://www.ntfs.com/">NTFS</a></strong>. Exact steps to accomplish this depend on your HDD partition table e.g. there is one large <a href="http://en.wikipedia.org/wiki/Ext3">ext3</a>/<a href="http://en.wikipedia.org/wiki/Ext4">ext4</a> partition for Ubuntu or there are several partitions for various distributions or mount points. Anyway you should use partition manager to create and/or format NTFS partition. I use <a href="http://gparted.sourceforge.net/"><strong>gparted</strong></a>. It is graphical and it just works (use &#8216;<code>sudo apt-get install gparted</code>&#8216; if you run Ubuntu/Debian).</p>
<p>Second you should backup your <strong><a href="http://en.wikipedia.org/wiki/Master_boot_record">MBR</a></strong> record and restore it after Windows installation that silently erases existing bootloader and installs windows one, use &#8220;<code>dd if=/dev/sda of=/mbr.bin bs=446 count=1</code>&#8221; to save MRB into mbr.bin file and &#8220;<code>dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1</code>&#8221; to restore it from file to HDD.</p>
<p>To sum everything up here is the algorithm:</p>
<p>0. <strong>BACKUP ALL YOUR DATA!</strong><br />
1. <strong>Create NTFS partition</strong> using gparted.<br />
2. <strong>Backup MBR</strong> using <em>dd</em> command e.g. &#8220;dd if=/dev/sda of=/mbr.bin bs=446 count=1&#8243; (/dev/sda means your HDD).<br />
3. Boot Windows installation CD and <strong>install it onto newly created NTFS partition</strong>.<br />
4. Boot into Linux live CD  e.g. <a href="http://www.ubuntu.com/GetUbuntu/download">Ubuntu Live CD</a>.<br />
5. <strong>Restore MBR</strong> using <em>dd</em> e.g. &#8220;dd if=/media/sda/mbr.bin of=/dev/sda bs=446 count=1&#8243;.<br />
6. Reboot.<br />
7. Select Ubuntu in grub menu and boot it.<br />
8. <a href="http://www.cyberciti.biz/faq/grubconf-for-windows-vista-or-xp-dual-boot/">Setup <strong>grup for Windows</strong> booting</a>.</p>
<p>In order to accomplish the last 8th item you should add the following text block to the end of grub config (read <a href="http://www.cyberciti.biz/faq/grubconf-for-windows-vista-or-xp-dual-boot/">this article</a> for detailed information):</p>
<p><code>title Microsoft Windows XP<br />
root (hd0,1)<br />
savedefault<br />
makeactive<br />
chainloader +1</code></p>
<p>Good luck!</p>
<p>P.S. If something goes wrong or you need more details you can take a look at the following article at ubuntu.com: <a href="https://help.ubuntu.com/community/RecoveringUbuntuAfterInstallingWindows">Recovering Ubuntu After Installing Windows</a>. It&#8217;s written in rather tangled manner but still informative.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/06/install-windows-after-ubuntu-lucid-lynx/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>16 GB encrypted candy file</title>
		<link>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/</link>
		<comments>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/#comments</comments>
		<pubDate>Wed, 05 May 2010 15:01:50 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[backup]]></category>
		<category><![CDATA[centos]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[distros]]></category>
		<category><![CDATA[docs]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[hacks]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=994</guid>
		<description><![CDATA[Update: as far as cryptoloop is vulnerable and is not maintained I don&#8217;t recommend using below approach for creating encrypted for for those of you who require strong security. Use truecrypt to create encrypted filesystem within a file instead.
Today it came to my mind that it is time to make sensitive information stored on my [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #ff0000;"><strong>Update</strong></span>: as far as <a href="http://www.spiritus-temporis.com/cryptoloop/">cryptoloop</a> is vulnerable and is not maintained I don&#8217;t recommend using below approach for creating encrypted for for those of you who require strong security. Use <a href="http://www.linuxscrew.com/2010/05/08/create-encrypted-filesystem-within-a-file-truecrypt-way/">truecrypt to create encrypted filesystem within a file</a> instead.</p>
<p><img class="alignright" src="/files/passwords.txt.png" alt="passwords.txt" />Today it came to my mind that it is time to make sensitive information stored on my usb flash drive encrypted but still transportable and easy to use. But I don&#8217;t want to have whole my 32 GB usb drive fully encrypted using <em><a href="http://www.truecrypt.org/">truecrypt</a></em> or something similar. It is just toooo slow. I also don&#8217;t want to use <a href="http://en.wikipedia.org/wiki/GNU_Privacy_Guard">GPG</a> for uncompressing files and directories every time I would like to read them and then create new GPG compressed file every time I save changes. This eats too much of my time and system resources. At the same time it is necessary to be able to use  that usb drive under windows, mac, linux whatever (read/write files) but still have my directory structure with <strong>sensitive files encrypted</strong>. Here is the solution: create encrypted <strong>filesystem within a file</strong> named, say, 16GB.candy.bin that could be stored on regular windows formatted usb flash drive and then mounted under Linux <strong>using the password</strong>.</p>
<p>When it becomes necessary I can mount that 16GB.candy.bin as the regular ext3 filesystem with all those stuff like permissions, ownership etc. that is available on ext3 but not in <a href="http://en.wikipedia.org/wiki/File_Allocation_Table">FAT</a> or <a href="http://en.wikipedia.org/wiki/Ntfs">NTFS</a>. On my windows formatted flash drive candy takes only 16 GB so I can use the rest of space to store not so sensitive information like mp3, movies or photos. Moreover I <strong> </strong> on windows or linux to read it.</p>
<p>Let&#8217;s create that 16GB.candy.bin file with encrypted <strong><a href="http://en.wikipedia.org/wiki/Ext3">ext3</a></strong> filesystem (read below explanations below carefully before just to copy/paste commands into CLI):</p>
<p><code>[root@artemn root]# cd /path/to/candy/</p>
<p>[root@artemn root]# modprobe cryptoloop</p>
<p>[root@artemn root]# modprobe aes</p>
<p>[root@artemn root]# dd if=/dev/urandom of=16GB.candy.bin bs=1048576 count=16000</p>
<p>[root@artemn root]# losetup -e aes /dev/loop0 16GB.candy.bin</p>
<p>[root@artemn root]# mkfs.ext3 /dev/loop0</p>
<p>[root@artemn root]# tune2fs -i 0 -c 0 /dev/loop0</code></p>
<p>Here are some points: using above commands we create encrypted file of 16 GB so if you need to have more or less just change &#8220;count=16000&#8243; in <em>dd</em> line. &#8220;count=16000&#8243; means 16GB so &#8220;count=20&#8243; means 20MB. Path &#8216;/path/to/candy/&#8217; is for example only so you should change it to real directory that is able to host encrypted file (16 GB in above example). Command <em>losetup</em> is present in most Linux distributions (btw I recommend <strong><a href="http://www.ubuntu.com">Ubuntu</a> </strong>especially newly released <a href="http://en.wikipedia.org/wiki/Lucid_Lynx#Ubuntu_10.04_LTS_.28Lucid_Lynx.29">Lucid Lynx</a>) but if it is not use your disro&#8217;s packet manager to install it or compile from sources (for super geeks only, <a href="http://en.wikipedia.org/wiki/Stallman">Mr. Stallman</a> if you read this article &#8212; Hello). Reader, you can replace &#8220;/dev/urandom&#8221; in <em>dd</em> line with &#8220;/dev/zero&#8221; that will make that command to finish faster but will lower security level of resulting file (read about <a href="http://en.wikipedia.org/wiki/Advanced_Encryption_Standard">AES</a> for better understanding). You will need to enter the password when running <em>losetup</em> command so make sure it safe and long enough like &#8216;6U2sAsR37Hn8122dGsaPrew1twt&#8217; but not &#8216;abc123&#8242; or &#8216;iloveyou&#8217;.</p>
<p>Once commands are done you will get 16GB.candy.bin containing encrypted ext3 filesystem. You can store this file where ever you want, say, on a flash drive. If you loose it nobody won&#8217;t be able to open it until he (or she!) <a href="http://aceontech.com/2008/03/29/to-crack-17-character-aes-password-100-years-and-1-billion-dollars/">cracked AES encryption</a> (use long passwords to prevent this). As the next step it is required to mount filesystem and store some files/directories in it:</p>
<p><code>[root@artemn root]# mkdir -p /mnt/candy</p>
<p>[root@artemn root]# cd /path/to/candy/</p>
<p>[root@artemn root]# mount -t ext3 -o loop,encryption=aes 16GB.candy.bin /mnt/candy</p>
<p>[root@artemn root]# cd /mnt/candy</p>
<p>[root@artemn root]# #save files, edit them, view or anything you want</p>
<p>[root@artemn root]# cd /</p>
<p>[root@artemn root]# umount /mnt/candy</code></p>
<p>When you unmount 16GB.candy.bin the changes are already saved there so it&#8217;s not required to compress and encrypt anything unlike with GPG.</p>
<p>P.S. This post is inspired by <a href="http://nst.sourceforge.net/nst/docs/user/ch04s04.html">Loopback tricks</a> article. Thanks to the author. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/05/05/16-gb-encrypted-candy/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Fastest way to create ramdisk in Ubuntu/Linux</title>
		<link>http://www.linuxscrew.com/2010/03/24/fastest-way-to-create-ramdisk-in-ubuntulinux/</link>
		<comments>http://www.linuxscrew.com/2010/03/24/fastest-way-to-create-ramdisk-in-ubuntulinux/#comments</comments>
		<pubDate>Wed, 24 Mar 2010 12:08:04 +0000</pubDate>
		<dc:creator>artiomix</dc:creator>
				<category><![CDATA[howtos]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[tips]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.linuxscrew.com/?p=988</guid>
		<description><![CDATA[I hope many of you will agree that sometimes it&#8217;s really good idea to have some small amount of RAM mounted as a filesystem. It may be necessary when running some bash or perl script that handles, say, thousands of small files so it&#8217;s much more effective not to waste computer resources on reading/writing data [...]]]></description>
			<content:encoded><![CDATA[<p>I hope many of you will agree that sometimes it&#8217;s really good idea to have some small amount of RAM mounted as a filesystem. It may be necessary when running some bash or perl script that handles, say, thousands of small files so it&#8217;s much more effective not to waste computer resources on reading/writing data on hard disk but keep those files directly in memory. This idea is known as <a href="http://en.wikipedia.org/wiki/RAM_disk">Virtual RAM Drive</a> or <strong>ramdisk</strong> and can be setup in <strong>Ubuntu</strong> or almost any other <strong>Linux</strong> distribution using the following commands under root (to become root in Ubuntu use <code>"<strong>sudo -s</strong></code>&#8220;):</p>
<p># <strong>mkdir /tmp/ramdisk; chmod 777 /tmp/ramdisk</strong><br />
# <strong>mount -t tmpfs -o size=256M tmpfs /tmp/ramdisk/</strong></p>
<p>where 256M is amount of RAM you wish to allocate for ramdisk. It&#8217;s clear that this value should be <strong>less than amount of free memory</strong> (use &#8220;<code>free -m</code>&#8220;). BTW, if you specify too many MBs for ramdisk Linux will try to allocate it from RAM and then from swap so resulting performance would be very poor.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.linuxscrew.com/2010/03/24/fastest-way-to-create-ramdisk-in-ubuntulinux/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
