<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Ravi<br>
<br>
Hope following will help <br>
----------------------------------------------------<br>
1) Boot using your live CD :<br>
----------------------------------------------------<br>
• Select " Try Ubuntu without any change to your computer "<br>
• Once you've login to desktop run Terminal ( Application >
Accessories > Terminal )<br>
• Change to root, using this [enter <b>BOLD</b> lines] command in
Terminal:<br>
<br>
ubuntu@ubuntu:~$<b> sudo -i</b><br>
root@ubuntu:~#<br>
-------------------------------------------------------------------<br>
2) Find Partition location of your Ubuntu:<br>
-----------------------------------------------------------------------<br>
root@ubuntu:~# <b>fdisk -l</b><br>
Disk /dev/sda: 160.0 GB, 160041885696 bytes<br>
255 heads, 63 sectors/track, 19457 cylinders<br>
Units = cylinders of 16065 * 512 = 8225280 bytes<br>
Disk identifier: 0x10031003<br>
Device Boot Start End Blocks Id System<br>
/dev/sda1 * 1 6374 51199123+ 7 HPFS/NTFS<br>
/dev/sda2 6375 19457 105089197+ f W95 Ext'd (LBA)<br>
/dev/sda5 6375 11473 40957686 7 HPFS/NTFS<br>
/dev/sda6 11474 19457 64131448+ 83 Linux <u><b><--- Here</b></u><br>
------------------------------------------------------------------------<br>
3) Creat mount-point for ubuntu's partition <br>
------------------------------------------------------------------------<br>
<br>
root@ubuntu:~# <b>mkdir /media/root</b><br>
------------------------------------------------------------------<br>
4) Mount the partition using this line <br>
-------------------------------------------------------------<br>
<br>
root@ubuntu:~# <b>mount /dev/sda6 /media/root</b><br>
---------------------------------------------------------------<br>
5) Confirm your root location by typing this line:<br>
--------------------------------------------------------------<br>
oot@ubuntu:~#<b> ls /media/root</b><br>
bin dev initrd.img lib32 media proc selinux tmp vmlinuz<br>
boot etc initrd.img.old lib64 mnt root srv usr vmlinuz.old<br>
cdrom home lib lost+found opt sbin sys var<br>
<br>
<br>
If those lines above appear, go to the step 6<br>
----------------------------------------------------------------<br>
6) proceed by installing GRUB2<br>
-----------------------------------------------------------<br>
root@ubuntu:~# <b>sudo grub-install --root-directory=/media/root
/dev/sda</b><br>
Installation finished. No error reported. This is the contents of the
device map<br>
/media/root/boot/grub/device.map. Check if this is correct or not. If
any of the lines is<br>
incorrect, fix it and re-run the script `grub-install'. (hd0) /dev/sda<br>
<br>
----------------------------------------<br>
7) Reboot your system <br>
<u>------------------------------------------<br>
<font color="#ff0000">If in any case you do not see windows xp in GRUB
menu do the following steps to resolve the issue </font></u><font
color="#ff0000"><br>
</font><br>
1) Boot into your ubuntu<br>
<br>
2) go to the terminal <br>
<br>
( you just need to update you grub so that it can find the windows
installation, this can be done by the following command )<br>
<br>
username@systemname:~$ <b>sudo update-grub2</b><br>
[sudo] password for ubuntu:<br>
Generating grub.cfg ...<br>
Found Debian background: apollo.tga<br>
Found linux image: /boot/vmlinuz-2.6.31-15-generic<br>
Found initrd image: /boot/initrd.img-2.6.31-15-generic<br>
Found linux image: /boot/vmlinuz-2.6.31-14-generic<br>
Found initrd image: /boot/initrd.img-2.6.31-14-generic<br>
Found memtest86+ image: /boot/memtest86+.bin<br>
Found Windows xp (loader) on /dev/sda1<br>
done<br>
<br>
3) try reboot again , now you will see windows xp in grub menu <br>
<br>
<br>
<br>
Regards
<div class="moz-signature">-- <br>
<meta http-equiv="CONTENT-TYPE" content="text/html; charset=ISO-8859-1">
<title></title>
<meta name="GENERATOR" content="OpenOffice.org 3.1 (Unix)">
<meta name="AUTHOR" content="livewire ">
<meta name="CREATED" content="20100413;16400600">
<meta name="CHANGEDBY" content="livewire ">
<meta name="CHANGED" content="20100413;16433900">
<style type="text/css">
        <!--
                @page { margin: 2cm }
                P { margin-bottom: 0.21cm }
                A:link { so-language: zxx }
        -->
        </style>
<p style="margin-bottom: 0cm;">Jatin Khatri</p>
<p style="margin-bottom: 0cm;">Web <a
href="http://www.khatrijatin.co.nr/">www.khatrijatin.co.nr</a></p>
<p style="margin-bottom: 0cm;"><a
href="http://www.fedoraproject.org/wiki/Jatin">www.fedoraproject.org/wiki/Jatin</a>
</p>
<p style="margin-bottom: 0cm;">Phone (+91) 98250 20393</p>
<p style="margin-bottom: 0cm; font-style: normal; font-weight: normal;">
<font face="arial"><font size="2"><font color="#008000"><font
face="Arial">Save
Paper, Save Environment.**</font></font><font color="#993366"><br>
</font><font color="#008000"><font face="Arial"><i><b>(Plant
at least one tree in your life and nurture it !!!)</b></i></font></font></font></font></p>
<p style="margin-bottom: 0cm;"><br>
</p>
</div>
</body>
</html>