<?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>Vendetta Solutions Notebook</title>
	<atom:link href="http://vendettasolutions.com/notebook/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://vendettasolutions.com/notebook</link>
	<description>Techlog,blog,notebook whatever you want to call it</description>
	<lastBuildDate>Mon, 08 Mar 2010 01:54:27 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>gentoo -&gt; ubuntu</title>
		<link>http://vendettasolutions.com/notebook/?p=168</link>
		<comments>http://vendettasolutions.com/notebook/?p=168#comments</comments>
		<pubDate>Mon, 08 Mar 2010 01:54:27 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[Site Concepts]]></category>
		<category><![CDATA[deluge]]></category>
		<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[snort]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=168</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/web2_0_small.png" width="16" height="16" alt="web2 0 small gentoo  > ubuntu"  title="gentoo  > ubuntu" /><br/>]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/web2_0_small.png" width="16" height="16" alt="web2 0 small gentoo title="gentoo  > ubuntu" /> ubuntu"  title="gentoo  > ubuntu" /><br/><p>As much as I love gentoo, I just don&#8217;t have the time to invest anymore.  Every upgrade creates more work for me.  </p>
<p>List of programs I&#8217;ll require:<br />
Deluge<br />
Flexget<br />
Samba<br />
Apache<br />
Php5<br />
Mysql<br />
Snort<br />
Ssh<br />
Proftp<br />
Screen3<br />
Mplayer<br />
Vlc<br />
Win32codecs<br />
Win64codecs<br />
Playstation Media Server and/or Firefly Media Server<br />
Sqlite3 &#8212; flexget needs it, i prefer mysql.</p>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=168</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>autoresuming emerges</title>
		<link>http://vendettasolutions.com/notebook/?p=166</link>
		<comments>http://vendettasolutions.com/notebook/?p=166#comments</comments>
		<pubDate>Sat, 07 Nov 2009 03:38:17 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[howtos]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=166</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small autoresuming emerges"  title="autoresuming emerges" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small autoresuming emerges"  title="autoresuming emerges" /><br/>emerge [package] &#124;&#124; until emerge --resume --skipfirst; do emerge --resume --skipfirst; done
