<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>CQuirke's Long View</title>
	<atom:link href="http://cquirke.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://cquirke.wordpress.com</link>
	<description>Long lead times need long forward planning</description>
	<lastBuildDate>Fri, 20 Nov 2009 11:39:33 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='cquirke.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/17cb8f40888b1db495fcf143560a6d49?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>CQuirke's Long View</title>
		<link>http://cquirke.wordpress.com</link>
	</image>
			<item>
		<title>Edit grub Menu In Ubuntu 9.10 and Older</title>
		<link>http://cquirke.wordpress.com/2009/11/20/edit-grub-menu-in-ubuntu-9-10-and-older-2/</link>
		<comments>http://cquirke.wordpress.com/2009/11/20/edit-grub-menu-in-ubuntu-9-10-and-older-2/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 11:39:33 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2009/11/20/edit-grub-menu-in-ubuntu-9-10-and-older-2/</guid>
		<description><![CDATA[
Technorati tags: Ubuntu, grub, Dual Boot

Windows users who install Ubuntu as a dual boot installation to try it out, will usually want their PCs to boot into Windows by default.&#160; Ubuntu makes this possible, but not easy; it’s a major “paper cut” to address.
Ubuntu 9.04 and older
Before Ubuntu 9.10, you would start a Terminal session [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=22&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /></p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:71aa088a-49b0-490f-bd6d-558d943d543a" class="wlWriterEditableSmartContent">Technorati tags: <a href="http://technorati.com/tags/Ubuntu" rel="tag">Ubuntu</a>, <a href="http://technorati.com/tags/grub" rel="tag">grub</a>, <a href="http://technorati.com/tags/Dual+Boot" rel="tag">Dual Boot</a></div>
</p>
<p>Windows users who install Ubuntu as a dual boot installation to try it out, will usually want their PCs to boot into Windows by default.&#160; Ubuntu makes this possible, but not easy; it’s a major “paper cut” to address.</p>
<h4>Ubuntu 9.04 and older</h4>
<p>Before Ubuntu 9.10, you would start a Terminal session and do this:</p>
<blockquote><p>cd /boot/grub      <br /><a title="The sudo command elevates rights to admin (root) power" href="http://oreilly.com/linux/command-directory/cmd.csp?path=s/sudo">sudo</a> <a title="Changes access mode (permissions attributes) for a file" href="http://oreilly.com/linux/command-directory/cmd.csp?path=c/chmod">chmod</a> 666 menu.lst       <br /><a title="Runs a text editor; the Ubuntu equivalent of Notepad" href="http://linux.about.com/library/cmd/blcmdl1_gedit.htm">gedit</a> menu.lst       <br />sudo chmod 644 menu.lst</p>
</blockquote>
<p>You can set an explicit default boot entry, but I prefer to leave grub to boot the first entry as it does by default, but make that first entry the one I want.</p>
<p>So, when editing the menu.lst file, I usually cut the entry at the end of the file that launches Windows, and paste it into the top of the section that defines the boot menu entries.&#160; I then rename the displayed text from something horrible like “Microsoft Operating System” to what I want, e.g. “Windows 7 Pro 64”.&#160; Then I page down and delete the redundant do-nothing “Other Operating Systems” entry at the end.</p>
<h4>Ubuntu 9.10 with grub 2</h4>
<p>Ubuntu 9.10 uses a newer version of grub that works differently; do this:</p>
<blockquote><p>cd /etc/default      <br /><a title="The sudo command elevates rights to admin (root) power" href="http://oreilly.com/linux/command-directory/cmd.csp?path=s/sudo">sudo</a> <a title="Changes access mode (permissions attributes) for a file" href="http://oreilly.com/linux/command-directory/cmd.csp?path=c/chmod">chmod</a> 666 grub       <br /><a title="Runs a text editor; the Ubuntu equivalent of Notepad" href="http://linux.about.com/library/cmd/blcmdl1_gedit.htm">gedit</a> grub       <br />sudo chmod 644 grub       <br />sudo update-grub</p>
</blockquote>
<p>You can’t edit the menu text that will be displayed in the boot menu anymore, because the new grub version doesn’t use your setting file directly.&#160; Instead, it builds a new internal “don’t edit this” settings file that combines your settings with what it detects &#8211; and the menu entry text is built from what it detects, not your settings.&#160; The update-grub command is needed to force a new build of the internal settings file.</p>
<p>When I edit the grub file, I don’t try to specify which boot menu entry to use by default, nor re-arrange the order of these entries with my choice at the top.&#160; Because update-grub spawns a new menu that may differ from what is in effect as I edit the grub file, the first approach could misfire, and the second approach won’t work.</p>
<p>Instead, I use a new “saved” value for the “default” setting, which has the happy effect of defaulting to whatever the user chose last time.</p>
<p>But by default, the grub boot menu is not displayed, so I change entry to force it to be displayed, and set the timeout value after which the default kicks in:</p>
<blockquote><p>GRUB_DEFAULT=<strong>saved        <br /></strong>GRUB_HIDDEN_TIMEOUT_QUIET=<strong>false        <br /></strong>GRUB_TIMEOUT=&quot;<strong>20</strong>&quot;</p>
</blockquote>
<h4>Alert!</h4>
<p>If you dual-boot Ubuntu (or similar, using grub) and Windows, have multiple Windows-visible partitions, and use WAIK or OPK imaging tools (WinPE, ImageX) then there’s a serious bum-biting <a title="Sysprep fails destructively, WinPE sees wrong drive letters" href="http://cquirke.blogspot.com/2009/11/sysprep-fails-winpe-sees-wrong-drive.html"><font color="#ff0000">trap</font></a> waiting for you – not so much a bug, as a natural consequence of how grub works.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=22&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2009/11/20/edit-grub-menu-in-ubuntu-9-10-and-older-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
		<item>
		<title>Edit grub Menu In Ubuntu 9.10 and Older</title>
		<link>http://cquirke.wordpress.com/2009/11/20/edit-grub-menu-in-ubuntu-9-10-and-older/</link>
		<comments>http://cquirke.wordpress.com/2009/11/20/edit-grub-menu-in-ubuntu-9-10-and-older/#comments</comments>
		<pubDate>Fri, 20 Nov 2009 09:45:30 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2009/11/20/edit-grub-menu-in-ubuntu-9-10-and-older/</guid>
		<description><![CDATA[
Technorati tags: Ubuntu, grub, Dual Boot

Windows users who install Ubuntu as a dual boot installation to try it out, will usually want their PCs to boot into Windows by default.&#160; Ubuntu makes this possible, but not easy; it’s a major “paper cut” to address.
Ubuntu 9.04 and older
Before Ubuntu 9.10, you would start a Terminal session [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=18&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
<div style="display:inline;float:none;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:71aa088a-49b0-490f-bd6d-558d943d543a" class="wlWriterEditableSmartContent">Technorati tags: <a href="http://technorati.com/tags/Ubuntu" rel="tag">Ubuntu</a>, <a href="http://technorati.com/tags/grub" rel="tag">grub</a>, <a href="http://technorati.com/tags/Dual+Boot" rel="tag">Dual Boot</a></div>
</p>
<p>Windows users who install Ubuntu as a dual boot installation to try it out, will usually want their PCs to boot into Windows by default.&#160; Ubuntu makes this possible, but not easy; it’s a major “paper cut” to address.</p>
<h4>Ubuntu 9.04 and older</h4>
<p>Before Ubuntu 9.10, you would start a Terminal session and do this:</p>
<blockquote><p>cd /boot/grub     <br /><a title="The sudo command elevates rights to admin (root) power" href="http://oreilly.com/linux/command-directory/cmd.csp?path=s/sudo">sudo</a> <a title="Changes access mode (permissions attributes) for a file" href="http://oreilly.com/linux/command-directory/cmd.csp?path=c/chmod">chmod</a> 666 menu.lst      <br /><a title="Runs a text editor; the Ubuntu equivalent of Notepad" href="http://linux.about.com/library/cmd/blcmdl1_gedit.htm">gedit</a> menu.lst      <br />sudo chmod 644 menu.lst</p>
</blockquote>
<p>You can set an explicit default boot entry, but I prefer to leave grub to boot the first entry as it does by default, but make that first entry the one I want.</p>
<p>So, when editing the menu.lst file, I usually cut the entry at the end of the file that launches Windows, and paste it into the top of the section that defines the boot menu entries.&#160; I then rename the displayed text from something horrible like “Microsoft Operating System” to what I want, e.g. “Windows 7 Pro 64”.&#160; Then I page down and delete the redundant do-nothing “Other Operating Systems” entry at the end.</p>
<h4>Ubuntu 9.10 with grub 2</h4>
<p>Ubuntu 9.10 uses a newer version of grub that works differently; do this:</p>
<blockquote><p>cd /etc/default     <br /><a title="The sudo command elevates rights to admin (root) power" href="http://oreilly.com/linux/command-directory/cmd.csp?path=s/sudo">sudo</a> <a title="Changes access mode (permissions attributes) for a file" href="http://oreilly.com/linux/command-directory/cmd.csp?path=c/chmod">chmod</a> 666 grub      <br /><a title="Runs a text editor; the Ubuntu equivalent of Notepad" href="http://linux.about.com/library/cmd/blcmdl1_gedit.htm">gedit</a> grub      <br />sudo chmod 644 grub      <br />sudo update-grub</p>
</blockquote>
<p>You can’t edit the menu text that will be displayed in the boot menu anymore, because the new grub version doesn’t use your setting file directly.&#160; Instead, it builds a new internal “don’t edit this” settings file that combines your settings with what it detects &#8211; and the menu entry text is built from what it detects, not your settings.&#160; The update-grub command is needed to force a new build of the internal settings file.</p>
<p>When I edit the grub file, I don’t try to specify which boot menu entry to use by default, nor re-arrange the order of these entries with my choice at the top.&#160; Because update-grub spawns a new menu that may differ from what is in effect as I edit the grub file, the first approach could misfire, and the second approach won’t work.</p>
<p>Instead, I use a new “saved” value for the “default” setting, which has the happy effect of defaulting to whatever the user chose last time.</p>
<p>But by default, the grub boot menu is not displayed, so I change entry to force it to be displayed, and set the timeout value after which the default kicks in:</p>
<blockquote><p>GRUB_DEFAULT=<strong>saved       <br /></strong>GRUB_HIDDEN_TIMEOUT_QUIET=<strong>false       <br /></strong>GRUB_TIMEOUT=&quot;<strong>20</strong>&quot;</p>
</blockquote>
<h4>Alert!</h4>
<p>If you dual-boot Ubuntu (or similar, using grub) and Windows, have multiple Windows-visible partitions, and use WAIK or OPK imaging tools (WinPE, ImageX) then there’s a serious bum-biting trap waiting for you – not so much a bug, as a natural consequence of how grub works.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/18/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/18/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/18/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=18&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2009/11/20/edit-grub-menu-in-ubuntu-9-10-and-older/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
		<item>
		<title>IE 8 Beta 2 Impressions</title>
		<link>http://cquirke.wordpress.com/2008/09/11/ie-8-beta-2-impressions/</link>
		<comments>http://cquirke.wordpress.com/2008/09/11/ie-8-beta-2-impressions/#comments</comments>
		<pubDate>Thu, 11 Sep 2008 09:53:11 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2008/09/11/ie-8-beta-2-impressions/</guid>
		<description><![CDATA[
Technorati tags: IE8, beta, web browsers

Internet Explorer 8 beta 2 came out just before Google Chrome, and both have several features in common.&#160; However, Chrome is still built on a known-exploitable code base that even Apple had already patched in Safari, so I can&#8217;t take that seriously as a safe edge-facing product.&#160; I also don&#8217;t [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=16&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
<div style="display:inline;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:5d62b00e-8936-4653-9e19-c8a782adccc6" class="wlWriterSmartContent">Technorati tags: <a href="http://technorati.com/tags/IE8" rel="tag">IE8</a>, <a href="http://technorati.com/tags/beta" rel="tag">beta</a>, <a href="http://technorati.com/tags/web%20browsers" rel="tag">web browsers</a></div>
</p>
<p>Internet Explorer 8 beta 2 came out just before Google Chrome, and both have several features in common.&nbsp; However, <a title="A round-up of Google Chrome issues" href="http://cquirke.blogspot.com/2008/09/google-chrome-born-dead.html">Chrome</a> is still built on a known-exploitable code base that even Apple had already patched in Safari, so I can&#8217;t take that seriously as a safe edge-facing product.&nbsp; I also don&#8217;t like vendors who <a title="&quot;Users do not get a notification when they are updated&quot;" href="http://news.cnet.com/8301-1009_3-10035004-83.html">silently push updates</a> without user control, who who are slow to tell you what their new code does.</p>
<p><strong>Features</strong></p>
<p>Beta 2 feels a lot more new-featured than beta 1, partly because it is, and partly because the new UI is catching up with what is inside the code.&nbsp; There&#8217;s enough difference and improvement over IE 7 to be <a title="Internet Explorer 8 home page, you can download it from there" href="http://www.microsoft.com/windows/internet-explorer/beta/default.aspx">worth a look</a>, even if you aren&#8217;t interested in the beta testing and <a title="The IE Team blog" href="http://blogs.msdn.com/ie/">feedback</a> process &#8211; but it <em>is</em> in beta, so take care if testing it your &#8220;real&#8221; computer.</p>
<p>I enjoyed the safer address bar URL display in beta 1, but there&#8217;s more URL-handling goodness in beta 2, especially when it comes to revisiting where you&#8217;ve been, keeping track of which tabs were opened from where, and so on.&nbsp; There&#8217;s also the InPrivate mode if you don&#8217;t want your history retained.&nbsp; And I love the new search entry area&#8217;s drop-down set of search engine icons, so I can change engine on the fly for each search instead of having to set and change this.</p>
<p>A subtle but significant joy is improvement of Standards vs. IE 7 modes.&nbsp; In beta 1, one had to exit the entire browser to &#8220;change gears&#8221;, which seemed odd as each tab runs in its own process, including a mix of tabs in Protected and non-Protected modes.&nbsp; In beta 2, you can not only mix Standards and IE 7 modes across a tab set, but have the browser remember and automatically apply the correct mode for a given site or domain.</p>
<p>It&#8217;s a bit strange to still have no &#8220;advanced&#8221; download support, i.e. the same ability to resume interrupted downloads that we had in the 386 era&#8217;s BBSs transfer protocols.&nbsp; After all, ftp does as last embrace such things, as well as the ability to download from multiple points in the same file for speed.&nbsp; Why should we still need tacky and often spyware-riddled add-on tools to do this?</p>
<p><strong>Stability</strong></p>
<p>On stability, it&#8217;s a bit of a mixed bag, compared to beta 1.&nbsp; It now handles the Trend SysClean engine download <a title="Links directly to download Sysclean.com (an executable code file)" href="http://www.trendmicro.com/ftp/products/tsc/sysclean.com">link</a> a bit better; it still shows the Windows executable code content within the misnamed .COM file as a web page, but no longer crashes and can Save As correctly.&nbsp; Some other sites that didn&#8217;t work in beta 1, such as on-page UI buttons to send comments from some blogs, now work correctly in beta 2.</p>
<p>On the downside, IE still struggles to close when there are many tabs open (typically I have 20-30 open per window at a time), and can fall into a doomed loop of retrying the same page that crashed it.&nbsp; I&#8217;ve also seen the whole browser become terminally unresponsive, and not always when trying to close down multiple tabs.&nbsp; That can cause a storm of crash dialogs etc. if it tries to recover all the tabs that were open.</p>
<p>When the browser becomes unresponsive, I either see System and IExplore pegged at 50% CPU each, or (more often) &gt; 90% of CPU time correctly in the idle loop, while IE still behaves as if it&#8217;s being hogged.</p>
<p>All of this testing has been on XP SP3 with IE8 running in Standards Mode, and set to prompt on active content.&nbsp; That can lead to multiple tabs stalling on such prompts at the same time, which may bulge resource use or lead to some sort of race condition.&nbsp; I suppress 3rd-party enhancements via the IE 6 era Tools, Options, Advanced setting, so there shouldn&#8217;t be any BHOs or toolbar code.</p>
<p>I&#8217;m certainly enjoying beta 2, but wonder whether there will be more builds to test between now and RTM.&nbsp; IMO, there need to be, if only to pin down and fix the stability issues that remain.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cquirke.wordpress.com/16/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cquirke.wordpress.com/16/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=16&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2008/09/11/ie-8-beta-2-impressions/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
		<item>
		<title>IE Needs True &quot;Blank&quot; Page</title>
		<link>http://cquirke.wordpress.com/2008/05/19/ie-needs-true-blank-page/</link>
		<comments>http://cquirke.wordpress.com/2008/05/19/ie-needs-true-blank-page/#comments</comments>
		<pubDate>Mon, 19 May 2008 10:13:21 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2008/05/19/ie-needs-true-blank-page/</guid>
		<description><![CDATA[Technorati tags: IE8, beta, wish, Microsoft, web browser

In a malware-aware 21st century, IE really needs a true &#8220;NO home page&#8221; option, and not load an infectable .HTM file from a known filespec.
After all, if one wants to load a local .HTM as &#8220;home page&#8221;, perhaps to effect some scripting at the start of a browser [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=15&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p><div style="display:inline;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a532a1b4-65d7-4e31-9357-c5480773f89e" class="wlWriterSmartContent">Technorati tags: <a href="http://technorati.com/tags/IE8" rel="tag">IE8</a>, <a href="http://technorati.com/tags/beta" rel="tag">beta</a>, <a href="http://technorati.com/tags/wish" rel="tag">wish</a>, <a href="http://technorati.com/tags/Microsoft" rel="tag">Microsoft</a>, <a href="http://technorati.com/tags/web%20browser" rel="tag">web browser</a></div>
</p>
<p>In a malware-aware 21st century, IE really needs a true &#8220;<em>NO</em> home page&#8221; option, and not load an infectable .HTM file from a known filespec.</p>
<p>After all, if one wants to load a local .HTM as &#8220;home page&#8221;, perhaps to effect some scripting at the start of a browser session, then one can point to such a file as &#8220;home page&#8221;.&nbsp; That is far clearer (&#8220;principle of least surprise&#8221;) than creating the impression of a &#8220;blank&#8221; home page that is not certain to be &#8220;blank&#8221;.</p>
<p>In other words, the &#8220;blank home page&#8221; option in IE8 should show <em>nothing</em>, and <em>not</em> load any file as the &#8220;home page&#8221;.&nbsp; If IE8&#8217;s code requires something to chew on, then IE8 could spawn a fresh blank .HTM of random name from boilerplate code, and load that.</p>
<p>Please not let&#8217;s hear a lot of &#8220;mitigation noise&#8221; such as &#8220;an attacker would have to&#8230;&#8221; or &#8220;blah blah permissions&#8221; this, or &#8220;blah blah reduced user rights&#8221; that.&nbsp; Non-existence trumps &#8220;security&#8221;!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cquirke.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cquirke.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=15&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2008/05/19/ie-needs-true-blank-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
		<item>
		<title>IE8: Summary and Launch Pad</title>
		<link>http://cquirke.wordpress.com/2008/04/12/ie8-summary-and-launch-pad/</link>
		<comments>http://cquirke.wordpress.com/2008/04/12/ie8-summary-and-launch-pad/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 08:06:46 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[IE8]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2008/04/12/ie8-summary-and-launch-pad/</guid>
		<description><![CDATA[
Technorati tags: IE8, beta, wish, Microsoft, web browser

I&#8217;ve been testing Internet Explorer 8 beta 1, and so far it looks like IE7, but with more goodly oomph under the hood.&#160; It&#8217;s a relatively early beta, so I expect the look to change; at present, the UI is a mix of standard-looking IE7 with very new-look [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=14&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
<div style="display:inline;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:45375ed4-92fc-43dd-85e0-b14094e0a528" class="wlWriterSmartContent">Technorati tags: <a href="http://technorati.com/tags/IE8" rel="tag">IE8</a>, <a href="http://technorati.com/tags/beta" rel="tag">beta</a>, <a href="http://technorati.com/tags/wish" rel="tag">wish</a>, <a href="http://technorati.com/tags/Microsoft" rel="tag">Microsoft</a>, <a href="http://technorati.com/tags/web%20browser" rel="tag">web browser</a></div>
</p>
<p>I&#8217;ve been testing <a title="Download site for IE8 beta 1" href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/default.mspx">Internet Explorer 8 beta 1</a>, and so far it looks like IE7, but with more goodly oomph under the hood.&nbsp; It&#8217;s a relatively early beta, so I expect the look to change; at present, the UI is a mix of standard-looking IE7 with very new-look dialogs here and there,</p>
<p>This post will be retro-edited to serve as a launch point for bugs and suggestions for IE8, much as I did for Vista <a title="Vista Wishes - Summary and Launch Pad" href="http://cquirke.spaces.live.com/blog/cns!C7DAB1E724AB8C23!336.entry?fl=cat">here.</a></p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cquirke.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cquirke.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=14&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2008/04/12/ie8-summary-and-launch-pad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
		<item>
		<title>Name This Blog</title>
		<link>http://cquirke.wordpress.com/2008/04/11/name-this-blog/</link>
		<comments>http://cquirke.wordpress.com/2008/04/11/name-this-blog/#comments</comments>
		<pubDate>Fri, 11 Apr 2008 07:54:25 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[Blogging]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2008/04/11/name-this-blog/</guid>
		<description><![CDATA[
Technorati tags: Blogging

At the risk of sounding like a self-important vendor spending millions on announcing a changed product name, this post is a muse about where to take this blog.
The &#8220;problem&#8221; is that this blog hosting service has the feature set I want to use, and I want to do more than write about Linux.
I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=13&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
<div style="display:inline;margin:0;padding:0;" id="scid:0767317B-992E-4b12-91E0-4F059A8CECA8:a8fafa50-33a3-481c-b5b2-85fbb8d0a440" class="wlWriterSmartContent">Technorati tags: <a href="http://technorati.com/tags/Blogging" rel="tag">Blogging</a></div>
</p>
<p>At the risk of sounding like a self-important vendor spending millions on announcing a changed product name, this post is a muse about where to take this blog.</p>
<p>The &#8220;problem&#8221; is that this blog hosting service has the feature set I want to use, and I want to do more than write about Linux.</p>
<p>I like the symmetry of &#8220;<a title="My first blog, and still the most active" href="http://cquirke.blogspot.com/">blog</a>&#8220;, <a title="My second blog, on Vista and WAIK" href="http://cquirke.spaces.live.com/">Vista Curve</a>&#8221; and &#8220;<a title="This blog, being the third, on the host I want to use most" href="http://cquirke.wordpress.com/">Linux Curve</a>&#8220;, and it&#8217;s not obvious as to how this third blog will be differentiated with the others.&nbsp; I was thinking of calling it &#8220;The Long View&#8221;, to include ideas for Windows 7, <a title="Internet Explorer 8 beta home page" href="http://www.microsoft.com/windows/products/winfamily/ie/ie8/default.mspx">IE 8</a> (before that gets feature-frozen, if it hasn&#8217;t already), Linux, and the still-neglected area of <a title="How to design a maintenance OS" href="http://cquirke.blogspot.com/2006/09/how-to-design-mos.html">maintenance OS</a>s.&nbsp; </p>
<p>But I also want to use the web site structure offered by WordPress to cover timeless &#8220;how do I&#8230;&#8221; issues definitively, e.g. how to defend against USB infectors.&nbsp; The things I&#8217;d have done on my <a title="My first web site, on Win9x" href="http://cquirke.mvps.org/9x/index.html">old</a> <a title="My slightly-less-old web site" href="http://cquirke.mvps.org/">web sites</a> in the old days, and as these are not particularly forward-looking, they don&#8217;t fit &#8220;The Long View&#8221;.</p>
<p>Perhaps it depends on how well WordPress can offer alternate faces for web and blog content.&nbsp; If it&#8217;s good at that, I&#8217;ll use that to separate the gritty reality of the site from the more futuristic blog.&nbsp; Or maybe I can shell the &#8220;Linux Curve&#8221; within the &#8220;Long View&#8221; blog, much as my old Win9x site was shelled under a new parent site as I turned attention towards XP.</p>
<p>You may think it&#8217;s odd that an MVP has a blog dedicated to Linux, but IMO, any &#8220;long view&#8221; (5+ years) has to count in alternatives to Windows, and to PCs for that matter.&nbsp; Microsoft&#8217;s research labs would be doing the same, and they aren&#8217;t just cooking up new versions of MS Office and Windows.&nbsp; But as users, we don&#8217;t have the same ability to design our futures &#8211; we&#8217;d have to choose from off-the-peg solutions that could be so different that today&#8217;s judgement of acceptability cannot be assumed to hold.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cquirke.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cquirke.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=13&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2008/04/11/name-this-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
		<item>
		<title>Editing menu.lst Revisited</title>
		<link>http://cquirke.wordpress.com/2008/03/24/editing-menulst-revisited/</link>
		<comments>http://cquirke.wordpress.com/2008/03/24/editing-menulst-revisited/#comments</comments>
		<pubDate>Mon, 24 Mar 2008 02:40:00 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2008/03/24/editing-menulst-revisited/</guid>
		<description><![CDATA[
Technorati tags: Linux, grub, Ubuntu

In response to this entry, Cenk Kulacoglu asks why I spawned a new CLI session rather than just run a terminal instance from the appropriate menu.&#160; The reason is simple; I didn&#8217;t think of that&#160; :-)
In addition, one doesn&#8217;t have to use the vi text editor.&#160; In fact, you can at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=12&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati tags: <a href="http://technorati.com/tags/Linux" rel="tag">Linux</a>, <a href="http://technorati.com/tags/grub" rel="tag">grub</a>, <a href="http://technorati.com/tags/Ubuntu" rel="tag">Ubuntu</a></div>
</p>
<p>In response to <a title="See this article for the commands referred to in this post" href="http://cquirke.wordpress.com/2007/10/05/ubuntu-editing-grubs-menulst/">this entry</a>, Cenk Kulacoglu asks why I spawned a new CLI session rather than just run a terminal instance from the appropriate menu.&nbsp; The reason is simple; I didn&#8217;t think of that&nbsp; :-)</p>
<p>In addition, one doesn&#8217;t have to use the vi text editor.&nbsp; In fact, you can at least initiate most of this via the GUI&#8217;s menus, though the lack of an equivalent to Vista&#8217;s right-click, &#8220;run as admin&#8221; makes you more CLI-bound than should be necessary.</p>
<p>The easier way I now use is as follows; start a command line window from the appropriate menu, navigate to /boot/grub, sudo to chmod the menu.lst file for editing, then sudo gedit menu.lst to edit the file in a more familiar style of text editor.&nbsp; After saving the edits, chmod the menu.lst back to protect it, and you&#8217;re done.</p>
<p>The stumbling block was having to &#8220;smell&#8221; that the nice text editor seen via the GUI menu, is named gedit, so that one can invoke it from the CLI.&nbsp; It&#8217;s necessary to invoke it from the CLI rather than the GUI menu, because the GUI menu lacks a &#8220;run as admin&#8221; (i.e. with root access) facility.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cquirke.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cquirke.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=12&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2008/03/24/editing-menulst-revisited/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
		<item>
		<title>Linux File Attributes</title>
		<link>http://cquirke.wordpress.com/2007/10/05/linux-file-attributes/</link>
		<comments>http://cquirke.wordpress.com/2007/10/05/linux-file-attributes/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 10:32:36 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2007/10/05/linux-file-attributes/</guid>
		<description><![CDATA[
Technorati tags: Linux

The chmod command operates on the Linux equivalent to &#8220;attributes&#8221; in DOS, but the syntax differs from the DOS attrib command. 
These attributes (or &#8220;modes&#8221;?)&#160;are conceptually similar, being a bitmapped value with each bit specifying an attribute of the file.&#160; When you do an ls -g to see more details for a directory [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=11&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati tags: <a href="http://technorati.com/tags/Linux" rel="tag">Linux</a></div>
</p>
<p>The <a title="chmod (change mode) command syntax" href="http://www.computerhope.com/unix/uchmod.htm">chmod</a> command operates on the Linux equivalent to &#8220;attributes&#8221; in DOS, but the syntax differs from the DOS <a title="Attrib (DOS and Windows) command syntax" href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/attrib.mspx?mfr=true">attrib</a> command. </p>
<p>These attributes (or &#8220;modes&#8221;?)&nbsp;are conceptually similar, being a bitmapped value with each bit specifying an attribute of the file.&nbsp; When you do an <a title="ls (List, like DOS Dir) command syntax" href="http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=l/ls">ls</a> -g to see more details for a directory listing, they are displayed something like this:</p>
<blockquote><p>-rwxrwxrwx</p>
</blockquote>
<p>Each group of &#8220;rwx&#8221; corresponds to a single octal digit, i.e.&nbsp;values 4 + 2 + 1.&nbsp; If the bit is set, the flag is shown; if it is zero, then &#8211; is shown instead.&nbsp; So rwx = 7 and means reading, writing and execution permissions are allowed, whereas r&#8211; mean only reading is allowed.&nbsp;</p>
<p>These permission bits&nbsp;are then repeated for different contexts; from left to right, these are for owner, group and user, according to <a title="cmmod (change mode, like DOS Attrib) command syntax" href="http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=c/chmod">this</a> syntax reference.</p>
<p>I see there is support for syntax closer to the &#8220;Attrib -r -s -h&#8221; familiar to DOS users, but I used octal values when I needed to chmod something, e.g&#8230;</p>
<blockquote><p>chmod 0777 menu.lst</p>
<p>chmod 0644 menu.lst</p>
</blockquote>
<p>&#8230;that result in&#8230;</p>
<blockquote><p>-rwxrwxrwx</p>
<p>-rw-r&#8211;r&#8211;</p>
</blockquote>
<p>&#8230;respectively.</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cquirke.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cquirke.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=11&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2007/10/05/linux-file-attributes/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu: Editing grub&#8217;s menu.lst</title>
		<link>http://cquirke.wordpress.com/2007/10/05/ubuntu-editing-grubs-menulst/</link>
		<comments>http://cquirke.wordpress.com/2007/10/05/ubuntu-editing-grubs-menulst/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 10:15:45 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2007/10/05/ubuntu-editing-grubs-menulst/</guid>
		<description><![CDATA[
Technorati tags: Linux, grub, Ubuntu

If you&#8217;ve just set up a dual-boot between Windows and Ubuntu (in this case, 7.04) to try out the latter, then you will probably want to edit the settings file that controls the grub system-level boot manager.&#160; You may want Windows to boot by default, and more menu time to override [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=10&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /></p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati tags: <a href="http://technorati.com/tags/Linux" rel="tag">Linux</a>, <a href="http://technorati.com/tags/grub" rel="tag">grub</a>, <a href="http://technorati.com/tags/Ubuntu" rel="tag">Ubuntu</a></div>
</p>
<p>If you&#8217;ve just set up a dual-boot between Windows and Ubuntu (in this case, 7.04) to try out the latter, then you will probably want to edit the settings file that controls the grub system-level boot manager.&nbsp; You may want Windows to boot by default, and more menu time to override that default.</p>
<p>As seen from Ubuntu, the file you are after is in the /boot/grub directory, and is called menu.lst (where &#8220;l&#8221; is lower-case L, not the digit 1).&nbsp; But because this is outside your home subtree, you will need root privileges to edit it.&nbsp; </p>
<p>I didn&#8217;t find a way to do this in the GUI (e.g. an equivalent to Vista&#8217;s right-click, &#8220;Run as administrator&#8221;) so I pressed Ctl+Alt+F1 to get to a <a title="bash as a command" href="http://www.computerhope.com/unix/ubash.htm">bash</a> shell (a Linux equivalent to Command.com or Cmd.exe).&nbsp; From here it is easy; precede any command needing root access with the <a title="sudo command syntax" href="http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=s/sudo">sudo</a> command, and after passing a root password prompt, that works.</p>
<p>After logging in to my user account, I entered the following commands to get to where the file was, list it to see what permissions were in effect, then <a title="Changing Linux file permissions (attributes) via chmod" href="http://cquirke.wordpress.com/2007/10/05/linux-file-attributes/">change</a> these to facilitate my changes:</p>
<blockquote><p><a title="cd (Change Directory) command syntax" href="http://www.computerhope.com/unix/ucd.htm">cd</a> /boot/grub</p>
<p><a title="ls (List, like DOS Dir) command syntax" href="http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=l/ls">ls</a> -g</p>
<p>sudo <a title="chmod (Change Mode, like DOS Attrib) command syntax" href="http://www.linuxdevcenter.com/linux/cmd/cmd.csp?path=c/chmod">chmod</a> 0777 menu.lst</p>
<p>ls -g</p>
</blockquote>
<p>This took the safety catch off menu.lst so I could save changes to it.&nbsp; Then I used vi to edit the file, changing the order of boot entries so that Windows came first (I could have left it where it was and specified it by number as the new default), and then changing the timeout statement to &#8220;timeout sec&nbsp;&nbsp;&nbsp; 20&#8243; for 20 seconds (the word &#8220;sec&#8221; is required).&nbsp; </p>
<p>I&#8217;ll leave the gory details of editing in <a title="vi (text editor) command syntax" href="http://www.computerhope.com/unix/uvi.htm">vi</a> as an exercise for the reader, but basically it&#8217;s a to add text, Esc to go back to command mode, and :wq to save and exit.</p>
<p>Thereafter I restored safer attribute flags via this command&#8230;</p>
<blockquote><p>sudo chmod 0644 menu.lst</p>
</blockquote>
<p>&#8230;pressed Ctl+Alt+F7 to switch back to the GUI, and was done.&nbsp; Whew!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cquirke.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cquirke.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=10&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2007/10/05/ubuntu-editing-grubs-menulst/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
		<item>
		<title>Ubuntu 7, XP and Intel G33</title>
		<link>http://cquirke.wordpress.com/2007/10/05/ubuntu-7-xp-and-intel-g33/</link>
		<comments>http://cquirke.wordpress.com/2007/10/05/ubuntu-7-xp-and-intel-g33/#comments</comments>
		<pubDate>Fri, 05 Oct 2007 08:07:21 +0000</pubDate>
		<dc:creator>cquirke</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://cquirke.wordpress.com/2007/10/05/ubuntu-7-xp-and-intel-g33/</guid>
		<description><![CDATA[
Technorati tags: Linux, XP, G33, dual boot

I&#8217;ve just done a dual-boot build with XP Home SP2 and Ubuntu 7.04 Feisty Fawn on a PC based on Intel&#8217;s Frostburg motherboard.&#160; This is an ATX PCI Express DDR2 motherboard, based on the G33 chipset, which in turn includes the ICH9 IO controller.&#160; 
Intel G33 and ICH9
The ICH9 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=9&subd=cquirke&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>
<div class="wlWriterSmartContent" style="display:inline;margin:0;padding:0;">Technorati tags: <a href="http://technorati.com/tags/Linux" rel="tag">Linux</a>, <a href="http://technorati.com/tags/XP" rel="tag">XP</a>, <a href="http://technorati.com/tags/G33" rel="tag">G33</a>, <a href="http://technorati.com/tags/dual%20boot" rel="tag">dual boot</a></div>
</p>
<p>I&#8217;ve just done a dual-boot build with XP Home SP2 and Ubuntu 7.04 Feisty Fawn on a PC based on Intel&#8217;s Frostburg motherboard.&nbsp; This is an ATX PCI Express DDR2 motherboard, based on the G33 chipset, which in turn includes the ICH9 IO controller.&nbsp; </p>
<p><strong><font color="#800000">Intel G33 and ICH9</font></strong></p>
<p>The <a title="Intel's datasheet download for ICH9" href="http://www.intel.com/design/chipsets/datashts/316972.htm">ICH9</a> is significant, because XP&#8217;s \i386 has no native support for it &#8211; so a <a title="Bart PE Builder" href="http://www.nu2.nu/pebuilder/">Bart</a> <a title="How to design a maintenance OS" href="http://cquirke.blogspot.com/2006/09/how-to-design-mos.html">mOS</a> CDR based on the XP SP2 code set cannot see S-ATA hard drives connected to it, and the XP SP2 installation process requires the &#8220;press F6 and provide <a title="This is the page for Intel Matrix Storage Manager downloads!" href="http://www.intel.com/support/chipsets/sb/CS-015001.htm">drivers</a> on diskette&#8221; step else it too will find no S-ATA hard drives on which it can install (it does however see external hard drives attached via USB!).</p>
<p>This creates a <strong>maintenance quandary</strong> for Windows installations on this chipset, especially as this has been the motherboard I have used for all new PCs since it became available here a few months ago.&nbsp; Bart will work if I drop the hard drive in an older and compatible motherboard.&nbsp;&nbsp;<a title="Overview of WinPE 2.0" href="http://technet.microsoft.com/en-us/windowsvista/aa905120.aspx">WinPE 2.0</a> works, but lacks <a title="RunScanner plugin for Bart; transparent registry redirection" href="http://www.paraglidernc.com/plugins/runscanner.htm">RunScanner</a> functionality.&nbsp; New Linuxen can write NTFS, which makes it close enough to WinPE 2.0 to use as a mOS; the downside is no registry support at all, but the upside is that it may be&nbsp;easier to <a title="How to build a WinPE malware management mOS" href="http://www.microsoft.com/technet/security/guidance/disasterrecovery/malware/default.mspx">set up</a> as a software&nbsp;platform than WinPE, and what I learn is directly applicable to its use as a production OS.</p>
<p>When I started looking at Linux again a few months ago, I threw a motley pile of distros of various vintages at the G33, and none of them stuck (none booted &#8220;live&#8221;, none could install), presumably because they were made before the G33.&nbsp; The exception was Ubuntu 7.04, which booted and&nbsp;installed, but the hard drive installation wouldn&#8217;t boot.</p>
<p><strong><font color="#800000">Vista</font></strong></p>
<p>I build Vista using the <a title="Windows Automated Installation Kit for Vista" href="http://www.microsoft.com/downloads/details.aspx?FamilyID=C7D4BC6D-15F3-4284-9123-679830D629F2&amp;displaylang=en">WAIK</a> tool set; I built a reference installation, avoid activating it, initialize via <a title="What is Sysprep; or rather, what was Sysprep in 2003" href="http://technet2.microsoft.com/windowsserver/en/library/c03a5469-ef71-4545-b970-ce2add5e715c1033.mspx?mfr=true">Sysprep</a>, then harvest that via <a title="What is ImageX?" href="http://technet2.microsoft.com/windowsserver/en/library/c03a5469-ef71-4545-b970-ce2add5e715c1033.mspx?mfr=true">ImageX</a> from WinPE.&nbsp;&nbsp;New PCs are then built by applying the image via ImageX from WinPE, after partitioning via <a title="Boot It New Generation boot/partition manager" href="http://www.bootitng.com">BING</a>&nbsp;(which I don&#8217;t install)&nbsp;and formatting C: to NTFS from&nbsp;WinPE (the <a title="The Convert.exe tool, as it was in XP" href="http://support.microsoft.com/kb/314097">Convert</a>&nbsp;tool appears <a title="WinPE 2.0 Convert.exe silently fails to convert to NTFS" href="http://cquirke.spaces.live.com/blog/cns!C7DAB1E724AB8C23!194.entry">not to work</a>).</p>
<p>Originally I built this as a Vista PC to replace an aging Win98SE PC that was used to run an old version of Flexisign.&nbsp; The client is a small mom-and-pop signwriting shop that is built around a pair of Summa vinyl cutters that were bought second-hand, along with the Flexisign software that they use.&nbsp; They can&#8217;t afford to buy this software anew; even the upgrade is too <a title="Page contains links to .PDF documents on Flexisign pricing" href="http://www.corbingraphics.com/softwareflexi.htm">costly</a>.</p>
<p>The old version needs a parallel port dongle and works only on the old Win98SE PC and within a Win98SE VM on an XP PC, but the new Frostburg motherboard has no parallel port hardware. The newer version runs fine in XP and Win98SE, but not in Vista, so the initial solution was another Win98SE VM within Vista to run it that way.</p>
<p>After some time on site, I had peer-to-peer networking in effect for both VMs and physical PCs (the trick being how one applies sharing permissions in Vista).&nbsp; I went home happy, only to find a bunch of increasingly desperate email messages saying this and that doesn&#8217;t work, the network file sharing wasn&#8217;t working, and &#8220;please can we go back to XP&#8221;.&nbsp; Bye-bye Vista; it doesn&#8217;t matter how pretty you are, if you can&#8217;t host applications and do the basic bread-and-butter stuff, you aren&#8217;t a solution here.</p>
<p><strong><font color="#800000">Ubuntu 7.04</font></strong></p>
<p>Given the long-term implications of using vital software that is already old and too costly to replace,&nbsp;we decided to build a dual-boot XP and Linux system.&nbsp; The clients don&#8217;t really like Flexisign that much, and are happy to use something else if it is legally free; that&#8217;s more likely to happen on Linux than Windows.</p>
<p>I started by using BING to image the Vista 32G C: to logical volume E: so that I could undo if things got even worse.&nbsp; Then I deleted the primary C: partition, created a new 20G primary for XP, slid that forward to reduce head travel to the extended partition, and left 12G free space for the Ubuntu installation.</p>
<p>Before installing Ubuntu, I copied off all files from logical volumes D:, E: and F: in case the Ubuntu installation process botched those for some reason.&nbsp; The last time I installed Ubuntu back in version 5.xx, the installer was quite cavalier, defaulting to wiping the entire hard drive, and I&#8217;d recently done data recovery for another client who had botched additional 300G and 500G hard drives when installing Linux.&nbsp; So I took care to maintain undoability!</p>
<p>The installation process was very easy and went flawlessly, with no additional drivers required.&nbsp; This time there seemed no risk of botching existing hard drive contents, though I was careful to go &#8220;custom&#8221; and watch all settings and checkboxes along the way.&nbsp; I created an 11G primary for Linux and 900M swap partition, which thus filled up the partition table.</p>
<p>If you read my <a title="10 Linux Toe-Stubbers, earlier in this blog" href="http://cquirke.wordpress.com/2007/09/22/my-10-first-linux-toe-stubbers/">10 Linux Toe-Stubbers</a> article, you&#8217;ll know I anticipated some hard work ahead, if I wanted to &#8220;see&#8221; the same logical volumes as used from the Windows installation.&nbsp; But <strong>that was easy</strong>; Ubuntu shows all of these volumes, already mounted, as icons on the desktop!</p>
<p>I had to roll up my sleeves to edit the <strong>grub menu.lst</strong> file from Ubuntu, so that it would default to Windows XP (which I hadn&#8217;t installed yet) and pause long enough to select Ubuntu instead.&nbsp; I could see the required file, but it wasn&#8217;t obvious how to access it with the required root privileges so that I could save my changes to it.</p>
<p>So I pressed Ctl+Alt+F1 for a bash shell, and from there I figured out how to log in as root and then use the vi text editor to edit the file.&nbsp; With my Linux Bible on my knees opened at the relevant pages, I trudged through vi&#8217;s terminal-era keystrokes&nbsp;to make my changes, then saved and exited.&nbsp; The menu now works and defaults correctly, but the timeout value of 15 does not seem to give 15 seconds of menu time &#8211; something I&#8217;ll fix later.</p>
<p>Everything works in Ubuntu except the integrated LAN adapter &#8211; so I&#8217;ll have to download possible vector graphics applications etc. from the XP side of the fence.&nbsp; But for now, I&#8217;m happy enough to move on.</p>
<p><strong><font color="#800000">XP Home</font></strong></p>
<p>In contrast, the installation of XP Home was a trickier affair.&nbsp; Before I discovered WAIK, I used to build XP systems interactively; now I do so by applying a reference build via WAIK&#8217;s tools, much as described for Vista.&nbsp; Normally I use a 7.9G FAT32 C: for XP, but they needed more C: space (thanks to Garmin and Google Earth bloat factors), so I formatted the 20G C: to NTFS in order to stay with paging-friendly 4k clusters.&nbsp; Then I applied my XP installation image.</p>
<p>This resulted in an installation that booted into a BSoD STOP error, including from Safe Cmd; also, the Recovery Console and DOS Mode Boot.ini menu entries didn&#8217;t work.&nbsp; None of this surprised me; after all, the motherboard chipset was different and beyond the native capabilities of the \i386 file set, and as I&#8217;d changed the partition size, any PBR images used to boot Recovery Console or DOS Mode would be doomed.&nbsp; </p>
<p>DOS Mode won&#8217;t run from NTFS anyway, so the plan would be to delete that option from Boot.ini, and renew the Recovery Console by re-installing that from the generic OEM XP CD that I&#8217;d bought for the build.</p>
<p>But first, I had to do a Repair install to create a code driver code set that matched the newer motherboard.&nbsp; That in turn failed, as the base code set could not see the S-ATA hard drive through ICH9.&nbsp; So it was off to Intel&#8217;s web site to download the appropriate drivers, and make a 1.44M diskette to wave at the F6 opportunity.</p>
<p>With a diskette drive hooked up to host the diskette, I retried the repair install, and this time, all went well.&nbsp; The <strong>F6 process</strong> appears to ignore the diskette at first, but later stops and lists the drivers found on it, at which point you need to know which option to choose after pressing S to add such things (I chose the first entry, i.e. ICH9R).</p>
<p>After that, all went as well as can be expected for an XP repair install; all patches and IE 7 lost, dialogs to carefully step through so as to re-assert regional settings and skip the creation of unwanted new user accounts, then fixing of lost settings such as &#8220;don&#8217;t automatically restart on errors&#8221;, &#8220;don&#8217;t do System Restore on logical volumes D:, E:, and F:&#8221;, etc.</p>
<p>A <strong>pleasant surprise</strong> was that the XP imaging and repair install had not botched the grub system-level partition manager!&nbsp; Not only had that survived, but my re-use of the sample Windows boot entry settings actually matched the installation I created, so that worked as well.</p>
<p>The <strong>activation process</strong> was sticky, too; I could not log into XP without activating first, and activation over the Internet failed because the installation didn&#8217;t have drivers for the LAN adapter as yet &#8211; a classic &#8220;don&#8217;t kick away the ladder&#8221; kind of meta-bug.&nbsp; If I didn&#8217;t know to select the &#8220;activate by telephone&#8221; option, I&#8217;d have been stuck at this point, but that process went smoothly.</p>
<p><strong><font color="#800000">Overall impressions</font></strong></p>
<p>I was impressed with Ubuntu 7.04; it not only took to the new hardware with aplomb, but anticipated and catered for my desire to access to other hard drive volumes without me having to manually mount them, and then bang my head against automating this process on every Ubuntu boot.</p>
<p>It may seem unfair to expect XP SP2 Home to work as well with hardware that didn&#8217;t exist when the code base was created, but this CD appears to have been re-made since the original SP2 (the activation input key is longer, probably a recent change as Microsoft ran out of product key space for the product).&nbsp; It would have been nice, though at the cost of testing etc., had core driver support for new chipsets been added &#8211; especially as sales of XP have been extended due to demand.</p>
<p>I don&#8217;t know how easy it will be to get Intel&#8217;s LAN adapter working in Ubuntu, or what other problems may have to be solved down the line, but it&#8217;s a good start!</p>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/cquirke.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/cquirke.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/cquirke.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/cquirke.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/cquirke.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/cquirke.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/cquirke.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/cquirke.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/cquirke.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/cquirke.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/cquirke.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/cquirke.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=cquirke.wordpress.com&blog=1695964&post=9&subd=cquirke&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://cquirke.wordpress.com/2007/10/05/ubuntu-7-xp-and-intel-g33/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/a2249f4d592f5e6af84b69d27f9b40e4?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">cquirke</media:title>
		</media:content>
	</item>
	</channel>
</rss>