LinuxQuestions.org
Review your favorite Linux distribution.
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 04-15-2005, 02:07 AM   #1
RJEmery
Member
 
Registered: Jul 2003
Distribution: FC3/GNOME, Slack 10.1
Posts: 31

Rep: Reputation: 15
Tweaking GRUB


I would like to have W98, FC3 and Slackware 10.1 on a single hard drive. W98 would occupy a primary partition, and FC3 and Slack partitions would all be resident in separate logical partitions within an extended partition.

When I install FC3, it overwrites the MBR with GRUB. How do I go about editing GRUB such that I can select any of the three operating systems to boot?
 
Old 04-15-2005, 03:18 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
use VI (or any editor) and open /boot/grub/grub.conf. If that life doesn't exist, then it is likely called /boot/grub/menu.lst

Since you didn't post your partition scheme, what I type probably won't work but should give you a rough outline.

The entries would look something like this:

title WIN98
rootnoverify (hd0,1)
makeactive
chainloader +1

title FC3
root (hd0,2)
kernel /kernel-2.6.10 real_root=/dev/hda3

title Slack 10.1
root (hd0,3)
kernel /kernel-2.6.10 real_root=/dev/hda4
 
Old 04-15-2005, 08:07 AM   #3
RJEmery
Member
 
Registered: Jul 2003
Distribution: FC3/GNOME, Slack 10.1
Posts: 31

Original Poster
Rep: Reputation: 15
musicman,

I appreciate the pointers. Give me an example of what you mean by a partition scheme, and I will gladly post mine.

Last edited by RJEmery; 04-15-2005 at 08:08 AM.
 
Old 04-15-2005, 08:49 AM   #4
Cron
Member
 
Registered: Jun 2004
Location: Lithuania
Distribution: FreeBSD, Arch, Ubuntu
Posts: 145

Rep: Reputation: 15
partition scheme

Quote:
I appreciate the pointers. Give me an example of what you mean by a partition scheme, and I will gladly post mine.
I think he/she meant the output of
Code:
fdisk -l
post this and we'll try to help you. Or you can just replace real_root=/dev/hda4 with the needed partition.
if you have windows on 1st partition, then the win menu entry would look like this:
Code:
title WIN98
rootnoverify (hd0,1)
makeactive
chainloader +1
and if you have slack on partition nr. 2, then slack menu entry would look like this:
Code:
title Slack 10.1
root (hd0,2)
kernel /kernel-2.6.10 real_root=/dev/hda2
NOTE: pay attention to real_root=/dev/hda2 and (hd0,2) - these are important parts. Also assuming here, that you are using kernel 2.6.10 here,
and it is located at /kernel-2.6.10.

Hope this helps!
 
  


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
startup tweaking rookworm Linux - Newbie 4 11-06-2005 12:53 PM
Wine tweaking RodimusProblem Linux - Software 0 02-23-2005 07:21 PM
um, Tweaking Thom_Redhat Linux - Software 13 06-17-2003 03:10 AM
some X tweaking zeky Linux - Software 3 12-23-2002 02:00 AM
RedHat tweaking sancho5 Linux - General 8 07-30-2001 08:13 PM

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

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