Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 07-13-2009, 08:02 PM   #1
LQ Newbie
Registered: May 2009
Posts: 26

Rep: Reputation: 16
gentoo installation kernel/grub config

Hey everyone got a problem im confident someone will be able to easily help me out with.

Im installing gentoo for the first time. Everythings going fine, and its alot easier than i thought. Im used to manually configuring things from using slackware alot. But ive never had to configure grub before as most distros installations do that for me.

My partitions are set up as fallows:

sda1/hd0,0 NTFS (Windows XP)
sda2/hd0,1 Swap 4GB
sda3/hd0,2 ext3

I took this out of the gentoo handbook but i do have some questions on some variables and would like verification on the correctness of this. I manually created the kernel myself and saved it as kernel-2.6.29-gentoo-r5 in the /boot directory. In the kernel though i wanted to enable splashscreen which i did but underneath that option were variables like "integrate into console" or something like that. Do i need that enabled as well?

Now the grub configuration is my real problem. Id like someone to please verify this grub.conf file for correctness. My grub.conf looks like this:

default 0
timeout 30

title Gentoo Linux 2.6.24-r5
root (hd0,2)
kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda3

title Gentoo Linux 2.6.24-r5 (rescue)
root (hd0,2)
kernel /boot/kernel-2.6.24-gentoo-r5 root=/dev/sda3 init=/bin/bb

title Windows XP
rootnoverify (hd0,0)
chainloader +1

Now what is the makeactive and chainloader +1 options for? I assume makeactive is used to make whichjever partition the default?

Any help would be greatly appreciated!

Last edited by Akheron; 07-13-2009 at 08:04 PM.
Old 07-13-2009, 10:22 PM   #2
LQ Veteran
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 15,944

Rep: Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210Reputation: 2210
The (exceptional) doco is there to guide you
Originally Posted by handbook
Make sure you use your kernel image filename and, if appropriate, your initrd image filename.
That seems pretty unequivocal.
You have makeactive in the wrong place, but it's only relevant to the Windoze loader (it sets the boot flag in the partition table). You could remove it altogether.
Chainloader is a command to grub to transfer control to another loader (ntldr in XP) and quietly disappear.

Grub (and its commands) is documented at

BTW there is now a gentoo specific forum here at LQ.

Last edited by syg00; 07-13-2009 at 10:24 PM. Reason: BTW


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
What to save the 'make.config' file to in Gentoo Installation? Shockshell Linux - Newbie 1 01-12-2005 09:11 PM
gentoo: about config the Kernel akira117 Linux - Distributions 1 09-09-2004 05:29 AM
GRUB Installation woes with Gentoo ryan83vt Linux - General 3 02-19-2004 05:06 AM
gentoo -- how do i properly config grub for a dual boot system Laptop2250 Linux - Distributions 3 01-02-2004 09:19 PM
Gentoo kernel config woes optimalprimer Linux - Newbie 5 11-21-2003 12:59 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:04 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration