LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 08-10-2005, 05:07 AM   #1
silvercloud
Member
 
Registered: Aug 2005
Posts: 30

Rep: Reputation: 15
winxp+RHEAS4+RH9.how ?


i have Winxp and RH Enterprise AS4 installed on my computer.
i want to install RH9 too,
may it cause problem and cause no one of boot ?
 
Old 08-10-2005, 10:32 PM   #2
linux=future
Member
 
Registered: Apr 2005
Distribution: Debian
Posts: 154

Rep: Reputation: 30
First off, what bootloader will you install. I know GRUB can handle all three, and I'm pretty sure LILO can too, I just have no knowledge about LILO.
 
Old 08-11-2005, 11:27 AM   #3
Tarry
Member
 
Registered: Aug 2004
Posts: 33

Rep: Reputation: 15
Try PartitionMagic. then you can hav as many OS's as you need.
 
Old 08-11-2005, 04:15 PM   #4
silvercloud
Member
 
Registered: Aug 2005
Posts: 30

Original Poster
Rep: Reputation: 15
tnx,i use grub ,i guess installing RH9 after RHE AS4 may be cuase problem in bootloading management,i friend said me i have to choose to install bootloader on first sector of.... not on MBR and then make some changes in RHE AS4 for managing all OS ,
-------------------------------------------
tnx friend but i have free space for new installation and i guess there is no need to use partition magic,as i know it use for changing partitions and drives on hard disk.
 
Old 08-11-2005, 05:25 PM   #5
xxx_anuj_xxx
Member
 
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Rep: Reputation: 16
Thumbs up

There will be no problem.
u have installed winxp then RHEL AS
Now you want to install Redhat 9 (Means you want to use 3 operating systems)...make a free space for your redhat hat 9 and install it with your new grub in MBR.
After installing you can use your widows + newly installed Redhat9 but not the RHEL unless you enter it's entry into your /etc/grub.conf file on redhat9.
So now you have to enter it's kernel and initrd information.
to do this
1:- Log in to your redhat 9 with root
2:-mount your redhat enterprise partition (suppose on /misc)
mount -t ext3 /dev/hda3 /misc
where /dev/hda3 is your boot partition of previously installed Redhat Enterprise AS

3:now go to the /misc/grub/ directory
4:- open your grub.conf file (THIS Grub configuration file is from your previously installed Redhat Enterprise Linux and you have to copy the kernel and initrd linformation into your newly installed redhat 9 's grub.conf file.

#########################################################
title Red Hat Enterprise Linux ES (2.4.21-4.EL)
root (hd0,3)
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.21-4.EL.img

title DOS
rootnoverify (hd0,0)
chainloader +1
##########################################################

5:Now open your grub configuration file of newly installed redhat 9 (/etc/grub.conf) and paste the kernel and initrd information from your mounted enterprise linux (here i mounted it on /misc)
the resulting new grub configuration file (/etc/grub.conf) should be something like...
#########################################################
title Red Hat 9 Linux
root (hd0,12)
kernel /vmlinuz-x.x.x-x. ro root=LABEL=/1 rhgb quiet
initrd /initrd-x.x.x-x.img
title Red Hat Enterprise Linux ES (2.4.21-4.EL)
root (hd0,3)
kernel /vmlinuz-2.4.21-4.EL ro root=LABEL=/ hdb=ide-scsi
initrd /initrd-2.4.21-4.EL.img

title DOS
rootnoverify (hd0,0)
chainloader +1
############################################################
Save it and now you can boot your Redhat Enterprise AS or Redhat linux 9 or windows xp
 
Old 08-13-2005, 12:36 AM   #6
silvercloud
Member
 
Registered: Aug 2005
Posts: 30

Original Poster
Rep: Reputation: 15
wow,nice explaination !!
tnx alot .
 
Old 08-13-2005, 06:35 AM   #7
xxx_anuj_xxx
Member
 
Registered: Jun 2004
Location: Bharat
Distribution: RedHat, Debian, FreeBSD, Fedora, Centos
Posts: 114

Rep: Reputation: 16
Smile

Welcome !
You can install more os in the same way...I tried 5 OS on one system, no problem!
Cheers
 
Old 08-13-2005, 08:16 AM   #8
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Just a hint, prefer chainloading of boot sectors over hardcoding kernel entries in grub.conf. With chainloaded boot sectors, you don't need to update any grub.conf file whenever a kernel update is installed. You would keep one primary copy of GRUB in your Master Boot Record and make it load the boot sectors of the first sector of every partition you install another OS in. Way more powerful and maintenance-free.
 
Old 08-14-2005, 04:10 AM   #9
silvercloud
Member
 
Registered: Aug 2005
Posts: 30

Original Poster
Rep: Reputation: 15
tnx misc,whould you explain more ?how can i do it ?
 
Old 08-14-2005, 05:28 AM   #10
misc
Senior Member
 
Registered: Apr 2003
Distribution: Red Hat + Fedora
Posts: 1,084

Rep: Reputation: 54
Well, your friend already told you how to do it. Install Red Hat Linux 9's bootloader _not_ into the MBR but into the first sector of the partition you install RHL9 into, e.g. /dev/hda7. The graphical installer has the options to choose that. Assume that partition is /dev/hda7 (which is hd0,6 in GRUB's view), you would add the following to your primary GRUB in MBR, which most likely is the GRUB of your RHEL installation:

title Red Hat Linux 9
lock
rootnoverify (hd0,6)
chainloader +1

That way you can chainload many other boot sectors. And Red Hat Linux 9 need not know about your RHEL grub.conf and vice versa. They stay independent.
 
  


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
Can't See WinXP Files from RH9 eoldynski Linux - Networking 2 07-27-2005 09:50 PM
RH9 and WinXP Agileuk Linux - Newbie 3 09-19-2003 08:15 PM
problems with WINxp and RH9... plainzwalker Linux - Newbie 3 08-16-2003 05:56 PM
Networking RH9 to WinXP Hotwire Linux - Networking 3 07-28-2003 03:29 AM
winxp problem after installing rh9 g3nk1 Linux - Newbie 4 06-12-2003 02:23 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

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