LinuxQuestions.org
Register a domain and help support LQ
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 11-15-2006, 02:41 PM   #1
adam salam
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Rep: Reputation: 0
Install RedHat over Fedora


Hi there,

Fedora Core 4 was working fine with Windows Vista when I decided to install RedHat 9 as a third OS in the available free space in order to follow a CBT Nuggets course.

the installation was easy and straight foward, but after rebooting I couldn't boot to Fedora, Grub gives me only two choices, RedHat & Dos (Vista).

is there any work arround to boot to allof the installed OSs?

thanks
 
Old 11-15-2006, 03:07 PM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
Quote:
is there any work arround to boot to allof the installed OSs?
Absolutely!!
I'm assuming that when you installed RH9, you allowed it to install grub....
First, go into a terminal (in Linux) and do this:
Code:
su   (to take on root powers)
fdisk -l
cd /boot/grub
more menu.lst
Post the output here from both fdisk and more menu.lst

Assuming that there is nothing unusual going on, we will simply be adding an entry for Fedora to menu.lst
 
Old 11-17-2006, 08:23 AM   #3
adam salam
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Thanks

now I have another scenario
couldn't logon to the above mentioned RedHat installation
Incorrect Password !!!!!

I decided to reinstall RedHat 9 OK , still can boot to Vista and RedHat

then Install Ubuntu Server

Now can't boot to Vista, I could logon to RedHat and Ubuntu, but NO Windows OS in Grub menu.

Ok , I expect when choosing RedHat from the first Grub Menu it give me another menu for REDHAT and Vista, but that as only expectations

I try to correct that form the Grub file withen REDHAT installation, that's the contents:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Hat Linux 9.x (2.4.20-8)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title Windows Vista Build 5.6.x
rootnoverify (hd0,0)
chainloader +1




any help please
 
Old 11-17-2006, 08:38 AM   #4
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
When you are having problems, it is not generally a good idea to add more variables (Installed Ubuntu Server).

Just guessing: When you installed Ubuntu, it setup grub its way. That means that grub will look for grub.conf (aka menu.lst) in the /boot/grub partition for Ubuntu.

Regardless, you can recover like this:
Boot into any Linux---for the following commands, I assume that this is hda2 (modify as required) I also assume only one drive.
Run these commands to setup grub:
Code:
grub
root (hd0,1)
setup (hd0)
Now, grub will go to /boot/grub to find its config file. So now edit THAT config file to boot the other OS's.

GRUB manual here: http://www.gnu.org/software/grub/manual/grub.html
 
Old 11-17-2006, 11:08 AM   #5
adam salam
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Appologies for sending more than one problem at a time, I thought I can save some time.

I show you my partitions:
windows vista installed in the first patition of the first HD :

HD 1 hda:
hda1 : vista
hda2 : storage partition for vista
hda3 : Redhat /
hda4 : extended
hda5 : sawp in extended partition

HD 2 hdd:
hdd1 : Ubuntu /
hdd2 : extended
hdd5 : sawp in extended partition

so please apply your commands on that scenario

thanks

Last edited by adam salam; 11-17-2006 at 11:13 AM.
 
Old 11-18-2006, 09:29 AM   #6
adam salam
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by pixellany
Absolutely!!
I'm assuming that when you installed RH9, you allowed it to install grub....
First, go into a terminal (in Linux) and do this:
Code:
su   (to take on root powers)
fdisk -l
cd /boot/grub
more menu.lst
Post the output here from both fdisk and more menu.lst

Assuming that there is nothing unusual going on, we will simply be adding an entry for Fedora to menu.lst

This is the output for fdisk, menu.lst, and grub.conf from withen Redhat installation:



[root@redhat9 grub]# cat grub.conf
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Hat Linux 9.x (2.4.20-8)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title Windows Vista Build 5.6.x
rootnoverify (hd0,0)
chainloader +1

--------------------

[root@redhat9 root]# fdisk -l

Disk /dev/hdd: 20.0 GB, 20020396032 bytes
255 heads, 63 sectors/track, 2434 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hdd1 * 1 2330 18715693+ 83 Linux
/dev/hdd2 2331 2434 835380 5 Extended
/dev/hdd5 2331 2434 835348+ 82 Linux swap

Disk /dev/hda: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 2550 20482843+ 7 HPFS/NTFS
/dev/hda2 2551 6374 30716280 17 Hidden HPFS/NTFS
/dev/hda3 6375 9468 24852555 83 Linux
/dev/hda4 9469 9729 2096482+ f Win95 Ext'd (LBA)
/dev/hda5 9469 9729 2096451 82 Linux swap

--------------

[root@redhat9 grub]# cat menu.lst
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You do not have a /boot partition. This means that
# all kernel and initrd paths are relative to /, eg.
# root (hd0,2)
# kernel /boot/vmlinuz-version ro root=/dev/hda3
# initrd /boot/initrd-version.img
#boot=/dev/hda
default=0
timeout=10
splashimage=(hd0,2)/boot/grub/splash.xpm.gz
title Red Hat Linux 9.x (2.4.20-8)
root (hd0,2)
kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi
initrd /boot/initrd-2.4.20-8.img
title Windows Vista Build 5.6.x
rootnoverify (hd0,0)
chainloader +1
 
Old 11-20-2006, 01:11 PM   #7
adam salam
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Original Poster
Rep: Reputation: 0
the problem still exist!!!

did anyone try EasyBCD 1.5: Multi/Dual-Boot Vista, Linux, Mac OS X, & BSD!
 
Old 12-06-2006, 05:05 AM   #8
adam salam
LQ Newbie
 
Registered: Oct 2006
Posts: 12

Original Poster
Rep: Reputation: 0
Sorry I forgot to send the clue I found

instead of using the command line to input entries list the Windows vista in the boot menu, I entred them manually in menu.lst file; it worked, amazing
 
  


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
Unable to install RedHat, Fedora, SuSe... philw Linux - Hardware 2 09-17-2004 10:00 AM
How do i install and run wine on fedora redhat linux 10 hackman__007 Linux - Newbie 5 09-03-2004 12:12 PM
LAMP & Qmail install on RedHat/Fedora 88guy Linux - Newbie 0 05-28-2004 01:17 PM
Install redhat 8.0 driver in fedora m2stian Fedora 1 04-01-2004 01:36 PM
Upgrading from redhat 9 to fedora - upgrade or fresh install Ross Clement Fedora 8 11-29-2003 04:10 PM


All times are GMT -5. The time now is 10:48 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