after all packages are emerged that can be (that didn&#8217;t error out)
run
emerge -pv [package]
to see the failed packages.

*note: replace [package] with the package you want to emerge (open-office for example)
]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small autoresuming emerges"  title="autoresuming emerges" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small autoresuming emerges"  title="autoresuming emerges" /><br/><p><code>emerge [package] || until emerge --resume --skipfirst; do emerge --resume --skipfirst; done</code><br />
after all packages are emerged that can be (that didn&#8217;t error out)<br />
run<br />
<code>emerge -pv [package]</code><br />
to see the failed packages.<br />
<em><br />
*note: replace [package] with the package you want to emerge (open-office for example)</em></p>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=166</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>tab-completion for portage tools</title>
		<link>http://vendettasolutions.com/notebook/?p=162</link>
		<comments>http://vendettasolutions.com/notebook/?p=162#comments</comments>
		<pubDate>Sat, 07 Nov 2009 03:10:50 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[howtos]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=162</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small tab completion for portage tools"  title="tab completion for portage tools" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small tab completion for portage tools"  title="tab completion for portage tools" /><br/>Step 1: Set bash-completion USE flag

grep -q 'USE\([:space:]\)*=.*bash-completion' /etc/make.conf &#124;&#124; sed --in-place -e 's/USE\([:space:]\)*="/USE="bash-completion /g' /etc/make.conf

Step 2a: updating world
If you had to add the use flag, you will now want to update world to ensure all necessary packages are using it.
emerge -uN world
Step 2b: emerging needed ebuilds
emerge -av bash-completion gentoo-bashcomp
This will emerge the packages you [...]]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small tab completion for portage tools"  title="tab completion for portage tools" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small tab completion for portage tools"  title="tab completion for portage tools" /><br/><p><strong>Step 1</strong>: Set <em>bash-completion</em> <a href="http://www.gentoo.org/dyn/use-index.xml">USE</a> flag<br />
<code><br />
grep -q 'USE\([:space:]\)*=.*bash-completion' /etc/make.conf || sed --in-place -e 's/USE\([:space:]\)*="/USE="bash-completion /g' /etc/make.conf<br />
</code></p>
<p><strong>Step 2a</strong>: updating world<br />
If you had to add the use flag, you will now want to update world to ensure all necessary packages are using it.<br />
<code>emerge -uN world</code></p>
<p><strong>Step 2b</strong>: emerging needed ebuilds<br />
<code>emerge -av bash-completion gentoo-bashcomp</code><br />
This will emerge the packages you need bash-completion (programmable completion for BASH) and gentoo-bashcomp (gentoo-based BASH CLI completions)</p>
<p><strong>Step 3</strong>: editing the bashrc<br />
since most portage tools are primarily for root we&#8217;ll add the bash completion line (bash-completion recommends adding this to <em>~/.bashrc</em> normally) on a more global scale by placing it in <em>/etc/bash/bashrc</em><br />
<code>echo "[[ -f /etc/profile.d/bash-completion ]] &#038;&#038; source /etc/profile.d/bash-completion" >>/etc/bash/bashrc<br />
source /etc/bash/bashrc<br />
</code></p>
<p><strong>All Done!</strong></p>
<p>basic usage would look like so:<br />
<code>emerge ne<tab><br />
emerge net-<tab></code><br />
etc&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=162</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>who wants to get arrested tonight?</title>
		<link>http://vendettasolutions.com/notebook/?p=160</link>
		<comments>http://vendettasolutions.com/notebook/?p=160#comments</comments>
		<pubDate>Tue, 01 Sep 2009 21:35:25 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[conversations]]></category>
		<category><![CDATA[random thoughts]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=160</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/thoughts_small.png" width="16" height="15" alt="thoughts small who wants to get arrested tonight?"  title="who wants to get arrested tonight?" /><br/>D: http://maine.craigslist.org/w4m/1352236906.html
me: im 26
D: lie
me: and not cute
D: not true
me: and i have to work at 6am
me: and it sounds like a police scam to curb underage drinking
D: i&#8217;m trying Dave..
me: to get me arrested for child molestation
D: exactly!
me: eh
D: kidding
me: not really feeling like going to jail for being a kiddy toucher
me: i like [...]]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/thoughts_small.png" width="16" height="15" alt="thoughts small who wants to get arrested tonight?"  title="who wants to get arrested tonight?" /><br/><p>D: http://maine.craigslist.org/w4m/1352236906.html<br />
me: im 26<br />
D: lie<br />
me: and not cute<br />
D: not true<br />
me: and i have to work at 6am<br />
me: and it sounds like a police scam to curb underage drinking<br />
D: i&#8217;m trying Dave..<br />
me: to get me arrested for child molestation<br />
D: exactly!<br />
me: eh<br />
D: kidding<br />
me: not really feeling like going to jail for being a kiddy toucher<br />
me: i like my anus as is thank you very much</p>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=160</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Dropbox</title>
		<link>http://vendettasolutions.com/notebook/?p=156</link>
		<comments>http://vendettasolutions.com/notebook/?p=156#comments</comments>
		<pubDate>Tue, 01 Sep 2009 21:29:57 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[random thoughts]]></category>
		<category><![CDATA[applicaiton]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[storage]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[web design]]></category>
		<category><![CDATA[windows]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=156</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small Dropbox"  title="Dropbox" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/apple-logo-small.png" width="13" height="16" alt="apple logo small Dropbox"  title="Dropbox" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/thoughts_small.png" width="16" height="15" alt="thoughts small Dropbox"  title="Dropbox" /><br/>I&#8217;ve been sleeping on this for a while now, it&#8217;s really an amazing tool.
Matt Farmer discussed it on his blog:

Dropbox is a great application I found out about a few months back. You create an account and install a service on a number of computers that you use, and it creates a folder that will [...]]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small Dropbox"  title="Dropbox" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/apple-logo-small.png" width="13" height="16" alt="apple logo small Dropbox"  title="Dropbox" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/thoughts_small.png" width="16" height="15" alt="thoughts small Dropbox"  title="Dropbox" /><br/><p>I&#8217;ve been sleeping on this for a while now, it&#8217;s really an amazing tool.<br />
<a href="http://www.mattfarmer.net">Matt Farmer</a> discussed it on his blog:</p>
<blockquote><p>
<a href="https://www.getdropbox.com/referrals/NTM0OTg4Njk">Dropbox</a> is a great application I found out about a few months back. You create an account and install a service on a number of computers that you use, and it creates a folder that will stay in sync across all of them. The best part about this is that if any computer isn’t on, when it wakes up, it goes out and checks what it’s missed, and syncs back up, and its FAST.</p>
<p>There is also a sharing section, where you can share a portion of your account with another user, and let them upload and delete files. It combines your usable space for this areas, so on group projects it gets quick first. Ohh and did I mention it has its own built in file versioning system?</p>
<p>There’s also a special folder for Photos that will automatically generate an online picture album of any pictures / folders placed into here. Of all the features, while I like some of the other ones a whole lot more, I use this one the most. Its great when working on web sites with clients and being able to save screen shots directly to this folder and show them what I’m seeing.</p>
<p>When I first found out about Dropbox, I was so excited about it, I went on a big kick about how everyone should be using it, but after time this excitement died down. Well now, Dropbox is giving away an extra 256MB of storage space (up to 3GB) (on top of the 2GB you get just for signing up) for every user you refer to the site, and so I’m back at it. Check it out: <a href="https://www.getdropbox.com/referrals/NTM0OTg4Njk">https://www.getdropbox.com/referrals/NTM0OTg4Njk</a>!
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=156</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>random thoughts&#8230;</title>
		<link>http://vendettasolutions.com/notebook/?p=155</link>
		<comments>http://vendettasolutions.com/notebook/?p=155#comments</comments>
		<pubDate>Mon, 20 Jul 2009 01:50:27 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[random thoughts]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=155</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/thoughts_small.png" width="16" height="15" alt="thoughts small random thoughts..."  title="random thoughts..." /><br/>the bitter-sweet flavor relishes a constant reminder of just how much you meant. A long cold road filled with the task of swallowing this broken heart lies ahead, winding and whirling, but always empty. Happiness hides in memories and dreams now, reality has washed away all remnants of the joy once shared. As I die [...]]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/thoughts_small.png" width="16" height="15" alt="thoughts small random thoughts..."  title="random thoughts..." /><br/><p>the bitter-sweet flavor relishes a constant reminder of just how much you meant. A long cold road filled with the task of swallowing this broken heart lies ahead, winding and whirling, but always empty. Happiness hides in memories and dreams now, reality has washed away all remnants of the joy once shared. As I die from inside, I sit and watch you drown your sorrows in bottle after bottle. I may be walking alone on a beaten path, but I know happiness is not hiding in the bottle of yeast. It&#8217;s hiding in you.</p>
