<?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>Andre Noel &#187; dual boot</title>
	<atom:link href="http://en.andrenoel.com.br/tag/dual-boot/feed/" rel="self" type="application/rss+xml" />
	<link>http://en.andrenoel.com.br</link>
	<description></description>
	<lastBuildDate>Wed, 07 Dec 2011 15:52:29 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Starting Linux through Windows XP boot list (boot.ini)</title>
		<link>http://en.andrenoel.com.br/2009/07/22/starting-linux-through-windows-xp-boot-list-boot-ini/</link>
		<comments>http://en.andrenoel.com.br/2009/07/22/starting-linux-through-windows-xp-boot-list-boot-ini/#comments</comments>
		<pubDate>Wed, 22 Jul 2009 06:04:04 +0000</pubDate>
		<dc:creator>Andre Noel</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[dual boot]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://en.andrenoel.com.br/?p=54</guid>
		<description><![CDATA[Last week I had to recover the grub in a notebook after a Windows reinstall. The easiest way would be running an Ubuntu live cd and run the grub program. But I hadn&#8217;t a cd and tried with a bootable usb stick and&#8230; nothing. That notebook doesn&#8217;t boot by usb. I tried also with a]]></description>
			<content:encoded><![CDATA[<p>Last week I had to recover the <em>grub</em> in a notebook after a Windows reinstall. The easiest way would be running an Ubuntu live cd and run the <em>grub</em> program. But I hadn&#8217;t a cd and tried with a bootable usb stick and&#8230; nothing. That notebook doesn&#8217;t boot by usb. I tried also with a sd card, but had the same problem&#8230;</p>
<p>The solution: Burn a CD? No. Let&#8217;s do something more criative&#8230;</p>
<p>Well, we know that Windows XP also has his boot list (boot.ini), so why not to put Linux on the list?</p>
<p>Unfortunately, it&#8217;s not so easy as edit the grub menu, but it&#8217;s still easy.</p>
<p>First, you have to create an image from the master sector of a HD which has the grub installed (I used my notebook). Open terminal and type:</p>
<p><code>sudo dd if=/dev/sda1 of=bootsect.lnx bs=512 count=1</code></p>
<p>Maybe you have to change /dev/sda1 for other device, depending on your HD.</p>
<p>This command creates the <em>bootsect.lnx</em> file. Put it on c:\ on Windows. After that we will edit the boot.ini on Windows.</p>
<p>There&#8217;s two ways to do this: you can edit the c:\boot.ini directly (it may be hidden and read-only) or you can right click on &#8220;My Computer&#8221;, go to &#8220;Preferences&#8221;, &#8220;Advanced&#8221; tab, and click the button to edit boot preferences. So the boot.ini is opened on notepad.</p>
<p>On boot.ini, paste the following line at the end of the file:</p>
<p><code>c:\bootsect.lnx="Linux"</code></p>
<p>Save, close and reboot.</p>
<p>Now your Windows asks you if you want to start Windows or Linux.</p>
<p>And <em>voi là</em>.</p>
<p>(I think it&#8217;s the biggest post I wrote in English, so forgive me for the mistakes)</p>
]]></content:encoded>
			<wfw:commentRss>http://en.andrenoel.com.br/2009/07/22/starting-linux-through-windows-xp-boot-list-boot-ini/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

