LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-15-2006, 08:58 PM   #1
ekdya
Member
 
Registered: Oct 2003
Posts: 280

Rep: Reputation: 30
grub with many OSs and FC5


Hi

I have debian/testing on hdb2 with its layout, and Win2k on hda.
when I boot, I get grub with the list to choose from;
>>>>>>>>>>>>>>>> /grub/menu.list <<<<<<<<<<<<<<<<
default 0
timeout 5
color cyan/blue white/blue

title Debian GNU/Linux, kernel 2.6.15-1-686
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hdb1 ro
initrd /boot/initrd.img-2.6.15-1-686
savedefault

title Debian GNU/Linux, kernel 2.6.15-1-686 (recovery mode)
root (hd1,0)
kernel /boot/vmlinuz-2.6.15-1-686 root=/dev/hdb1 ro single
initrd /boot/initrd.img-2.6.15-1-686
savedefault

### END DEBIAN AUTOMAGIC KERNELS LIST

title Other operating systems:
root

# This entry automatically added by the Debian installer for a non-linux OS
# on /dev/hda1
title Microsoft Windows 2000 Professional
root (hd0,0)
savedefault
makeactive
chainloader +1

****************************************************************


I just used partition magic and made some room on hda for FC5. while
reading in
http://fedora.redhat.com/docs/fedora...-advanced.html
I am confused as to whether I have grub as the primary or the
secondary boot loader, I know I can only see grup after the bios lets
go but I remember reading that window don't let any other bootloader
in the MBR and some other things to the effect that you must install
windows first and all the rest of it...

in the link above it says
{
You may keep your current boot loader in the MBR and install GRUB as
a secondary boot loader. If you choose this option, the installer
program will write GRUB to the first sector of the Linux /boot
partition.
}

is it referring to /boot in FC5's hda1 or Debian's /boot on hdbx?

thanks
 
Old 09-16-2006, 05:04 AM   #2
decrepit
Member
 
Registered: May 2006
Distribution: Ubuntu10.04, < fedora12
Posts: 347

Rep: Reputation: 34
Looks like you have debian's grub on the MBR already,

quote :"You may keep your current boot loader in the MBR and install GRUB as
a secondary boot loader. If you choose this option, the installer
program will write GRUB to the first sector of the Linux /boot
partition. "

Current boot loader = debian's grub in the MBR.

Installer program's grub is FC5's grub.

I'd go along with installing it in FC5 /boot. Then add FC5 to debian's menu.list
 
Old 09-16-2006, 05:12 AM   #3
Merlin Whitewolf
Member
 
Registered: Mar 2006
Location: Cookeville, Tennessee
Distribution: Fedora Core 5 and PCLinuxOS
Posts: 75

Rep: Reputation: 15
If you're already booting your other OSes with grub, then you have grub in your MBR. As long as windows was the first system loaded, there should be no problems with placing grub in the MBR.
When installing FC5, choose the advanced bootloader option and check the box to install grub to the boot sector of the partition you are installing it to.
After the installation, boot into Debian and, as root, in the terminal, type --
'gedit /boot/grub/menu.lst' without the quote marks and hit enter. (If you use another editor, like kwrite, type in that name rather than gedit.)
Make sure there is a blank space at the bottom. Then add --

'title Fedora
rootnoverify (hd1,2)
chainloader +1'

Hit enter to have a blank space at the bottom of the list. Click 'save' and close. Reboot and you should see Fedora added to your boot list.

Note that the entry above is an example. You should use the title name you prefer and the correct hard drive number for your system and the partition number to which you installed Fedora's grub. Numbering for drives and partitions always starts with '0' in grub. If the drive is your second drive, it is 'hd1'. If the partition is the third, then it is '2' in grub. (From the above example.)

Merlin
 
  


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
FC5 / grub billvolz Linux - Software 0 04-30-2006 12:28 PM
FC5 and GRUB JLuv3k7 Fedora - Installation 15 03-29-2006 10:22 PM
Can't boot/grub SuSE after re-install; all other OSs fine. tuxisnottux SUSE / openSUSE 17 12-22-2005 04:37 AM
GRUB 0.92 to boot 3 OSs TedtheRushFan Linux - Newbie 8 04-15-2005 04:13 PM
Issue with snd-pcm-oss and snd-mixer-oss; OSS load failed EnigmaX Slackware 3 07-26-2004 03:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:53 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
Open Source Consulting | Domain Registration