LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 02-17-2005, 12:10 PM   #1
latinboy
LQ Newbie
 
Registered: Feb 2005
Location: Lawrence, MA
Distribution: Mandrake
Posts: 6

Rep: Reputation: 0
Windows XP, Red hat 8.0 and Mandrake 10.1 triple booting


1. i have a 30 GB hard drive which i have partitioned to install Windows XP, Red hat 8.0 and Mandrake 10.1
2. i have successfully installed the combination of windows XP with Red Hat 8.0 with red hat grub boot loader.

3. i installed mandrake after the windows xp and red hat 8.0 combination in the free space corresponding to Mandrake 10.1 and it installed sucessfully.

4. a problem presented itself and it was that during booting process Grub appears and in the list it shows the linux(mandrake 10.1) and Windows it doesn't see linux Red Hat.

5. I went to the web and search to make the Mandrake 10.1 grub see red hat, i found out that you can modify grub menu.lst file and place in there red hat linux

this is my mandrake 10.1's menu.lst right now:

timeout 10
color black/cyan yellow/cyan
default 0

title linux
kernel (hd0,5)/vmlinuz root=/dev/hda8 acpi=ht resume=/dev/hda7splash=silent vga=788
initrd (hd0,5)/initrd.img

title linux-nonfb
kernel (hd0,5)/vmlinuz root=/dev/hda8 acpi=ht resume=/dev/hda7
initrd (hd0, 5)/initrd.img

title 2427-0pre21
kernel (hd0,5)/vmlinuz-2.4.27-0.pre2.lmdk root=/dev/hda8 devfs=nomount acpi=ht resume=/dev/hda7 splash=silent vga=788
initrd (hd0,5)/initrd-2.4.27-0.pre2.lmdk.img

title failsafe
kernel (hd0,5)/vmlinuz root=/dev/hda8 failsafe acpi=ht resume=/dev/hda7

title windows
root (hd0, 0)
chainloader +1



6. The main problem is: that i don't know what to put in the menu.lst in order for grub to see red hat 8.0
i guess if someone can tell me the method which i can use to determine the partition where Red hat's necessary files ( such as initrd.img and vmlinuz) to boot are.

so far i am able to boot mandrake 10.1 and windows xp in the grub bootloader
and i can boot red hat but with a floppy disk

if someone has done this please let me know i have been trying for days

thank you
 
Old 02-17-2005, 01:06 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Boot redhat with a floppy disk and execute "mount" or "df" to see what is mounted where. This information can be supplied to grub to create an entry in grub for Redhat, just like the "linux" one for Mandrake (mandrake actually seems to have 3 entries there)
 
Old 02-17-2005, 01:31 PM   #3
latinboy
LQ Newbie
 
Registered: Feb 2005
Location: Lawrence, MA
Distribution: Mandrake
Posts: 6

Original Poster
Rep: Reputation: 0
but where do you want me to execute "mount" or "df" , since when i boot from disk it goes into the graphical operating system. Do you mean type "mount" at the terminal or go with the mouse and search the mnt?
 
Old 02-17-2005, 01:31 PM   #4
Padma
Member
 
Registered: Aug 2003
Location: Omaha, NE, USA
Distribution: PCLinuxOS 2007
Posts: 808

Rep: Reputation: 30
Quote:
Originally posted by Matir
(mandrake actually seems to have 3 entries there)
By default, Mandrake creates "linux", "linux-nonfb", and "failsafe" entries.

Edit: Open a terminal window in the GUI, and type the commands there.

Last edited by Padma; 02-17-2005 at 01:33 PM.
 
Old 02-17-2005, 01:36 PM   #5
latinboy
LQ Newbie
 
Registered: Feb 2005
Location: Lawrence, MA
Distribution: Mandrake
Posts: 6

Original Poster
Rep: Reputation: 0
i see i escuted "df" in the terminal it gave me informations about the partitions, i sort of knew that, my root / is in /dev/hda3, and my /boot is in /dev/hda2

how can i use this information to feed it into grub in mandrake 10.1 in other words
what are the necessary changes? the menu.lst is above

please be specific

thank u
 
Old 02-17-2005, 01:57 PM   #6
samael26
Member
 
Registered: Oct 2004
Location: France, Provence
Distribution: Debian
Posts: 848

Rep: Reputation: 30
Hi,
Problem is that Mandrake, by default uses LILO as a boot loader.
Now I am not an expert using GRUB, because i never liked it but
perhaps somebody out there could point you to a way of overwriting
LILO by GRUB, which seems to me to be the correct way even if
I can't tell you exactly how.
Cheers
 
Old 02-17-2005, 08:12 PM   #7
jiml8
Senior Member
 
Registered: Sep 2003
Posts: 3,171

Rep: Reputation: 116Reputation: 116
Quote:
how can i use this information to feed it into grub in mandrake 10.1 in other words
I am guessing about the name of your redhat boot image, but a line like this (with an appropriate substitution for vmlinuz and for initrd.img) should get you going:


Code:
title redhat
kernel (hd0,1)/vmlinuz root=/dev/hda3 
initrd (hd0, 5)/initrd.img
You may need some command line switches for the redhat installation, but I have no idea what those would be.
 
  


Reply



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
Dual booting Windows 98 and Red Hat 6 psarangi Linux - Software 14 07-07-2004 09:19 PM
Dual booting Red Hat Linux with Windows XP Agbo Linux - Software 7 04-08-2004 07:10 AM
dual booting red hat 7.3 with windows 2000 pro nixdisciple Linux - General 2 06-02-2002 02:26 AM
Dual Booting Red Hat 7.1 and Windows XP terricksa Linux - General 8 05-20-2002 11:30 AM
dual-booting red hat 7.2 and windows 2000 professional using NTLOADER nixdisciple Linux - Newbie 2 02-07-2002 09:20 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:37 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
Open Source Consulting | Domain Registration