<hr />
With each days birth, a new reminder is born. These mental notations ring throughout my head ceasing to silence the words &#8220;you are alone.&#8221;<br />
With every blink of my eyes, a brief glimpse of your beauty is cast forth from my memory as a warning of what happens when the heart grows an attachment.<br />
Cold and bitter &#8211; safe and sound both equal out in my life now.</p>
<hr />
on Shit Talk Airlines my flights are non stop&#8230;</p>
<hr />
a new beginning, but a familiar path.<br />
alone again with only myself to blame.</p>
<p>Change as they may.<br />
everything always looks the same.<br />
another day fading to an empty night.<br />
shallow hole seems closer to fitting me right</p>
<p>i can&#8217;t get passed these doubts in my mind<br />
another doors closed, the pain with fade in time.<br />
i&#8217;m told it&#8217;s ok, plenty of days left; plenty of faces left.</p>
<p>a face i have, but completion i&#8217;ve lost</p>
<hr />
yellowed lights coruscate upon the reflecting pool beneath the city skyline. Small glowing balls appear on the horizon as the city&#8217;s conquering heroes return home from the steadfast battles of the workday. A blinking beacon of hope &#8211; a reminder burned into the subconscious of the city&#8217;s insomnolence &#8211; illuminates high into the night blanketing the surrounding hillside in a shield of invisible waves of sound. An overwhelming since of paucity, swarms in with just a quick glance unto the world that exists outside the window pane.</p>
<hr />
i should have known i&#8217;d end up like this&#8230;<br />
alone with myself in a room of mirrors<br />
reflecting nothing more than the emptiness of shadows.<br />
i should have known i&#8217;d end up like this&#8230;<br />
lying to myself just to feel sane<br />
trusting myself to keep the blanket over my eyes.<br />
i should have known i&#8217;d end up like this&#8230;<br />
laying in a pool of tears awaits my rescuer<br />
to pull me from this and show me the light.<br />
i knew i&#8217;d end up like this: bitter and alone.</p>
<hr />
a lonesome translucent tear runs vigorously down the flushed pale cheeks, as the thoughts of the deterioration that is being played out before the tear soaked eyes. A feeling of true abandonment soon sets in as realization that the past remains in the past and will never return. Similarities may venture out from the history that lay beneath the coy actions and bitter remarks, but those situations that flourished not long ago will never return to be the same. A quivering finger, dry and rough from the day to day battles of the employment world, extends up, outstretched, reaching to catch the vandalous tear from being seen by the everyday public. A quick gesture to deflect any notion that a heart still beats love inside the cold, dark, shell that lay before her now. All passion,lust, and happiness drained like a vampire&#8217;s feast and replaced with the ever thinner hatred, sadness and sorrow. A thinner solution, yes, but it just takes more to fill the tank to it&#8217;s threshold.<br />
It&#8217;s hard to hide the emotions from the source much like the difficulty in walking on water. It may occur momentarily, but not long enough for anyone to truly notice the struggle.</p>
<p>A picture once sought, is now a picture forever lost.</p>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=155</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[HOWTO] quick and easy kernel device identification</title>
		<link>http://vendettasolutions.com/notebook/?p=154</link>
		<comments>http://vendettasolutions.com/notebook/?p=154#comments</comments>
		<pubDate>Fri, 19 Jun 2009 01:01:23 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[howtos]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=154</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small [HOWTO] quick and easy kernel device identification"  title="[HOWTO] quick and easy kernel device identification" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small [HOWTO] quick and easy kernel device identification"  title="[HOWTO] quick and easy kernel device identification" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/Ubuntu-icon-small.png" width="16" height="16" alt="Ubuntu icon small [HOWTO] quick and easy kernel device identification"  title="[HOWTO] quick and easy kernel device identification" /><br/>While reading up on kernel configs I stumbled upon this site:
