Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 10-06-2001, 01:01 PM   #1
LQ Newbie
Registered: Oct 2001
Location: Room No. B-128 Hall VI IIT KANPUR
Distribution: Gentoo Linux
Posts: 8

Rep: Reputation: 0
Question Installing both Redhat7.1 & Mandrake8.1

Hi Freinds

I want to install both Redhat7.1 and Mandrake 8.1 on my comp.

I do not know the exact partioning i need to make and the boot labels to be given.
The Installation I did does not recognize both of them, infact lilo
recognizes only Mandrake ( maybe that is due to the fact that i have not installed lilo of redhat and mandrake does not recognize it ).
I have to boot Redhat from the floopy.

Also I am a bit confused about changing the labels to mount points in the file /etc/fstab, I need to change the mountpoints ( may be rather i have to give partition labels to access both of them ).

Presently I am running Mandrake8.1 and Windowsxp on my comp and I have already left a partition unlabeled for Redhat, and also a small linux partition.

Thanks in advance
Santosh Tiwari

Last edited by tiwaris; 10-06-2001 at 05:05 PM.
Old 10-07-2001, 12:09 AM   #2
LQ Guru
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 235Reputation: 235Reputation: 235
well the easiest way to install two linux distro's on the same machine and hard drive is to first install either mandrake or redhat... then after install, copy what you have down in your lilo.conf file for your image of whichever linux you install...
then your going to want to install the next linux distro and during the installation, rewrite lilo during it and install it...
after the install, login as root, make your changes to lilo.conf for your previous install of the linux image.. you only want to add the portion of the image configuration like:


something along the lines of that...

and if you have windows installed also, it should have picked up that and set that up... well i know redhat usually does a good job at recognizing... but i don't know windowsxp and not totally for sure to get that to boot from lilo...
there are other means of boot managers.. you can do a search for others.. i know there is boot magic or something called that can easily configure multiple boots....
Old 10-07-2001, 02:44 PM   #3
LQ Newbie
Registered: Oct 2001
Location: Room No. B-128 Hall VI IIT KANPUR
Distribution: Gentoo Linux
Posts: 8

Original Poster
Rep: Reputation: 0
I would request you to be more specific about the mount points
and also I would like to know wheather i need to make two boot
partitions for it.

I have already tried and have successfully installed the two distro's but both of them were not bootable.

Not only that the boot labels were matching and therefore i had to use mount points instead of labels.

Thanks in advance for any help
Old 10-08-2001, 04:54 AM   #4
Registered: Jun 2001
Location: Fairfax, California
Distribution: RH 9.0, RH 7.3, Mandrake 8.0
Posts: 986

Rep: Reputation: 30
When I had Redhat 6.2 and Mandrake installed on one machine I basically did it the way trickykid described, but to save myself the hassle of sorting out two /boot directories (on two separate hard drives in my case), I just copied my RH kernel to the Mandrake /boot partition and had lilo look there for both. This worked because the two kernels had different names. I then added the appropriate stanzas to lilo.conf to like this:

I then saved the file and re-ran lilo, and everything worked perfectly. Each distro still had it's own /boot directory, but lilo only looked for the bootable kernels in Mandrake's /boot.

As far as editing fstab goes- it won't help you with the dual boot issue. But if you want to boot into one distro and have some of the other distro's partitions mount also, just create mount points for them and add a related line for each in /etc/fstab. For instance- if you're booting into Mandrake, but want the /home partition of Redhat to be available as well, create a /mnt/Redhat directory and then add a line similar to
mount /dev/hda5 /mnt/Redhat
to fstab. Obviously, the "hda5" is just an example; subsitute the actual partition of the Redhat /home directory instead.

Last edited by DMR; 10-08-2001 at 04:57 AM.
Old 10-14-2001, 04:28 AM   #5
LQ Newbie
Registered: Oct 2001
Location: Room No. B-128 Hall VI IIT KANPUR
Distribution: Gentoo Linux
Posts: 8

Original Poster
Rep: Reputation: 0
Boot Problem

I succesfully installed both Redhat7.1 and Mandrake 8.1 on my comp.
But now I am having problem with booting it .

Actually I have partioned and mounted my hard disk the following way.

/dev/hda1 /mnt/win_c Windows C:
/dev/hda7 /usr ( For Mandrake )
/dev/hda5 /usr ( For Redhat )
/dev/hda11 /home ( Common )
/dev/hda9 Swap ( Common )
/dev/hda11 / ( For Redhat )
/dev/hda12 / ( For Mandrake )

And there exist other windows partitions on my hard disk.

First I installed Redhat and the lilo of it I installed on the following device : /dev/hda11 However an error occurred when it was installing lilo, giving the message that bootloader could not be installed since the Cylinder number is too big. ( It was giving the number as 1024 ).

And then I have installed Mandrake the lilo of it I installed in the MBR.

When I try to boot my comp Mandrade and windows work fine but when I give the option redhat It starts loading it many initializtions fail and it hangs.

I have to boot it from the floopy.

Any suggestions as to what might have gone wrong and how can I correct it without changing my existing partition structure.


Last edited by tiwaris; 10-14-2001 at 04:34 AM.
Old 10-17-2001, 10:48 PM   #6
LQ Newbie
Registered: Oct 2001
Location: Room No. B-128 Hall VI IIT KANPUR
Distribution: Gentoo Linux
Posts: 8

Original Poster
Rep: Reputation: 0
Job is done

well finally I have installed both the distros on my comp and they are working fine.

The only error it was that vmlinuz of redhat was not being detected by mandrake since it has read-only. secondly i changed the option in lilo.conf from linear to lba32.

I have presently two lilo's installed one in MBR and second in first sector of root of redhat, and that's the setup it needs. Also it required to change the labels to mountpoints in the file fstab of redhat only.



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
Office, games & wine for Redhat7.1? quinnk Linux - Software 4 06-18-2004 03:14 PM
Mandrake8.2 & E16 questions... Estariel Linux - Distributions 1 07-29-2002 01:48 PM
To all Mandrake8.2 users who need assistance on installing NVIDIA drivers neo77777 Linux - Distributions 0 07-21-2002 07:23 PM
Laptop, XP NTFS & Mandrake8.1 ajtaus Linux - Newbie 9 12-16-2001 01:37 AM
Installing both Redhat7.1 & Mandrake8.1 tiwaris Linux - Software 0 10-06-2001 12:44 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:13 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration