<?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>Desi Penguin’s Blog &#187; Custom DVD</title>
	<atom:link href="http://desipenguin.com/techblog/tag/custom-dvd/feed/" rel="self" type="application/rss+xml" />
	<link>http://desipenguin.com/techblog</link>
	<description>Open source, Tech Tips, Reviews, Tutorials and more …</description>
	<lastBuildDate>Thu, 12 Jan 2012 18:16:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Installing Ubuntu 8.10 Dual Boot with XP</title>
		<link>http://desipenguin.com/techblog/2009/01/27/installing-ubuntu-810-dual-boot-with-xp/</link>
		<comments>http://desipenguin.com/techblog/2009/01/27/installing-ubuntu-810-dual-boot-with-xp/#comments</comments>
		<pubDate>Tue, 27 Jan 2009 07:41:48 +0000</pubDate>
		<dc:creator>Mandar Vaze</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Review]]></category>
		<category><![CDATA[Ubuntu]]></category>
		<category><![CDATA[Custom DVD]]></category>
		<category><![CDATA[Linux For You]]></category>

		<guid isPermaLink="false">http://desipenguin.wordpress.com/?p=140</guid>
		<description><![CDATA[My previous attempt wasn&#8217;t so pleasant. Not only did I not get  a working Ubuntu system, but in attempt, I also trashed my Windows Partition. Back then, ubuntu was just up and coming Linux distro. Eventually, I realised that I should have used Alternate CD, rather than attempting to install from Live CD.
Flash forward to [...]]]></description>
			<content:encoded><![CDATA[<p>My <a href="http://desipenguin.blogspot.com/2005/11/disaster-with-ubuntu-510-release.html" target="_blank">previous attempt</a> wasn&#8217;t so pleasant. Not only did I not get  a working Ubuntu system, but in attempt, I also trashed my Windows Partition. Back then, ubuntu was just up and coming Linux distro. Eventually, I realised that I should have used <em>Alternate </em>CD, rather than attempting to install from <em>Live </em>CD.</p>
<p>Flash forward to Jan 2009.  Four years later, things have changed, Ubuntu has matured a lot. Will my attempt to dual boot Ubuntu with Windows XP succeed ?</p>
<p><span id="more-140"></span></p>
<h3>The Source</h3>
<p>While there are other options like <a href="http://www.ubuntu.com/getubuntu/download" target="_blank">downloading </a>from the net, or <a href="http://opensourcedeal.com/" target="_blank">ordering </a>cheap or <a href="https://shipit.ubuntu.com/" target="_blank">free</a> CD from the net, I did neither. I purchased a December 2008 issue of copy of <a href="http://www.lfymag.com/" target="_blank">Linux for You magazine</a>, for this specific purpose. It carried Ubuntu 8.10 DVD. But seems they have rolled up their own DVD, rather than standard Ubuntu DVD. This possibly caused me some problems (More about that later in the post)</p>
<h3>Look before you leap</h3>
<p>After buying the magazine, I immediately tried booting from the DVD. It provides several options on nice graphical boot menu. The DVD carried various versions of Ubuntu 8.10 : Ubuntu, Kubuntu, XUbuntu, Edubuntu, Mythbuntu and Ubuntu Studio.  I tried both Ubuntu as well as Kubuntu. Kbuntu looks gorgeous with KDE 4.1 I was initially planning to install that instead of plan vanilla Ubuntu, but I also noticed some flickers. Another reason for choosing Ubuntu over Kubuntu was their choice of Browser. Ubuntu&#8217;s default browser is Firefox 3.0.3, while for Kubuntu it is Konqueror. Personally  I think Firefox is far better than Konqueror.</p>
<h3>Wubi</h3>
<p>My very first attempt was to use <a href="http://wubi-installer.org/" target="_blank">Wubi</a>. This would ensure that my Windows would remain intact (I think, since installation using Wubi promises that Ubuntu would show up as an entry in Add/Remove Programs in Windows XP.) For offline installation, Wubi requires a copy of .ISO file in same folder as wubi.exe. So I created .isoof Kubuntu (and then Ubuntu) from the DVD. But something must not be right. Wubi always tried to connect to internet to download the required packages, without using the local ISO file. I didn&#8217;t want to download around 700MB whenI had the DVD with me. Couple of retries later, I gave up option to use Wubi.</p>
<h3>Partitioning</h3>
<p>My next option was to install from the LiveCD. I started the installer from Kubuntu (and subsequently from Ubuntu) and the installer was stuck at the stage of partitioning. (or so I thought) How can I install Ubuntu if it can&#8217;t even see my partitions on my HDD ? This was frustrating. I tried again, and again. During one of my such attempts, I left the computer while Ubuntu was stuck at reading partition table, and came back after about 10-15 minutes. To my surprise, it had read the partitions and was ready to suggest me my new partition structure. Apparently, the installer wasn&#8217;t stuck, it was just slow.</p>
<p>From here on, it was pretty straight forward. I selected a partition (around 9GB) for root partition &#8220;/&#8221;, and about 1GB for swap partition. I chose to format the root partition using <a href="http://en.wikipedia.org/wiki/Ext3" target="_blank">ext3 file system</a>. The installer asked me to create a user and assign a password.</p>
<h3>The Boot loader</h3>
<p>By default, the installer will install the boot loader onto MBR of the hard disk. I am told that it recognises existing windows partition, and GRUB will be configured to automatically have an entry to boot into your existing windows partition. But based on my last experience (albeit 4 years ago) I didn&#8217;t want to mess up my MBR. So during the dialog in the installer wizard about boot loader, I opted to install GRUB onto the root partition of Ubuntu instead of MBR.</p>
<h3>Configure Windows Boot loader</h3>
<p>Ubuntu installer was done, but I was not. Considering that I had opted to install GRUB on root partition of Ubuntu, I needed windows boot loader to direct to GRUB in order to boot into Ubuntu. I had successfully done it at least once it past, so it was very easy. It is almost 3 step process. Essence is to copy first 512 bytes of Ubuntu boot partition onto Windows, and configure Windows boot loader for Ubuntu</p>
<ol>
<li>Copy the boot sector :
<pre>dd if=/dev/sdaN of=ubuntu.bin bs=512 count=1</pre>
</li>
<li>Copy the file <em>ubuntu.bin</em> onto Windows partition. This is very easy since I was already in Ubuntu Live environment, I just mounted Windows C:, and copied Ubuntu.bin onto C:</li>
<li>Edit <em>C:boot.ini</em> and add following entry (Make changes to path/file name as needed)
<pre>c:ubuntu.bin="Ubuntu 8.10"</pre>
</li>
</ol>
<p>Now I restarted the machine. First I checked if Windows was intact, it was. That was a relief. Next I went on to check whether my Ubuntu install was successful. I rebooted, and selected the entry for Ubuntu from Windows boot loader. I was greeted with GRUB menu. There was only one entry for Ubuntu which was for memtest option.</p>
<p>I was able to add another entry for Ubuntu in GRUB menu, but I think my problem was mainly because I did not use official Ubuntu LiveCD (I used LFY magazine&#8217;s custom DVD) If you use official Live ISO I think you should be OK.</p>
<p><strong>Do come back to read about <a href="http://desipenguin.com/techblog/2009/01/31/troubleshooting-ubuntu-grub-issues/" target="_blank">How I over came the GRUB menu problem</a> in my next post.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://desipenguin.com/techblog/2009/01/27/installing-ubuntu-810-dual-boot-with-xp/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

