LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 02-04-2009, 06:02 AM   #1
rathishtnair
LQ Newbie
 
Registered: Feb 2009
Posts: 2

Rep: Reputation: 0
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.....
 
Old 02-04-2009, 06:28 AM   #2
jschiwal
LQ Guru
 
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733

Rep: Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670Reputation: 670
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!

Last edited by jschiwal; 02-04-2009 at 06:31 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Dual Boot, Vista + Fedora, 2 HDD, EasyBcd boot manager = Fedora not start 6yp Linux - Newbie 7 10-29-2008 07:44 PM
New install on vista system, want dual boot for vista and fedora. lhelden Linux - Newbie 9 08-21-2008 11:22 AM
Fedora and Vista Dual Boot (vista installed first) firekid1239 Linux - Newbie 10 05-04-2008 10:35 PM
fedora/vista dual boot - partimage: restored vista - vista won't let me log on redmoon zero Linux - General 1 12-31-2007 08:21 PM


All times are GMT -5. The time now is 12:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration