LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 07-13-2009, 07:02 PM   #1
Akheron
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
splashimage=(hd0,2)/boot/grub/splash.xpm.gz

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

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 07:04 PM.
 
Old 07-13-2009, 09:22 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,131

Rep: Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987Reputation: 987
The (exceptional) doco is there to guide you
Quote:
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 gnu.org

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

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


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


All times are GMT -5. The time now is 12:47 AM.

Main Menu
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