LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-27-2006, 05:20 PM   #1
jz32300
Member
 
Registered: Jun 2006
Location: France
Distribution: Ubuntu Dapper 6.06
Posts: 30

Rep: Reputation: 15
Install Fedora on multi-boot system


Hi,

I have a PC with WIndows XP and Ubuntu Dapper installed. I use the Grub boot manager. I've just added another hard disk on which I want to install Fedora Linux.

During the installation of Fedora 4, I choose the new hard disk as the target and all seems to go well until it asks me if I want to install a boot manager and then it proposes Grub.

I haven't gone further than this as I don't want to break things - but why would it not notice that Grub is already installed?

Am I perhaps doing this incorrectly?

Does anybody have experience of installing Fedora Core 4 on a second hard disk in order to add it as a third boot option on an existing grub manager which is on a different (and master) hard disk?

ANy help will of course be enormously appreciated!

Thanks ina dvance
 
Old 06-27-2006, 05:42 PM   #2
pljvaldez
LQ Guru
 
Registered: Dec 2005
Location: Somewhere on the String
Distribution: Debian Wheezy (x86)
Posts: 6,094

Rep: Reputation: 271Reputation: 271Reputation: 271
Generally you can go ahead and install grub to the / partition (in your case the second drive), NOT the MBR. Then you just use the ubuntu grub to chainload the Fedora grub.
 
Old 06-28-2006, 03:47 AM   #3
SlackDaemon
Member
 
Registered: Mar 2006
Distribution: RedHat, Slackware, Experimenting with FreeBSD
Posts: 222

Rep: Reputation: 30
You can also leave out installing GRUB on the second drive altogether and just edit the exisiting grub.conf file. Add another stanza to the list that points to the kernel and initrd image on the second drive:

title Fedora Core
root (hd1,0)
kernel /boot/vmlinuz-2.6.9-5 ro root=/dev/hdb1 rhgb quiet
initrd /boot/initrd-2.6.9-5.img


Best of luck!
 
Old 06-28-2006, 03:48 PM   #4
jz32300
Member
 
Registered: Jun 2006
Location: France
Distribution: Ubuntu Dapper 6.06
Posts: 30

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by SlackDaemon
You can also leave out installing GRUB on the second drive altogether and just edit the exisiting grub.conf file. Add another stanza to the list that points to the kernel and initrd image on the second drive:

title Fedora Core
root (hd1,0)
kernel /boot/vmlinuz-2.6.9-5 ro root=/dev/hdb1 rhgb quiet
initrd /boot/initrd-2.6.9-5.img

Best of luck!
Thanks for your solution - I've now installed Fedora Core on the recently added harddisk but I think I need to mount the disk before being able to add the code you proposed to the boot file.

I don't know how to do this though... (you can see why I posted this in )

I'm assuming that I'll need to know the name of the .img file before changing the boot file?

How do I do that?

Thanks in advance!

thanks to pljvaldez too!
 
Old 06-28-2006, 04:38 PM   #5
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware-current, Cross Linux from Scratch, Gentoo
Posts: 2,812
Blog Entries: 1

Rep: Reputation: 259Reputation: 259Reputation: 259
Yes, boot into Ubuntu and create a mount point for the Fedora HDD like this mkdir /mnt/fedora.

Then mount the drive with Fedora like this mount /dev/hdb1 /mnt/fedora.

Then look in the Fedora boot directory for the kernel and initrd names like this ls -l /mnt/fedora/boot.

Now you can add the proposed stanza to the Ubuntu grub.conf (menu.lst) file with the correct kernel and initrd names. Probably the only difference will be the version numbers.
 
  


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
Multi boot system sfzab Linux - Software 2 04-08-2006 02:23 PM
Multi boot system sfzab SUSE / openSUSE 1 04-08-2006 01:42 PM
multi-boot system? batard Linux - Newbie 1 01-31-2005 03:33 PM
Need help with installing RH on system with Fedora (multi distrubition install Arodef Red Hat 1 07-19-2004 03:18 PM
Multi boot system with XP/Fedora and Mandy 9.2 fmfnavydoc Mandriva 4 11-14-2003 10:43 PM


All times are GMT -5. The time now is 04:07 AM.

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