LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-25-2003, 09:37 PM   #1
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Rep: Reputation: 45
Dual boot Mandrake9.1 RedHat9


Hi all

I'm fairly new to Linux (1-2 months) and I'm trying to dual boot Red Hat 9 and Mandrake 9.1 on the same hard drive - I'm having problems. I've installed Red Hat 9 first with a boot,root and swap partition and put grub in the mbr - then I installed Mandrake 9.1 in the free space on the same drive - again I created a boot,root and swap partition and put "Mandrakes" Lilo in the mbr - so basically I've just got Lilo in the mbr at this point - when I come to boot up the Lilo menu only shows entries for Mandrakes options and doesn't contain a Red Hat option aswell - so I've then gone into Mandrakes Lilo.conf and added an entry to make Lilo point to Red Hats Kernel image, Red Hats root partition and Red Hat init file - this is were the problems start though - I've then /sbin/lilo to make sure the new Red Hat entry goes into the Lilo menu for when I next boot up, which it does - the problem is that when I next boot up and click on the Red Hat entry I get a series of error messages including things like mount: error 6 and kernel panic etc etc - I suspect its due to Lilo not being able to mount Red Hats root partition and maybre not pointing right to the Red Hat kernel and init file - I'm pretty sure I have completely misunderstood something but the only way I could point to the Red Hat kernel and init file and root partition ""succesfully""???? was by mounting the Red Hat boot and root partitions in Mandrake in a dummy directory that I created - what I don,t understand is - how is Red Hats kernel meant to find ReD Hats root partition etc when its Mandrake which mounts Red Hats boot/root partitions so Lilo can point to the right Red Hat files - I'm confused here and have completly misunderstood something - but can anybody explain how it works and also how to sort it out.

Appreciate any advice

Skyline
 
Old 06-25-2003, 11:57 PM   #2
len
Member
 
Registered: Jun 2003
Distribution: slackware 14
Posts: 143

Rep: Reputation: 15
use the same boot loader for each (expert mode during install). skip the bootloader w redhat (win98se boot disk fdisk /mbr to remove boot loader from mbr), and use the bootloader w/ mandrake, and specify the partitions that you want to boot up, and /dev/hda1 for the mbr. if on controller card, then point mbr to that hdd's first partition (provided it's the only hdd- just put bootloader to hdd that is the lower letter- ex two hdd's one is /dev/hde, other is /dev/hda, then hda is where the mbr is, and point the boot loader to it- make a boot floppy, so that you can boot into the os, and rework the boot process if necessary). so remove boot loader from mbr, then use mandrake to set a bootloader to the mbr, specifying both kernel partition mount points.

now, i haven't performed this, but from what you describe, the 2 different boot loaders is wrong- you'll use just one bootloader for all your os's (windows as well).

the other thing that might be wrong is having 2 swap files. i think that only one is needed for all the linux os's- though i'm not 100% certain. i haven't tried this yet, but i certainly would like to have a couple of distros to choose from.

linux will not boot correctly from extended partitions (or so they say). if you are setting up the /boot partition past the 8gig mark (1024 cylinder), then you might have to force lba during set up of mount points.

give the fdisk /mbr routine a try though, and use one boot loader, and point to the correct partitions, and point bootloader to mbr of /dev/hda1. good luck!


Last edited by len; 06-26-2003 at 02:08 PM.
 
Old 06-26-2003, 02:10 PM   #3
len
Member
 
Registered: Jun 2003
Distribution: slackware 14
Posts: 143

Rep: Reputation: 15
bump for critique, and further insight from the more experienced!

is it possible to just create 1 swap file (extended, at end of hdd), and have 4 primary / (root) partitions, w/o /boot mnt pt, and load 4 distros successfully (make a floppy boot disk to each, but only place the bootloader to the mbr at the 4th partition/ linux os install, adding a boot option for each / mnt pt?)?

Last edited by len; 06-26-2003 at 02:17 PM.
 
Old 06-26-2003, 02:47 PM   #4
Odan
LQ Newbie
 
Registered: Jun 2003
Location: Germany
Distribution: Try to learn about SuSE Mandrake Debian(Knoppix)
Posts: 24

Rep: Reputation: 15
Well Hi :-)
ähm, i do try since a couple of days to make four Distris to boote from one hda (SuSE 8.0 SuSE8.1 Mandrake 9.1 Knoppix 3.1) of course everyone is overriding the existing mbr but even if i try to put the boot information during installation on e.g. /dev/hda3 (SuSE8.0) SuSE 8.1 wouldn´t recognize (in YaST2 the Bootloader can look for another installed os and i thought at this point it should find the boot information from SuSE8.0 on /dev/hda3 but it doesn´t. So what am i doing wrong? I f i search for vmlinuz or initrd on / i don´t find??? so i even can´t tell the system manually. I´d be really glad for anyone helping me.

Odan
 
Old 06-27-2003, 01:21 PM   #5
Skyline
Senior Member
 
Registered: Jun 2003
Distribution: Debian/other
Posts: 2,104

Original Poster
Rep: Reputation: 45
Hi guys - thanks for the replies - I'm thinking of trying to put the Red Hat 9 kernel image vmlinuz-2.4.20-8 and its initialisation file initrd-2.4.20-8.img into Mandrakes boot partition because Iknow lilo can succesfully access Mandrakes boot partition in my setup -I'd like to try and get this idea nailed because I want to try out lots of different distros over the coming year - I'm probably going to have to post my Lilo.conf and fstab files at some point hopefully somebody will be able to spot my errors straight away or something.

Cheers again - skyline
 
  


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
Installing Mandrake9.2 on a Fedora winxp dual boot machine dhanakom Mandriva 2 07-04-2004 10:24 AM
How do I change my dual boot (win ME andRH9) to ME and Mandrake9.1 PenguinMolester Linux - Newbie 10 01-24-2004 06:16 PM
eth0 doesn't show in Debian with ifconfig after dual boot with Mandrake9.2 steve1401 Linux - Networking 3 01-18-2004 06:21 PM
dual boot xp & rh9/Mandrake9 problem hm4288 Linux - Newbie 2 11-21-2003 03:36 AM
RedHat9.0 Vs Mandrake9.1 sheldon Linux - Software 1 09-16-2003 07:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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