<?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>Fnode Networks &#187; Debian</title>
	<atom:link href="http://www.fnode.com/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.fnode.com</link>
	<description>A Network Systems &#38; Technology Blog</description>
	<lastBuildDate>Mon, 16 Aug 2010 11:27:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>Quick tip: change default text editor on Linux shell</title>
		<link>http://www.fnode.com/2009/09/quick-tip-change-default-text-editor-on-linux-shell/</link>
		<comments>http://www.fnode.com/2009/09/quick-tip-change-default-text-editor-on-linux-shell/#comments</comments>
		<pubDate>Wed, 02 Sep 2009 12:52:50 +0000</pubDate>
		<dc:creator>Luca</dc:creator>
				<category><![CDATA[Computing]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>

		<guid isPermaLink="false">http://www.fnode.com/?p=477</guid>
		<description><![CDATA[Doing visudo you get nano instead of your favorite text editor? Mine is vim therefore I issue: DEBIAN/UBUNTU way # update-alternatives --config editor There are 4 alternatives which provide `editor'. Selection Alternative ----------------------------------------------- 1 /usr/bin/vim.tiny 2 /bin/ed *+ 3 /bin/nano 4 /usr/bin/vim.basic Press enter to keep the default[*], or type selection number: Selecting 4 I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>Doing visudo you get nano instead of your favorite text editor?<br />
Mine is vim therefore I issue:</p>
<p><strong>DEBIAN/UBUNTU way</strong><br />
<code><br />
# update-alternatives --config editor<br />
There are 4 alternatives which provide `editor'.<br />
  Selection    Alternative<br />
-----------------------------------------------<br />
          1    /usr/bin/vim.tiny<br />
          2    /bin/ed<br />
*+        3    /bin/nano<br />
          4    /usr/bin/vim.basic<br />
Press enter to keep the default[*], or type selection number:<br />
</code><br />
Selecting 4 I&#8217;m ready to use my full syntax colors when I edit any file.</p>
<p><strong>OTHER DISTROS</strong><br />
Edit your .bashrc file and add the following:<br />
<code>EDITOR=vim<br />
export EDITOR</code><br />
Next login you will have your VIM working.<br />
If you want to have it immediately and only for this session just type<br />
<code># export EDITOR=vim</code><br />
and press enter.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.fnode.com/2009/09/quick-tip-change-default-text-editor-on-linux-shell/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to install Debian from USB drive</title>
		<link>http://www.fnode.com/2009/08/how-to-install-debian-from-usb-drive/</link>
		<comments>http://www.fnode.com/2009/08/how-to-install-debian-from-usb-drive/#comments</comments>
		<pubDate>Sun, 30 Aug 2009 13:13:19 +0000</pubDate>
		<dc:creator>Luca</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[UNIX]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Install]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://www.fnode.com/?p=472</guid>
		<description><![CDATA[I&#8217;ve come across multiple ways of doing it but so far the best way is the following (I assume you are on i386 platform and you have access to the net): 1. Download boot.img.gz from Debian website 2. Download the net-install image choosing i386. 3. Plug your USB drive into a Linux PC, open the [...]]]></description>
			<content:encoded><![CDATA[<p></p><p>I&#8217;ve come across multiple ways of doing it but so far the best way is the following (I assume you are on i386 platform and you have access to the net):<br />
1. Download <a href="ftp://ftp.debian.nl/debian/dists/stable/main/installer-i386/current/images/hd-media/boot.img.gz">boot.img.gz</a> from Debian website<br />
2. Download the <a href="http://www.debian.org/distrib/netinst#smallcd" target="_blank">net-install</a> image choosing i386.<br />
3. Plug your USB drive into a Linux PC, open the shell and type<br />
<code><br />
$ dmesg<br />
</code><br />
Last few lines should be like the following:<br />
<code><br />
 sd 7:0:0:0: [sdb] Attached SCSI removable disk<br />
 sd 8:0:0:0: [sdb] 4030464 512-byte logical blocks: (2.06 GB/1.92 GiB)<br />
 sd 8:0:0:0: [sdb] Write Protect is off<br />
</code><br />
Now we know it has been mapped as sdb</p>
<p>4. Use zcat to load the boot.img.gz onto your USB drive<br />
<code><br />
# zcat boot.img.gz > /dev/sdb<br />
</code><br />
CAUTION!!! this will destroy the entire data on the USB drive, make sure you have done the backup.<br />
If you get an error  ensure the following:<br />
- You are root (don&#8217;t use sudo)<br />
- The USB drive it&#8217;s not mounted, if it is umount it before issuing the above command.</p>
<p>5. Now mount the USB drive and copy the net-inst.iso image on it.</p>
<p>All done! Now plug it into the box you want to setup and enjoy the old fashion Debian installer <img src='http://www.fnode.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.fnode.com/2009/08/how-to-install-debian-from-usb-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