http://kmuto.jp/debian/hcl/

This is helpful when you&#8217;re setting up a new system because all you have to do is boot a live cd and run
lspci -n
Then copy and paste the output into the textarea on the link above and click submit.  poof!
note teh site it setup [...]]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small [HOWTO] quick and easy kernel device identification"  title="[HOWTO] quick and easy kernel device identification" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small [HOWTO] quick and easy kernel device identification"  title="[HOWTO] quick and easy kernel device identification" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/Ubuntu-icon-small.png" width="16" height="16" alt="Ubuntu icon small [HOWTO] quick and easy kernel device identification"  title="[HOWTO] quick and easy kernel device identification" /><br/><p>While reading up on kernel configs I stumbled upon this site:<br />
http://kmuto.jp/debian/hcl/<br />
<span id="more-154"></span><br />
This is helpful when you&#8217;re setting up a new system because all you have to do is boot a live cd and run<br />
<code>lspci -n</code><br />
Then copy and paste the output into the textarea on the link above and click submit.  poof!</p>
<p>note teh site it setup for debian, but this worked fairly well on my gentoo install as well&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=154</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[HOWTO] Move XP from one drive to another (method 1)</title>
		<link>http://vendettasolutions.com/notebook/?p=150</link>
		<comments>http://vendettasolutions.com/notebook/?p=150#comments</comments>
		<pubDate>Fri, 19 Jun 2009 00:52:02 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[howtos]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=150</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small [HOWTO] Move XP from one drive to another (method 1)"  title="[HOWTO] Move XP from one drive to another (method 1)" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small [HOWTO] Move XP from one drive to another (method 1)"  title="[HOWTO] Move XP from one drive to another (method 1)" /><br/>I recently ran into an issue where my ide controller was dieing and caused me to lose my 100gig hdd (and my gentoo install) on my desktop.  I took this opportunity to purchase another terabyte sata drive.  My windows XP install sits on a 20gig ide hdd which is showing signs of decay [...]]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small [HOWTO] Move XP from one drive to another (method 1)"  title="[HOWTO] Move XP from one drive to another (method 1)" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small [HOWTO] Move XP from one drive to another (method 1)"  title="[HOWTO] Move XP from one drive to another (method 1)" /><br/><p>I recently ran into an issue where my ide controller was dieing and caused me to lose my 100gig hdd (and my gentoo install) on my desktop.  I took this opportunity to purchase another terabyte sata drive.  My windows XP install sits on a 20gig ide hdd which is showing signs of decay due to the failing controller.  My goal was to move my XP install from one drive to another while maintaining file integrity.  After a little trial and error as well as a lot of researching, I found 2 ways of doing this.  One of the methods is as follows:<br />
