<?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>Dan Bishop &#187; windows</title>
	<atom:link href="http://www.danbishop.org/tag/windows/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.danbishop.org</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 06 Feb 2012 13:17:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Make Windows the Default Operating System in Grub2&#8230; even after Ubuntu updates&#8230;</title>
		<link>http://www.danbishop.org/2011/05/26/make-windows-the-default-operating-system-in-grub2-even-after-ubuntu-updates/</link>
		<comments>http://www.danbishop.org/2011/05/26/make-windows-the-default-operating-system-in-grub2-even-after-ubuntu-updates/#comments</comments>
		<pubDate>Thu, 26 May 2011 09:06:58 +0000</pubDate>
		<dc:creator>Dan Bishop</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[grub2]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.danbishop.org/?p=560</guid>
		<description><![CDATA[Many guides for changing the default operating system for Grub2 to boot involve setting the number indicating where in the list that OS appears&#8230; unfortunately, when kernel updates are released for Ubuntu they shift everything down two places and your default OS therefore changes. Fortunately, it is possible to set the default by name First [...]]]></description>
			<content:encoded><![CDATA[<div class="alignleft"><div class="g-plusone" data-href="http://www.danbishop.org/2011/05/26/make-windows-the-default-operating-system-in-grub2-even-after-ubuntu-updates/" size="small" count="true"></div></div><p>Many guides for changing the default operating system for Grub2 to boot involve setting the number indicating where in the list that OS appears&#8230; unfortunately, when kernel updates are released for Ubuntu they shift everything down two places and your default OS therefore changes.</p>
<p>Fortunately, it is possible to set the default by name <img src='http://www.danbishop.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>First we need to obtain the exact name of the OS you wish to boot by running the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">fgrep</span> menuentry <span style="color: #000000; font-weight: bold;">/</span>boot<span style="color: #000000; font-weight: bold;">/</span>grub<span style="color: #000000; font-weight: bold;">/</span>grub.cfg</pre></div></div>

<p>You&#8217;ll get something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">menuentry <span style="color: #ff0000;">'Ubuntu, with Linux 2.6.38-8-generic'</span> <span style="color: #660033;">--class</span> ubuntu <span style="color: #660033;">--class</span> gnu-linux <span style="color: #660033;">--class</span> gnu <span style="color: #660033;">--class</span> os <span style="color: #7a0874; font-weight: bold;">&#123;</span>
menuentry <span style="color: #ff0000;">'Ubuntu, with Linux 2.6.38-8-generic (recovery mode)'</span> <span style="color: #660033;">--class</span> ubuntu <span style="color: #660033;">--class</span> gnu-linux <span style="color: #660033;">--class</span> gnu <span style="color: #660033;">--class</span> os <span style="color: #7a0874; font-weight: bold;">&#123;</span>
menuentry <span style="color: #ff0000;">&quot;Memory test (memtest86+)&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
menuentry <span style="color: #ff0000;">&quot;Memory test (memtest86+, serial console 115200)&quot;</span> <span style="color: #7a0874; font-weight: bold;">&#123;</span>
menuentry <span style="color: #ff0000;">&quot;Mac OS X (32-bit) (on /dev/sda2)&quot;</span> <span style="color: #660033;">--class</span> osx <span style="color: #660033;">--class</span> darwin <span style="color: #660033;">--class</span> os <span style="color: #7a0874; font-weight: bold;">&#123;</span>
menuentry <span style="color: #ff0000;">&quot;Mac OS X (64-bit) (on /dev/sda2)&quot;</span> <span style="color: #660033;">--class</span> osx <span style="color: #660033;">--class</span> darwin <span style="color: #660033;">--class</span> os <span style="color: #7a0874; font-weight: bold;">&#123;</span>
menuentry “Windows Vista <span style="color: #7a0874; font-weight: bold;">&#40;</span>loader<span style="color: #7a0874; font-weight: bold;">&#41;</span> <span style="color: #7a0874; font-weight: bold;">&#40;</span>on <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>sda1<span style="color: #7a0874; font-weight: bold;">&#41;</span>” <span style="color: #7a0874; font-weight: bold;">&#123;</span></pre></div></div>

<p>Now edit /etc/default/grub:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>default<span style="color: #000000; font-weight: bold;">/</span>grub</pre></div></div>

<p>The default file looks like this:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;"># If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'
&nbsp;
GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2&gt; /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT=&quot;quiet splash&quot;
GRUB_CMDLINE_LINUX=&quot;&quot;
&nbsp;
# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM=&quot;0x01234567,0xfefefefe,0x89abcdef,0xefefefef&quot;
&nbsp;
# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console
&nbsp;
# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480
&nbsp;
&nbsp;
# Uncomment if you don't want GRUB to pass &quot;root=UUID=xxx&quot; parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true
&nbsp;
# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY=&quot;true&quot;
&nbsp;
# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE=&quot;480 440 1&quot;</pre></div></div>

<p>In order to set Windows Vista to be the default (I know, I know&#8230; who in their right mind?!&#8230; but still&#8230;) you need to change the line that reads GRUB_DEFAULT=0 to be like so:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">GRUB_DEFAULT=”Windows Vista (loader) (on /dev/sda1)”</pre></div></div>

<p>Basically copying and pasting everything in quotes (including the quotes!) for the entry you want to be the default.</p>
<p>The final step is to exit and save, then update grub with:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> update-grub</pre></div></div>

 <p><a href="http://www.danbishop.org/?flattrss_redirect&amp;id=560&amp;md5=df60c1055f588bccfeac9fcef9a3fb02" title="Flattr" target="_blank"><img src="http://www.danbishop.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.danbishop.org/2011/05/26/make-windows-the-default-operating-system-in-grub2-even-after-ubuntu-updates/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		<atom:link rel="payment" href="http://www.danbishop.org/?flattrss_redirect&amp;id=560&amp;md5=df60c1055f588bccfeac9fcef9a3fb02" type="text/html" />
	</item>
		<item>
		<title>WebLex Beta 2.0 Out Now!</title>
		<link>http://www.danbishop.org/2010/05/27/weblex-beta-2-0-out-now/</link>
		<comments>http://www.danbishop.org/2010/05/27/weblex-beta-2-0-out-now/#comments</comments>
		<pubDate>Thu, 27 May 2010 16:02:42 +0000</pubDate>
		<dc:creator>Dan Bishop</dc:creator>
				<category><![CDATA[Lex]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[weblex]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://www.danbishop.org/?p=235</guid>
		<description><![CDATA[There&#8217;s been significant progress made with WebLex in the last few weeks. Mainly through avoidance of revision&#8230; Anyway, there is now a beta version out for both Ubuntu and Windows. These can be found at http://www.weblex.org/ The latest version is written in Python and will hopefully be coming to Apple&#8217;s OS X shortly too. French [...]]]></description>
			<content:encoded><![CDATA[<div class="alignleft"><div class="g-plusone" data-href="http://www.danbishop.org/2010/05/27/weblex-beta-2-0-out-now/" size="small" count="true"></div></div><p>There&#8217;s been significant progress made with <a href="http://www.weblex.org/" onclick="pageTracker._trackPageview('/outgoing/www.weblex.org/?referer=');">WebLex</a> in the last few weeks. Mainly through avoidance of revision&#8230; Anyway, there is now a beta version out for both <a href="http://www.ubuntu.com" onclick="pageTracker._trackPageview('/outgoing/www.ubuntu.com?referer=');">Ubuntu</a> and Windows. These can be found at <a href="http://www.weblex.org/" onclick="pageTracker._trackPageview('/outgoing/www.weblex.org/?referer=');">http://www.weblex.org/</a></p>
<p>The latest version is written in Python and will hopefully be coming to Apple&#8217;s OS X shortly too. French and Spanish support are still extremely limited, but this will be improved over time.</p>
 <p><a href="http://www.danbishop.org/?flattrss_redirect&amp;id=235&amp;md5=2da5e8d7f0c2529a08dc760f6464a577" title="Flattr" target="_blank"><img src="http://www.danbishop.org/wp-content/plugins/flattr/img/flattr-badge-large.png" alt="flattr this!"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.danbishop.org/2010/05/27/weblex-beta-2-0-out-now/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<atom:link rel="payment" href="http://www.danbishop.org/?flattrss_redirect&amp;id=235&amp;md5=2da5e8d7f0c2529a08dc760f6464a577" type="text/html" />
	</item>
	</channel>
</rss>

