LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 03-15-2005, 05:05 PM   #1
Azzath
Member
 
Registered: Jan 2005
Location: Russia
Distribution: Mandrake, CentOS
Posts: 138

Rep: Reputation: 16
Trying to rectify the problem with multiple linux booting!!


Hi to all @ LQ!!
Could someone please help me out with the multiple booting up for FC3 and Mandrake!!
I know that there is way to do it, but i havent got much information how to edit the GRUB.

What i have done now is..
I have installed FC3 in one of the Partitions. I have installed mandrake and when it came to writing the boot loader to MBR ( i guess thats the right term), i skipped the process so that it wouldnt over write the FC3 boot loader.
Now i haven't got a clear idea of how to edit the GRUB file in the FC3 so that it will allow to boot Mandrake to boot up.

this is the print of my fdisk
Device Boot Start End Blocks Id System
/dev/hdb1 * 1 13 104391 83 Linux
/dev/hdb2 14 1288 10241437+ 83 Linux
/dev/hdb3 1289 1364 610470 82 Linux swap
/dev/hdb4 1365 2630 10169145 5 Extended
/dev/hdb5 1365 2630 10169113+ 83 Linux

this is a 80GB HD. I dont know wich (/hdb4 or /hdb5) that i installed Mandrake

My FC3 grub.conf looks like this
default=0
timeout=5
splashimage=(hd1,0)/grub/splash.xpm.gz
hiddenmenue
title Fedora Core (2.6.9-1.667)
root (hd1,0)
Kernal /vmlinuz-2.6.9-1.667 ro root=LABEL=/rhgb quiet
initrd /initrd-2.6.9-1.667.img
title Windows XP Proff
rootnoverify (hd0,2)
chainloader +1

Is this way of partitioning it alright?

I cant wait for the time that i could really see all done perfectly....
But too much of reading from the net has left me @ a certain level of understanding. But i am not really clear what to do.

Please Help!!
Thank you for all the time and effort guys...
Regards,
Azzath.

Last edited by Azzath; 03-15-2005 at 07:05 PM.
 
Old 03-15-2005, 07:20 PM   #2
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
Quote:
Is this way of partitioning it alright?
looks pretty ok to me. One could argue that a seperate partition for /home would've been nice, but no killer.

Quote:
I dont know wich (/hdb4 or /hdb5) that i installed Mandrake
/hdb5

... perhaps a parallel might explain this better: you have a cake (/hda) that you can slice into 4 pieces (only). However, you can choose to have the fourth piece be special (extended); if you do, you can slice that into more pieces (here, you `slice' it into one piece: /hdb5), and you must slice it into pieces (even only one) to eat (put data on) it.
omg. I should write night-time stories for children

I'm no grub wizard, but I'd think that copying the `bootable-thing'-specific parts for fc3 and changing them to match those for mdk should work.
 
Old 03-16-2005, 05:28 AM   #3
eco2geek
Member
 
Registered: Feb 2003
Location: Portland, OR
Distribution: openSUSE 10.3, among others
Posts: 141
Blog Entries: 1

Rep: Reputation: 15
If you mount the partition upon which you installed Mandrake, while you're running FC3, and open /boot/grub/menu.lst on the Mandrake partition, you could just copy out the relevant "stanza" and paste it into /boot/grub/menu.lst (which is a symlink to /boot/grub/grub.conf in FC3) on your FC3 partition.

The stanza will look very similar to the one that boots FC3. For example, here's the stanza in my "menu.lst" that boots Debian Kanotix. Note the similarities:

# For booting Kanotix
title Kanotix (Bug Hunter X Fix 2)
root (hd1,0)
kernel /vmlinuz root=/dev/hdb1 vga=791 ro
boot

(Mandrake's may or may not have the "root" line, may or may not have an "initrd" line, and may or may not have "boot" -- just copy whatever stanza's there.)

The other thing you'll want to add is something like this:

# By default, boot the first entry
default 0

# Fallback to the third entry
fallback 2

GRUB starts counting at zero, so "default 0" means "boot the first entry," and "fallback 2" means "if you can't boot the first entry, try booting the third entry." Modify to suit your needs. Put whichever one you want to boot by default before the others.
 
  


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
clock skew detected problem - no way to rectify it cyberswami Linux - Newbie 4 12-06-2007 12:28 AM
Windows + Multiple Linux Distro booting Mawos Linux - General 4 08-03-2005 10:57 AM
multiple booting two hard drives with linux distros slim case Linux - Newbie 3 07-04-2005 10:02 PM
Problem with Lilo.conf booting multiple OS's sanfran49 Linux - Software 2 02-11-2004 04:37 PM
Linux on a tired old laptop? joeberk Linux - Newbie 4 10-11-2002 04:15 PM


All times are GMT -5. The time now is 05:28 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration