<?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>Alex Sleat &#187; debian</title>
	<atom:link href="http://alexsleat.co.uk/tag/debian/feed/" rel="self" type="application/rss+xml" />
	<link>http://alexsleat.co.uk</link>
	<description>/home/alex</description>
	<lastBuildDate>Sat, 04 Feb 2012 22:11:04 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Linux USB Errors with usb-creator-gtk &#8220;stdin: I/O error stdin: error 0 /init: line 1: can&#8217;t open /dev/sr0: No medium found&#8221;</title>
		<link>http://alexsleat.co.uk/2011/11/26/linux-usb-errors-with-usb-creator-gtk-stdin-io-error-stdin-error-0-init-line-1-cant-open-devsr0-no-medium-found/</link>
		<comments>http://alexsleat.co.uk/2011/11/26/linux-usb-errors-with-usb-creator-gtk-stdin-io-error-stdin-error-0-init-line-1-cant-open-devsr0-no-medium-found/#comments</comments>
		<pubDate>Sat, 26 Nov 2011 14:29:01 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linuxmint]]></category>
		<category><![CDATA[live usb]]></category>
		<category><![CDATA[mint]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[pen drive]]></category>
		<category><![CDATA[persistence]]></category>
		<category><![CDATA[stdin I/O error]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[unetbootin]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=24181</guid>
		<description><![CDATA[<br/><p>After installing Ubuntu on a USB stick with the Ubuntu USB Startup Disk Creator (usb-creator-gtk) you might encounter an error such as the following:</p> stdin: I/O error stdin: error 0 /init: line 1: can&#8216;t open /dev/sr0: No medium found <p>This is actually a bug with the software and isn&#8217;t anything you&#8217;ve done wrong. It [...]]]></description>
			<content:encoded><![CDATA[<br/><p>After installing Ubuntu on a USB stick with the Ubuntu USB Startup Disk Creator (usb-creator-gtk) you might encounter an error such as the following:</p>
<div class="dean_ch" style="white-space: wrap;">stdin: I/O error<br />
stdin: error <span class="nu0">0</span><br />
/init: line <span class="nu0">1</span>: can<span class="st0">&#8216;t open /dev/sr0: No medium found</span></div>
<p>This is actually a <a href="https://bugs.launchpad.net/ubuntu/+bug/500822">bug</a> with the software and isn&#8217;t anything you&#8217;ve done wrong. It seems to be a bug that&#8217;s effecting users running Karmic, Lucid, Maverick and Natty so it&#8217;s a pretty wide spread issue.</p>
<p>The best way I have found to get around this issue is to install and run <a href="http://unetbootin.sourceforge.net">unetbootin</a> to create live USBs. If you&#8217;re using linux it should be found in the usual place you can install things.</p>
<h6>Installation:</h6>
<p><strong>Ubuntu/LinuxMint/Debian:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> apt-get <span class="kw2">install</span> unetbootin</div>
<p><strong>Fedora/OpenSuse:</strong></p>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> yum <span class="kw2">install</span> unetbootin</div>
<h6>Create a live USB:</h6>
<p>To install a distro it&#8217;s pretty simple, either select it from the &#8220;Distribution&#8221; option and pick a distribution and version, UNetbootin will then actually download it and install it for you. Alternatively you can pick an Diskimage and browse for the ISO file you download (and would usually burn to a CD/DVD) and install from that. Select the USB Drive at the bottom and hit ok and it&#8217;ll install a bootloader, the system and you&#8217;ll be up and running in no time.</p>
<p><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-UNetbootin.png"><img class="aligncenter size-full wp-image-24182" title="Screenshot-UNetbootin" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-UNetbootin.png" alt="" width="530" height="387" /></a></p>
<h6>Persistence File:</h6>
<p>If you wanted a persistence install which allows you to save files, settings and installed programs you&#8217;ll have to do a little manual work as it currently doesn&#8217;t support that option.</p>
<p>Go to <a href="http://unetbootin.sourceforge.net/diskimg/">http://unetbootin.sourceforge.net/diskimg/</a> and download one of the files (128mb.zip, 256mb.zip, or 512mb.zip) corresponding to the amount of persistent space you want (make sure the size of the persistent disk image is smaller than the free space you have on your USB drive).</p>
<p>You&#8217;ll then need to edit the syslinux.cfg file that was created by UNetbootin in the root of the directory (just open it with a text editor) you should see something similar to the following:</p>
<blockquote><p>label unetbootindefault<br />
menu label Default<br />
kernel /ubnkern<br />
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash &#8211;</p></blockquote>
<p>So on the line that starts &#8220;appen initrd=&#8221; you&#8217;ll want to add the option of &#8220;persistent&#8221;, it should then look like the following:</p>
<p>NOTE: WordPress changes my double dash at the end of the last line to a single long dash, this won&#8217;t work. It&#8217;s easiest just to add the final word before the double dash in the file, do not copy and paste this in to your file. If you do, you will get more errors.</p>
<blockquote><p>label unetbootindefault<br />
menu label Default<br />
kernel /ubnkern<br />
append initrd=/ubninit file=/cdrom/preseed/ubuntu.seed boot=casper quiet splash persistent &#8211;</p></blockquote>
<p>I added this line to all that used the &#8220;file=/cdrom/preseed/ubuntu.seed&#8221; option, since that&#8217;s the image that&#8217;s being opened and it should then change all options on the bootloader that will load the ubuntu install.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/11/26/linux-usb-errors-with-usb-creator-gtk-stdin-io-error-stdin-error-0-init-line-1-cant-open-devsr0-no-medium-found/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Media Players And Flash Not Stopping The Screensaver</title>
		<link>http://alexsleat.co.uk/2011/11/11/linux-media-players-and-flash-not-stopping-the-screensaver/</link>
		<comments>http://alexsleat.co.uk/2011/11/11/linux-media-players-and-flash-not-stopping-the-screensaver/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 21:23:12 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[Arch Linux]]></category>
		<category><![CDATA[blog1]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[arch]]></category>
		<category><![CDATA[caffeine]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[fedora flash screensaver]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[gnome]]></category>
		<category><![CDATA[gnome media player]]></category>
		<category><![CDATA[isadora]]></category>
		<category><![CDATA[julia]]></category>
		<category><![CDATA[katya]]></category>
		<category><![CDATA[kde]]></category>
		<category><![CDATA[kubuntu]]></category>
		<category><![CDATA[linux flash screensaver]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[lisa]]></category>
		<category><![CDATA[mplayer]]></category>
		<category><![CDATA[opensuse]]></category>
		<category><![CDATA[power management]]></category>
		<category><![CDATA[red hat]]></category>
		<category><![CDATA[screen saver]]></category>
		<category><![CDATA[screensaver]]></category>
		<category><![CDATA[totem]]></category>
		<category><![CDATA[turn off screensaver]]></category>
		<category><![CDATA[ubuntu flash screensaver]]></category>
		<category><![CDATA[ubuntu mplayer screensaver]]></category>
		<category><![CDATA[ubuntu vlc screensaver]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[vlc]]></category>
		<category><![CDATA[xfce]]></category>
		<category><![CDATA[xubuntu]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=23468</guid>
		<description><![CDATA[<br/><p>It&#8217;s a pretty common problem, one which could be solved by pretty much the following sentence: &#8216;[Insert Linux Distro], [Insert Media Player] not stopping screen saver when playing videos.&#8217; And, yeah, it&#8217;s very annoying. Something that should have been fixed thousands of releases ago, just like most common Linux problems. Luckily though there is [...]]]></description>
			<content:encoded><![CDATA[<br/><p>It&#8217;s a pretty common problem, one which could be solved by pretty much the following sentence: &#8216;[Insert Linux Distro], [Insert Media Player] not stopping screen saver when playing videos.&#8217; And, yeah, it&#8217;s very annoying. Something that should have been fixed thousands of releases ago, just like most common Linux problems. Luckily though there is a fix, it&#8217;s easy and it&#8217;s awesome.</p>
<p>Introducing: Caffeine, &#8220;An application to temporarily prevent the activation of both the screen saver and the &#8220;sleep&#8221; powersaving mode.&#8221; &#8211; <a href="https://launchpad.net/caffeine">https://launchpad.net/caffeine</a></p>
<p>Essentially what this program does is look for processes running on your machine (you can do this too, just run &#8216;ps -A&#8217; in a terminal emulator to see a list of everything), so you set process names which the program should look out for, for example &#8216;vlc&#8217; and when there is a process with this name Caffeine disables the screensaver, when the process stops the screensaver is re-enabled. It even comes with a little tray icon which allows you to manual enable or disable the screensaver/power management with a single click.</p>
<h6>Installation (Ubuntu):</h6>
<div class="dean_ch" style="white-space: wrap;"><span class="kw2">sudo</span> add-apt-repository ppa:caffeine-developers/ppa<br />
<span class="kw2">sudo</span> apt-get update<br />
<span class="kw2">sudo</span> apt-get <span class="kw2">install</span> caffeine</div>
<h6>Usage:</h6>
<p>You&#8217;ll be able to see if caffeine is running by the tray icon the first time you use it (this can be disabled in the settings).</p>
<div id="attachment_23469" class="wp-caption aligncenter" style="width: 235px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210740.png"><img class="size-full wp-image-23469 " title="Screenshot - 111111 - 21:07:40" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210740.png" alt="" width="225" height="137" /></a><p class="wp-caption-text">Caffeine Running (Screensaver / Power Management Enabled)</p></div>
<div id="attachment_23470" class="wp-caption aligncenter" style="width: 235px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210750.png"><img class="size-full wp-image-23470 " title="Screenshot - 111111 - 21:07:50" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210750.png" alt="" width="225" height="137" /></a><p class="wp-caption-text">Caffeine Running (Right Click Settings)</p></div>
<div id="attachment_23471" class="wp-caption aligncenter" style="width: 235px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210806.png"><img class="size-full wp-image-23471 " title="Screenshot - 111111 - 21:08:06" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-210806.png" alt="" width="225" height="137" /></a><p class="wp-caption-text">Caffeine Running (Screensaver / Power Management Disabled)</p></div>
<h6>Adding Processes:</h6>
<p>To add a process which will disable the screensaver from being activated, for example VLC so we can watch a movie without constantly having to wiggle the mouse:</p>
<p>First, run VLC (or whatever other media player you wish and just replace VLC for that for the other few steps)</p>
<p>Next, right click on the Caffeine tray icon and select &#8220;Preference&#8221;.</p>
<p>Click the &#8220;Add&#8221; button.</p>
<div id="attachment_23473" class="wp-caption aligncenter" style="width: 413px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-211455.png"><img class="size-full wp-image-23473" title="Screenshot - 111111 - 21:14:55" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-211455.png" alt="" width="403" height="518" /></a><p class="wp-caption-text">List of processes already disabling the screensaver, note Totem is added here.</p></div>
<p>You should be greeted by a list of the running processes, select the name of the media player (this case, vlc) if it isn&#8217;t there check under the &#8220;Recent Processes&#8221; tab or alternatively just write the command you would use to run this program from the command line.</p>
<div id="attachment_23474" class="wp-caption aligncenter" style="width: 412px"><a href="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-211525.png"><img class="size-full wp-image-23474" title="Screenshot - 111111 - 21:15:25" src="http://alexsleat.co.uk/wp-content/uploads/2011/11/Screenshot-111111-211525.png" alt="" width="402" height="521" /></a><p class="wp-caption-text">Adding VLC to processes to disable the screensaver.</p></div>
<p>Finally click the &#8220;Add&#8221; button and close the preferences window, that pesky screensaver should no longer be bothering you!</p>
<h6>Stopping Flash from enabling the screensaver:</h6>
<p>Okay, this is actually really easy, if you&#8217;re using Chromium or Google Chrome or Firefox, you&#8217;ll just want to add the processes <em>&#8216;npviewer.bin&#8217;</em> to list, you can use the above instructions to do so. </p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2011/11/11/linux-media-players-and-flash-not-stopping-the-screensaver/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How To: Fix &#8220;Unknown keyword in configuration file.&#8221; Ubuntu USB Boot</title>
		<link>http://alexsleat.co.uk/2010/11/27/how-to-fix-unknown-keyword-in-configuration-file-ubuntu-usb-boot/</link>
		<comments>http://alexsleat.co.uk/2010/11/27/how-to-fix-unknown-keyword-in-configuration-file-ubuntu-usb-boot/#comments</comments>
		<pubDate>Sat, 27 Nov 2010 10:44:52 +0000</pubDate>
		<dc:creator>Alex</dc:creator>
				<category><![CDATA[blog1]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[10.04]]></category>
		<category><![CDATA[10.10]]></category>
		<category><![CDATA[9.10]]></category>
		<category><![CDATA[boot]]></category>
		<category><![CDATA[configuration file]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[isadora]]></category>
		<category><![CDATA[julia]]></category>
		<category><![CDATA[karmic]]></category>
		<category><![CDATA[katya]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux mint]]></category>
		<category><![CDATA[lisa]]></category>
		<category><![CDATA[lucid]]></category>
		<category><![CDATA[maverick]]></category>
		<category><![CDATA[Maverick Meerkat]]></category>
		<category><![CDATA[syslinux.cfg]]></category>
		<category><![CDATA[ui]]></category>
		<category><![CDATA[unknown keyword]]></category>
		<category><![CDATA[usb]]></category>
		<category><![CDATA[usb device]]></category>

		<guid isPermaLink="false">http://alexsleat.co.uk/?p=7614</guid>
		<description><![CDATA[<br/><p style="text-align: center;"></p> <p>Attempting Boot From USB Device</p> <p>SYSLINUX 3.63 Debian-2008-07-15 EBIOS Copyright (C) 1994-2008 H. Peter Anvin Unknown keyword in configuration file. boot: _</p> <p></p> <p>After creating a USB bootable version of Ubuntu from the Startup Disk Creator (or usb-creator-gtk) and attempting to boot, I was greeted by the error above. It might [...]]]></description>
			<content:encoded><![CDATA[<br/><p style="text-align: center;"><a href="http://alexsleat.co.uk/wp-content/uploads/2010/11/2010-11-26-14.20.40.jpg"><img class="aligncenter size-large wp-image-7789" title="USB boot fail" src="http://alexsleat.co.uk/wp-content/uploads/2010/11/2010-11-26-14.20.40-1024x614.jpg" alt="" width="614" height="368" /></a></p>
<blockquote><p>Attempting Boot From USB Device</p>
<p>SYSLINUX 3.63 Debian-2008-07-15 EBIOS Copyright (C) 1994-2008 H. Peter Anvin<br />
Unknown keyword in configuration file.<br />
boot:<br />
_</p></blockquote>
<p></p>
<p>After creating a USB bootable version of Ubuntu from the Startup Disk Creator (or usb-creator-gtk) and attempting to boot, I was greeted by the error above. It might look a bit scary but it&#8217;s really easy to fix, just plug the USB flash drive into a computer (windows or linux, mac too probably but I haven&#8217;t tried that.)</p>
<h5>Solution 1:</h5>
<ol>
<li>Open the the syslinux folder in the root of the flash drive.</li>
<li>Inside is a file called syslinux.cfg you&#8217;ll want to edit that.</li>
<li>Find the line &#8220;ui gfxboot bootlogo&#8221; and simply remove the &#8220;ui &#8220;.</li>
<li>Save and try booting again.</li>
</ol>
<p>Below is how my syslinux.cfg file looks after editing:</p>
<div class="dean_ch" style="white-space: wrap;"><span class="re3"># D-I config version <span class="nu0">2.0</span></span><br />
include menu.cfg<br />
default vesamenu.c32<br />
prompt <span class="nu0">0</span><br />
timeout <span class="nu0">50</span><br />
gfxboot bootlogo</div>
<p></p>
<hr />
<h5>Solution 2</h5>
<p>Alternatively it looks as though there is another way of fixing this issue if there is no &#8220;ui&#8221; in the file, this is to do as followed (as pointed out in the comments below):</p>
<ol>
<li> Type &#8220;help&#8221; and press enter </li>
<li> Hit Enter again </li>
</ol>
<p>This should boot correctly and shouldn&#8217;t need to be done every time.</p>
]]></content:encoded>
			<wfw:commentRss>http://alexsleat.co.uk/2010/11/27/how-to-fix-unknown-keyword-in-configuration-file-ubuntu-usb-boot/feed/</wfw:commentRss>
		<slash:comments>48</slash:comments>
		</item>
	</channel>
</rss>

