<br><br>
<div><span class="gmail_quote">On 11/6/05, <b class="gmail_sendername">Tony Nelson</b> <<a href="mailto:tonynelson@georgeanelson.com">tonynelson@georgeanelson.com</a>> wrote:</span></div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">At 12:14 PM +0500 11/6/05, Enlightened Moderation wrote:<br>>I did a new installation of Fedora Core 4 on a system with 2 hard drives
<br>>and which already had Windows XP installed. The configuration before<br>>installing Fedora Core 4 was as following:<br>>hda 20 GB has two ntfs partitions with windows xp installed in the first<br>>bootable partition. hdb 40 GB had only one 20 GB bootable fat32 partition.
<br>>Rest of space i.e. 20 GB was set aside free for Fedora Core 4.<br>><br>>I allowed Fedora to do automatic partition in the free<br>>space reserved.Also, I allowed to automatically select the place to<br>>install grub ( I did not opt for advance grub options).
<br>><br>>The installation proceeded normal until it congratulated me for completing<br>>the installation and to reboot the system. When I did a reboot, however, I<br>>did not get any grub boot loader prompt, and instead booted straight into
<br>>Windows XP like before.<br>><br>>I figured out that Fedora did not install the boot loader in the MBR of<br>>the first drive and instead installed in the first sector of /boot in the<br>>second drive. Therefore, I made my BIOS to boot from the second drive
<br>>(hdb). However, I get a prompt telling me "Missing operating system".<br><br>The BIOS change may have renumbered the drives so grub was confused.</blockquote>
<div> </div>
<div>Or may be it looked for boot sector in the first partition of the drive, whereas</div>
<div>/boot was perhaps not the first partition. I don't know if I am right!!!</div>
<div><br> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">>Please let me know how can I correct this to have a dual boot system with<br>>windows XP and Fedora Core 4.
<br><br>You can set up your boot.ini file to chain to grub if you want.  You need<br>to copy the grub bootsector from the linux partition (or wherever it was<br>put) into a file on your boot drive and add a line to boot.ini
.<br><br>I used the rescue CD to copy the bootsector, mounting a floppy and then<br>using dd to copy the bootsector to a file on the floppy.  I just stumbled<br>through the process, probably using man a lot.  I then rebooted into
<br>MSWindows and copied that file onto my C: drive as C:\linux.bin, and added<br>a line to boot.ini, something like:<br><br>C:\linux.bin="FC3"</blockquote>
<div> </div>
<div> </div>
<div>I think, it would be easier for me to do this except that I would need to look</div>
<div>for some help on dd; may be I can find some information from the web.</div>
<div> </div>
<div>However, I would still be interested doing it using grub. Some info I collected</div>
<div>using linux rescue is posted here for more help that I would need for my</div>
<div>venture with grub. [Actually, I have been using linux for some time now.</div>
<div>However, each time I mess up grub, I do a re-install either windows or</div>
<div>linux to fix the problem; never doing it right by changing the grub </div>
<div>configuration. This time, I want to do it right by doing the necessary changes</div>
<div>in the system needed.]</div>
<div> </div>
<div>fdisk -l produced the following:</div>
<div> </div>
<div><font size="2">
<p>Disk /dev/hda: 20.4 GB, 20416757760 bytes</p>
<p>255 heads, 63 sectors/track, 2482 cylinders</p>
<p>Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>Device Boot Start End Blocks Id System</p>
<p>/dev/hda1 * 1 1241 9968301 7 HPFS/NTFS</p>
<p>/dev/hda2 1242 2481 9960300 f W95 Ext'd (LBA)</p>
<p>/dev/hda5 1242 2481 9960268+ 7 HPFS/NTFS</p>
<p>Disk /dev/hdb: 40.0 GB, 40020664320 bytes</p>
<p>255 heads, 63 sectors/track, 4865 cylinders</p>
<p>Units = cylinders of 16065 * 512 = 8225280 bytes</p>
<p>Device Boot Start End Blocks Id System</p>
<p>/dev/hdb1 1 2433 19543041 c W95 FAT32 (LBA)</p>
<p>/dev/hdb2 * 2434 2446 104422+ 83 Linux</p>
<p>/dev/hdb3 2447 4865 19430617+ 8e Linux LVM</p></font></div>
<div> </div>
<div> </div>
<div>And my grub.conf file in /boot is as under:</div>
<div> </div>
<div><font size="2">
<p># grub.conf generated by anaconda</p>
<p>#</p>
<p># Note that you do not have to rerun grub after making changes to this file</p>
<p># NOTICE: You have a /boot partition. This means that</p>
<p># all kernel and initrd paths are relative to /boot/, eg.</p>
<p># root (hd1,1)</p>
<p># kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00</p>
<p># initrd /initrd-version.img</p>
<p>#boot=/dev/hda</p>
<p>default=1</p>
<p>timeout=5</p>
<p>splashimage=(hd1,1)/grub/splash.xpm.gz</p>
<p>hiddenmenu</p>
<p>title Fedora Core (2.6.11-1.1369_FC4)</p>
<p>root (hd1,1)</p>
<p>kernel /vmlinuz-2.6.11-1.1369_FC4 ro root=/dev/VolGroup00/LogVol00 rhgb quiet</p>
<p>initrd /initrd-2.6.11-1.1369_FC4.img</p>
<p># Should be Windows XP</p>
<p>title Other</p>
<p>rootnoverify (hd0,0)</p>
<p>chainloader +1</p></font></div>
<div> </div>
<div>Please let me know what changes to make in grub.conf for the system</div>
<div>to work.</div>
<div> </div>
<div><br> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">In my case, I also had some trouble booting MSWindows, as I had Extended<br>Partitions that got renumbered when I added Basic Partitions.  I don't
<br>think you will have that problem.<br>____________________________________________________________________<br>TonyN.:'                       <mailto:<a href="mailto:tonynelson@georgeanelson.com">tonynelson@georgeanelson.com
</a>><br>     '                              <a href="http://www.georgeanelson.com/">http://www.georgeanelson.com/</a></blockquote>
<div> </div>
<div> </div>
<div>Thanks in advance.</div><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">--<br>fedora-list mailing list<br><a href="mailto:fedora-list@redhat.com">fedora-list@redhat.com</a><br>To unsubscribe: 
<a href="https://www.redhat.com/mailman/listinfo/fedora-list">https://www.redhat.com/mailman/listinfo/fedora-list</a><br></blockquote><br>