<span id="more-150"></span></p>
<p>In order to tar an XP install:</p>
<p><strong>Step 1: Get ntfs3g</strong></p>
<p>What is ntfs3g?</p>
<p>It allows you to read and write ntfs partitions via FUSE</p>
<p><code>emerge -av ntfs3g</code></p>
<p><strong>Step 2: mount windows partition</strong></p>
<p><em>note: in this example XP is located on hda(1) and we&#8217;ll be moving it to sda9</em></p>
<p>as root:</p>
<p><code>mkdir /mnt/xp</p>
<p>mount /dev/hda1 /mnt/xp</code></p>
<p><strong>Step 3: create an XP tarball</strong></p>
<p>cd into the root dir of the XP partition</p>
<p><code>cd /mnt/xp</code></p>
<p>generate the tarball</p>
<p><code>tar cvjfp /[destination_dir]/XPtar.tar.bz2 *</code></p>
<p><em>note: replace [destination_dir] with a place to store the tarball, if you have enough space put it to the new partiton &#8211; this will be a rather large file depending on the size of your xp install.</em></p>
<p>This will take some time, figure on somewhere around an hour per 10gigs you need to backup.  This, of course, is system dependent &#8211; could be faster, could be slower</p>
<p><strong>Step 3.5: Burn the backup</strong></p>
<p>it never hurts to have a backup!</p>
<p><strong>Step 4: Show XP its new home</strong></p>
<p>if you didn&#8217;t store the tarball on your new partition, copy it there now (for simplicity I&#8217;m only going to show you how to extract it form the same dir as to where it&#8217;s going.  For more information on extracting to a different location, consult the man pages)</p>
<p><code>tar xvjpf XPtar.tar.bz2</code></p>
<p>easy enough, well almost.  Next we&#8217;ll need to repair the mbr so XP can boot</p>
<p><strong>Step 4: Fixing the MBR</strong></p>
<p>Pop in your XP disc and boot it into the repair console.  Run the fixmbr program to get your XP to be able to boot.</p>
<p>Once XP boots, reboot with your Linux install media<sup><strong><font color="red">*</font></strong></sup>, set up the Linux boot loader, and invoke it (grub-install or lilo).</p>
<p><sup><strong><font color="red">*</font></strong></sup>The SysRescueCD makes this all easier as it can create and format ntfs partitions. You will still need your XP install disc to bootfix the install once it&#8217;s untarred.</p>
<p><strong>Step 5: Glitches..</strong></p>
<p>There will be a small glitch or two, tarring may result in one or more programs asking for its install disc.  Nothing too major.</p>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=150</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[HOWTO] setup a local rsync server</title>
		<link>http://vendettasolutions.com/notebook/?p=116</link>
		<comments>http://vendettasolutions.com/notebook/?p=116#comments</comments>
		<pubDate>Fri, 20 Mar 2009 01:43:13 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[Gentoo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[cron]]></category>
		<category><![CDATA[emerge]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[portage]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[rsyncd]]></category>
		<category><![CDATA[vixie-cron]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=116</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small [HOWTO] setup a local rsync server"  title="[HOWTO] setup a local rsync server" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small [HOWTO] setup a local rsync server"  title="[HOWTO] setup a local rsync server" /><br/>Recently, I purchased a new box to use as a (multipurpose)storage server.  I have gentoo running on it headless and everything is done via ssh.  To make use of this I decided I would use it as a local rsync server for my desktop and laptop to sync to, creating less bandwidth use [...]]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/gentoo-logo-small.png" width="16" height="16" alt="gentoo logo small [HOWTO] setup a local rsync server"  title="[HOWTO] setup a local rsync server" /><img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small [HOWTO] setup a local rsync server"  title="[HOWTO] setup a local rsync server" /><br/><p>Recently, I purchased a new box to use as a (multipurpose)storage server.  I have gentoo running on it headless and everything is done via ssh.  To make use of this I decided I would use it as a local rsync server for my desktop and laptop to sync to, creating less bandwidth use both for my connection and the rsync mirrors&#8230;<br />
