LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-26-2004, 02:49 PM   #1
redfedora88
Member
 
Registered: Sep 2004
Location: Caldwell LA
Distribution: SuSE 9.1 Personal
Posts: 56

Rep: Reputation: 15
Question Red Hat and Mandrake dual boot


I am not exactly a newbie...but I am way down on the food chain so to speak. I installed Red Hat 9 a while back, dual booted it with XP. I have XP on my primary master hard drive which is a 40 Gig, and RH on my primary slave, which is a 200 Gig. I just installed Mandrake 9, which I really like, but on the boot manager it shows only Mandrake (in which there are 3 that do 3 different things but they are all for Mandrake...i believe they are linux, linux w/outfb or something of the sort, and failsafe) and then NT, which is windows XP, they all seem to boot fine, but where did RH go...it's still installed, i can go into partion magic and see that, can anyone tell me where it went and how to get it back?
 
Old 09-27-2004, 02:18 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
You need to find out exactly where you installed Redhat (the root partition), mount that partition under Mandrake and copy the Redhat kernel as well as the initrd.img into your /boot folder in Mandrake. once you have done that configure the bootloader via Mandrake control centre and add an entry for redhat and make sure you choose the right partition and kernel. Reboot and hopefully there will be an entry for Redhat and that you can boot into it without any problems.
 
Old 09-27-2004, 02:45 PM   #3
redfedora88
Member
 
Registered: Sep 2004
Location: Caldwell LA
Distribution: SuSE 9.1 Personal
Posts: 56

Original Poster
Rep: Reputation: 15
How do I mount that parition under Mandrake? Also, how do copy the RH kernel and the .img? Sorry I'm not real Linux literate yet...but I am getting there.
 
Old 09-28-2004, 02:24 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 75
1) log into Mandrake, switch to the root user and create a directory in /mnt called redhat, so the command would be

mkdir /mnt/redhat

2) mount your Redhat/Fedora partition sort of like below,

mount /dev/hdxx /mnt/redhat

3) once thats mounted, change into the boot directory of Redhat as follows,

cd /mnt/redhat/boot

4) copy the kernel (vmlinuzXXXX) and initrdXXXX.img to /boot/
cp vmlinuzXXXXX /boot/.
cp initrdXXXXX.img /boot/.

5) change back to the mandrake /boot directory and rename the redhat kernel and initrd image so that you recognise them as redhats and not Mandrakes. I tend to put a "-redhat" at the end of the kernel name and initrd image so that I don't confuse it with mandrakes.

6) open the Mandrake Control center, go to boot and then configure boot loader and add redhat as a session, choose the right partition where redhat is installed and choose the right kernel and initrd.img and reboot your system.


A way to avoid this long process is to use grub as a boot loader instead of lilo, because with grub you don't need to copy the kernel to the other distro's partition. The description above is mainly valid if you are using Mandrake and Redhat/Fedora Core.

Last edited by reddazz; 09-28-2004 at 02:26 AM.
 
  


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
problem with Installing red hat linux dual boot(/boot < for 1024 cylinders ) praveenb Linux - Newbie 2 02-13-2004 08:49 PM
How to dual boot Red hat 7.2 and 8.0? linux_nubee Linux - Newbie 3 09-25-2003 07:39 AM
Red Hat FS and dual boot WS double_e Linux - Networking 1 09-13-2003 11:49 PM
red hat 9 xp dual boot josh43bob Linux - Software 2 06-30-2003 12:58 PM
Dual boot with Red Hat and Mandrake billonesty Linux - General 8 01-29-2003 11:02 AM


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