Here is what my grub.conf looks like, at least the Gentoo part:
Title=Gentoo Linux
root (hd1,0)
kernel (hd1,0)/boot/bzImage root=/dev/hdb3 hdc=ide-scsi pci=noacpi
I have never had a problem with it booting like that. Keep in mind that I
didn't use the genkernel.
-----Original Message-----
From: Peter Eis [mailto:[EMAIL PROTECTED]
Sent: Friday, September 05, 2003 5:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [gentoo-user] Gentoo grub question?
Joshua Banks wrote:
>Thanks for the reply Peter,
>
>I'm follow the directions off there Install x86 doc. I trust you, don't get
me wrong but that
>would be pretty messed up I would think.
>
>
I'm not a grub expert either so maybe you should wait for other advices
before messing things up.
But as long as you don't mess up your partitions you should always be
able to boot again from the install cd, mount the linux partitions and
fix wrong setting in grub (I had to do this several times before
everything worked well).
>Here's there example: (Is my grub different because I used genkernel to
compile the kernel, I
>wonder)
>
>Now, create the grub.conf file (nano -w /boot/grub/grub.conf) and add the
following to it:
>
>Code listing 23.4: grub.conf for GRUB
>
>default 0
>timeout 30
>splashimage=(hd0,0)/boot/grub/splash.xpm.gz
>
># If you compiled your own kernel, use something like this:
>title=My example Gentoo Linux
>root (hd0,0)
>kernel (hd0,0)/boot/bzImage root=/dev/hda3
>
># If you're using genkernel, use something like this instead:
>title=My example Gentoo Linux (genkernel)
>root (hd0,0)
>kernel (hd0,0)/boot/kernel-KV root=/dev/hda3
>initrd (hd0,0)/boot/initrd-KV
>
># Below needed only for people who dual-boot
>title=Windows XP
>root (hd0,5)
>chainloader (hd0,5)+1
>
>
>Warning: Substitute KV with the kernel version you have installed.
>
>Does this make sense Peter? Is there install guide messed up?
>
>
It just depends on you disk layout. If you do have a boot partition (as
recommended in the install docs) then you must not have the /boot in the
path to the kernel as there is no such dir on this partition (someone
please correct me if I'm wrong)
If you installed everything on one partition only then the example
config is ok.
I would put two entries for gentoo in the grub.conf:
default=0
timeout=10
splashimage=(hd0,0)/grub/splash.xpm.gz
title=My example Gentoo Linux (genkernel with /boot)
root (hd0,0)
kernel (hd0,0)/boot/kernel-KV root=/dev/hda3
initrd (hd0,0)/boot/initrd-KV
title=My example Gentoo Linux (genkernel without /boot)
root (hd0,0)
kernel (hd0,0)/kernel-KV root=/dev/hda3
initrd (hd0,0)/initrd-KV
# Below needed only for people who dual-boot
title=Windows XP
root (hd0,5)
chainloader (hd0,5)+1
Of course you still need to change 'KV' with the correct values for your
kernel (something like 2.4.20-gentoo-r5) and to check if the partition
number for the XP entry is ok.
Cheers,
Peter
>Thanks,
>JBanks
>
>
>
>
>
>
>
>__________________________________
>Do you Yahoo!?
>Yahoo! SiteBuilder - Free, easy-to-use web site design software
>http://sitebuilder.yahoo.com
>
>--
>[EMAIL PROTECTED] mailing list
>
>
>
--
[EMAIL PROTECTED] mailing list
--
[EMAIL PROTECTED] mailing list