LinuxQuestions.org
Help answer threads with 0 replies.
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-07-2008, 09:55 AM   #1
chakraa
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Rep: Reputation: 0
How to install ubuntu 8.04 on a system already having RHEL 5


Hi guys....
I have RHEL 5 and Windows already installed on my system.I tried to install the latest ubuntu 8.04 desktop sdition alongside these.I made a 7.5 GB partition and 512 MB swap separate frm windows and RHEL occupied space.In the installation too everything went well.I enabled the ubuntu to install its boot loader in (hd0).Everything was fine till now.
The problem came when I rebooted.I found that RHEL GRUB menu came as usual on the screen as if nothing happened.There was no ubuntu boot loader.Also there in the menu showed no option for Ubuntu.
Kindly can anyone plz give a step-by-step solution??
( Plzlist exactly what to add in /boot/grub/menu.lst of RHEL 5 if any )
 
Old 06-07-2008, 11:11 AM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
You need to add information for your Ubuntu to your /boot/grub/grub.conf on Fedora. Presumably this already has your Fedora and Windows boot information in it so you should be able to model your Ubuntu information based on what you see for those.
 
Old 06-07-2008, 04:24 PM   #3
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
Quote:
Originally Posted by chakraa View Post
( Plzlist exactly what to add in /boot/grub/menu.lst of RHEL 5 if any )
Boot into RHEL and open a terminal, issue command: fdisk -l to see which partition is which.

For example:
If RHEL /boot or root partition (RHEL usually makes a separate /boot partition...I think) is /dev/hda2 issue the four commands below as root to put you in a grub session, tell grub to use the RHEL configuration file, and install itself in the MBR of the first drive.
Code:
Grub
root (hd0,1)
setup (hd0)
quit
Reboot.
Make sure you use the right partition. If you make a mistake and things go whacky, boot with the Ubuntu live CD in a live session and try again.

Grub counts from 0, so hda2 becomes hd0,1 to grub.

Last edited by Junior Hacker; 06-07-2008 at 04:32 PM. Reason: Removed un-neccessary info
 
Old 06-08-2008, 01:25 PM   #4
chakraa
LQ Newbie
 
Registered: Jun 2008
Posts: 2

Original Poster
Rep: Reputation: 0
Thanx a lot junior hacker for u'r detailed response.But,after setup (hd0) it gave an error.

Well I tried various combinations of modifications to /boot/grub/grub.conf of RHEL too but to no avail..
my ubuntu was installed on /dev/sda12 and fter sum time I realised that it corresponds to (hd0,11) when I found the boot folder of ubuntu using "find" in grub command line,as it seems grub starts counting from 0.

I added a lot of stuff...

Well at last I noticed that my boot loader was in a separate partition.maybe due desperation,I decided to overwrite it with ubuntu grub.
I re-installed ubuntu twice then
1)once it overwrote that partition (/dev/sda8 of size abt 101 MB with 15 MB occupied)by making it the /boot and on re-start got a black grub> prompt.I panicked on dat as I m nt very conversant with it.
2)I re-installed with default /hd0 option.

Now,I have ubuntu 8.04 running alongside Windows XP but hav a new Problem - the boot loader now doesn't detect RHEL 5.

Can any1 offer a solution?
 
Old 06-08-2008, 02:17 PM   #5
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,577
Blog Entries: 14

Rep: Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969Reputation: 969
/dev/hd0?

Newer kernels map even the ide drives as /dev/sd devices instead of /dev/hd. Perhaps your issue is the drive is being seen as /dev/sd0 in the RHEL installation but as /dev/hd0 in the Ubuntu installation.

What version of kernel does the Ubuntu one have. RHEL5 definitely uses the later 2.6 kernel that see /dev/sd instead of /dev/hd for both SCSI and IDE drives.
 
  


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
How do I install additional no my Ubuntu system pete_007ke Ubuntu 2 08-09-2006 02:24 PM
I can't install csh on my ubuntu system alexeyp Linux - Software 5 07-25-2006 05:25 PM
Ubuntu Base System error on install MikRose Linux - Newbie 6 04-02-2006 08:43 PM
System halts during the installation of RHEL v.4, cannot install,HELP PLS crackshotjack Red Hat 3 03-26-2006 08:59 AM
Notice to n00bs trying to install ubuntu (or linux in general) on an XP system w/Raid mylinuxquestionsname Linux - Newbie 4 03-04-2006 04:01 PM


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