LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   vista and fedora 9 dual boot (https://www.linuxquestions.org/questions/linux-newbie-8/vista-and-fedora-9-dual-boot-702192/)

rathishtnair 02-04-2009 05:02 AM

vista and fedora 9 dual boot
 
hi friends

i kindly require your help

i have installed vista in one hard disk and then i removed that hard disk and i placed an another hdd and installed fedora9 in it.

when i put both the hard disk together in the pc as vista hdd as primary and fedora hdd as slave. when it boots it only identifies vista and iam not able to boot from fedora 9..

how can i make both dual boot...

please help me on this.....

jschiwal 02-04-2009 05:28 AM

I don't understand why you removed the first disk before installing. Even if you replace the current MBR with grub, the /boot/grub/menu.lst file on the Fedora installation, and the /etc/fstab file contain drive references to the first drive instead of the second. 1st, boot up in rescue mode in the install disk or a live distro, and fix up /grub/boot/menu.lst and /etc/fstab. Then use grub-install to install the boot loader on the 1st disk. In menu.lst,

There are other options. If you google for "nt linux grub duel boot", you will find pages on how to use the windows boot loader to chainload the grub boot loader on another disk or partition. If you look, you will find that Vista doesn't have a C:\BOOT.INI file, however, if you create one, Vista will use it, so you can follow the same instructions. You will still need to fix /boot/grub/menu.lst and /etc/fstab files so grub boots sucessfully.

---

PS, in English, we capitalize the first letter in a sentence. We also capitalize the personal pronoun "I".


Here is the menu.lst file on my old laptop. It has Fedora 10 installed. It doesn't have windows installed.
Code:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE:  You have a /boot partition.  This means that
#          all kernel and initrd paths are relative to /boot/, eg.
#          root (hd0,0)
#          kernel /vmlinuz-version ro root=/dev/VolGroup00/LogVol00
#          initrd /initrd-version.img
#boot=/dev/sda
default=0
timeout=0
splashimage=(hd0,0)/grub/splash.xpm.gz
hiddenmenu
title Fedora (2.6.27.5-117.fc10.x86_64)
        root (hd0,0)
        kernel /vmlinuz-2.6.27.5-117.fc10.x86_64 ro root=UUID=f3353056-c1b6-4464-aa8b-6cb45641af6d rhgb quiet
        initrd /initrd-2.6.27.5-117.fc10.x86_64.img

A boot= entry in the global area of menu.lst refers to the location of the mbr.
A root entry in a stanza refers to the root partition (/). Disk 2 partition 5 would be (hd1,4). Note that grub starts counting with 0. You may have something like this now:
Code:

        kernel (hd0,0)/vmlinuz-2.6.27.5-117.fc10.x86_64 ro  rhgb quiet
        initrd (hd0,0)/initrd-2.6.27.5-117.fc10.x86_64.img

If so, change the (hd0,0) to (hd0,n) where n is the partition with the boot partition.
If your menu.lst file contains "kernel /vmlinux-... root=UUID...., then you may be in luck and only need to change the "root (hd0,0)" entry above it.

---

It might be worthwhile finding a sample menu.lst file using Google and using it as a model.

Good Luck!


All times are GMT -5. The time now is 11:05 PM.