<span id="more-116"></span><br />
<strong>Step 1</strong>: Configuring the deamon<br />
First open up the <strong>/etc/rsyncd.conf</strong> file.<br />
<code>vi /etc/rsyncd.conf</code><br />
You should see three uncommented lines as well as a few commented ones.<br />
Insert the following commands<br />
<code>pid file = /var/run/rsyncd.pid<br />
max connections = 5<br />
use chroot = yes<br />
uid = nobody<br />
gid = nobody<br />
# Optional: restrict access to your Gentoo boxes<br />
hosts allow = 192.168.0.1 192.168.0.2 192.168.1.0/24<br />
hosts deny  = *<br />
[gentoo-portage]<br />
path=/usr/portage<br />
comment=Gentoo Portage<br />
exclude=distfiles/ packages/</code></p>
<p><strong>Step 2</strong>: Fire It UP!<br />
Start the rsync server:<br />
<code>/etc/init/rsyncd start</code><br />
Add this to the startup processes:<br />
<code>rc-update add rsyncd default</code></p>
<p><strong>Step 3</strong>: Scan for lifeforms<br />
Now, preferably on a different machine to ensure everything is working, test the server out:<br />
Make sure to replace with your server&#8217;s IP or name.<br />
<code>rsync 192.168.0.1::</code><br />
Assuming, things are running, you should see a message similar to this:<br />
<code>gentoo-portage     Gentoo Portage</code></p>
<p><strong>Step 4</strong>: Setting Up CRON<br />
Please note, that I am running vixie-cron and so I do not need to run cron /etc/crontab like if i were using Dcron or Fcron.<br />
Since, I&#8217;m using vixie-cron I need to comment out anything in my default crontab:<br />
<code>sed -i -e "s/^/#/" /etc/crontab</code></p>
<p><strong>Step 4a</strong>: [MINIHOWTO] Use Cron</p>
<table cellspacing="2" cellpadding"2">
<tr>
<th>Program</th>
<th>Edit crontab</th>
<th>Remove crontab</th>
<th>New crontab</th>
<th>	List cron-jobs</th>
</tr>
<tr>
<td>dcron</td>
<td>crontab -e</td>
<td>crontab -d [user]</td>
<td>crontab file</td>
<td>crontab -l</td>
</tr>
<tr>
<td>fcron</td>
<td>fcrontab -e</td>
<td>fcrontab -r [user]</td>
<td>fcrontab file</td>
<td>fcrontab -l</td>
</tr>
<tr>
<td>vixie-cron <br />bcron</td>
<td>crontab -e</td>
<td>crontab -r -u [user]</td>
<td>crontab file</td>
<td>crontab -l</td>
</tr>
</table>
<p>Now lets get a crash-course on cron syntax&#8230;<br />
There is always 6 columns and in this order:<br />
minutes(0-59)  hours(0-23)  daysOfMonth(1-31)  months(1-12)  daysOfWeek(0-6)<br />
Months and days of the week can be three-letter abbreviations as well (ie:sun,mon,tue,jan,feb,mar)<br />
Also, note that in the daysOfWeek column 0 is sunday and 6 is saturday<br />
Each column must be populated use an asteriks (*) for the clumns you do not want to limit.<br />
So, to get started we need to create a file called <strong>sync.cron</strong><br />
<code>vi sync.cron</code><br />
Populate it like so:<br />
<code>#min  hr  dom  mo  dow cmd<br />
*  3  *  *  *  /usr/bin/emerge --sync</code><br />
This will sync your portage with the rsync mirror every morning at 3am.<br />
Next, add the cronjob we just generated to cron:<br />
<code>crontab sync.cron</code><br />
Based on the table above, we know to verify it was added we run<br />
<code>crontab -l</code><br />
You should see a listing formatted similar to how we made our sync.cron file</p>
<p>Your server is good to go!</p>
<p><strong>Step 5</strong>: Configuring The Client<br />
Now, you will need to do this for each client machine on the network.<br />
We need to change the <strong>/etc/make.conf</strong> file to tell it to use our new local rsync mirror.<br />
As root,<br />
<code>vi /etc/make.conf</code><br />
Find the line that begins with <em>SYNC=</em> and replace it with:<br />
<code>SYNC="rsync://192.168.0.1/gentoo-portage"</code><br />
Remember to change the IP as needed.</p>
<p><strong>Step 6</strong>:<br />
Test it out<br />
<code>emerge --info|grep SYNC=</code><br />
You should see something similar to this:<br />
<code>SYNC="rsync://your_server_name/gentoo-portage"</code></p>
<p><strong>Step 7</strong>: Use It<br />
Now from here on out on all your client machines, when you run <em>emerge &#8211;sync</em> you will be accessing the portage listing from your server.</p>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=116</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>[CHEATSHEET] screen</title>
		<link>http://vendettasolutions.com/notebook/?p=112</link>
		<comments>http://vendettasolutions.com/notebook/?p=112#comments</comments>
		<pubDate>Wed, 18 Mar 2009 21:42:30 +0000</pubDate>
		<dc:creator>david.durost</dc:creator>
				<category><![CDATA[Cheatsheets]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[howtos]]></category>
		<category><![CDATA[reference]]></category>
		<category><![CDATA[screen]]></category>

		<guid isPermaLink="false">http://vendettasolutions.com/notebook/?p=112</guid>
		<description><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small [CHEATSHEET] screen"  title="[CHEATSHEET] screen" /><br/>see below




