Happy New Year!

BRM wrote:

> The system is set to boot off of /dev/hdb2 (ext2) and use /dev/hdb1 as
> the root. I believe the boot device is hd1,1 in grub terminology.

Yes.

> The system has 3 hard drives: hda, hdb, and sda; as well as a dvd drive
> (hdc).

Check your /boot/grub/device.map to make sure that devices correspond to the
expected grub nomenclature.  Use <tab-completion> after you run # grub for
root to find out where Grub thinks its root fs resides.

> /dev/hdb2 has the following structure:
>  - list of all my Slackware kernels
>  - gentoo/bzImage
>  - gentoo/bzImage_2-6-23-gentoo-r3
>  - grub/
> 
> Below is my grub.conf (minus comment lines):
> 
> timeout 30
> default 0
> fallback 1
> title Gentoo Linux
> root (hd1,1)
> kernel /gentoo/bzImage root=/dev/hdb1

I assume from what you said above that when you run ls -la /gentoo/bzImage
you can see the kernel image you are trying to boot, right?

> title Slackware Linux
> root (hd1,1)
> kernel /vmlinuz root=/dev/sda1
> 
> title Install GRUB into the hard disk
> root (hd1,1)
> setup (hd1)
> 
> title Change the colors
> color light-green/brown blink-red/blue
> 
> I installed it via:
> 
> # grub
> grub: root (hd1,1)
> grub: setup (hd1)
> grub: exit
> 
> All seems well. It boots and presents the menu, but then can't find the
> kernel when I select "Gentoo Linux" or try to manually run the lines. I
> tried using "find" at the grub command prompt during the boot process,
> but it couldn't find it either. I haven't tried the Slackware kernel
> yet, as I am mostly concerned about the Gentoo kernel.
> 
> Note: I am using LVM2 under this Gentoo install - but not for /boot or
> /.
> 
> What am I missing?

Your system will look at the first device that the BIOS finds for a
bootloader.  That 'should' be /dev/hda, but it could well be /dev/sda
(check device map and also use Grub's tab completion to see what the
BIOS/Grub sees first).  Then install your grub in that first device. 
There's nothing wrong with your Grub installation other than it is in the
second (third?) device and it need to be either chainloaded or directly
booted from the Grub installation in the first device that comes up on boot
up.

HTH
-- 
Regards,
Mick

-- 
[EMAIL PROTECTED] mailing list

Reply via email to