Keystroke
Action
Thoughts


Ctrl+a c
new window



Ctrl+a n
next window
I bind F12 to this


Ctrl+a p
previous window
I bind F11 to this


Ctrl+a &#8220;
select window from list
I have window list in the status line


Ctrl+a Ctrl+a
previous window viewed



 




Ctrl+a S
split terminal horizontally into regions
Ctrl+a c to create new window there


Ctrl+a :resize
resize region



Ctrl+a :fit
fit screen size to new terminal size
Ctrl+a F is the same. [...]]]></description>
			<content:encoded><![CDATA[<img src="http://vendettasolutions.com/notebook/wp-content/uploads/linux-small.png" width="13" height="16" alt="linux small [CHEATSHEET] screen"  title="[CHEATSHEET] screen" /><br/><p>see below<br />
<span id="more-112"></span></p>
<table class="" style="">
<tbody>
<tr class="">
<td><strong>Keystroke</strong></td>
<td><strong>Action</strong></td>
<td><strong>Thoughts</strong></td>
</tr>
<tr>
<td>Ctrl+a c</td>
<td>new window</td>
<td></td>
</tr>
<tr>
<td>Ctrl+a n</td>
<td>next window</td>
<td>I bind F12 to this</td>
</tr>
<tr>
<td>Ctrl+a p</td>
<td>previous window</td>
<td>I bind F11 to this</td>
</tr>
<tr>
<td>Ctrl+a &#8220;</td>
<td>select window from list</td>
<td>I have window list in the status line</td>
</tr>
<tr>
<td>Ctrl+a Ctrl+a</td>
<td>previous window viewed</td>
<td></td>
</tr>
<tr class="pbtitle">
<td><strong> </strong></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Ctrl+a S</td>
<td>split terminal horizontally into regions</td>
<td>Ctrl+a c to create new window there</td>
</tr>
<tr>
<td>Ctrl+a :resize</td>
<td>resize region</td>
<td></td>
</tr>
<tr>
<td>Ctrl+a :fit</td>
<td>fit screen size to new terminal size</td>
<td>Ctrl+a F is the same. Do after resizing xterm</td>
</tr>
<tr>
<td>Ctrl+a :remove</td>
<td>remove region</td>
<td>Ctrl+a X is the same</td>
</tr>
<tr>
<td>Ctrl+a tab</td>
<td>Move to next region</td>
<td></td>
</tr>
<tr class="pbtitle">
<td><strong> </strong></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Ctrl+a d</td>
<td>detach screen from terminal</td>
<td>Start screen with -r option to reattach</td>
</tr>
<tr>
<td>Ctrl+a A</td>
<td>set window title</td>
<td></td>
</tr>
<tr>
<td>Ctrl+a x</td>
<td>lock session</td>
<td>Enter user password to unlock</td>
</tr>
<tr>
<td>Ctrl+a [</td>
<td>enter scrollback/copy mode</td>
<td>Enter to start and end copy region. Ctrl+a ] to leave this mode</td>
</tr>
<tr>
<td>Ctrl+a ]</td>
<td>paste buffer</td>
<td>Supports pasting between windows</td>
</tr>
<tr>
<td>Ctrl+a &gt;</td>
<td>write paste buffer to file</td>
<td>useful for copying between screens</td>
</tr>
<tr>
<td>Ctrl+a &lt;</td>
<td>read paste buffer from file</td>
<td>useful for pasting between screens</td>
</tr>
<tr class="pbtitle">
<td><strong> </strong></td>
<td></td>
<td></td>
</tr>
<tr>
<td>Ctrl+a ?</td>
<td>show key bindings/command names</td>
<td>Note unbound commands only in man page</td>
</tr>
<tr>
<td>Ctrl+a :</td>
<td>goto screen command prompt</td>
<td>up shows last command entered</td>
</tr>
</tbody>
</table>
]]></content:encoded>
			<wfw:commentRss>http://vendettasolutions.com/notebook/?feed=rss2&amp;p=112</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
