2002-02-10 20:09:58

by Miles Lane

[permalink] [raw]
Subject: How do I get "make install" to handle GRUB?

I have GRUB installed with RH 7.2. I build and test
the development kernel series. How can I get "make install"
to work with GRUB? It seems like maybe we need a "install-grub"
target or we need to have a way to automatically determine the
bootloader being used and then do corresponding install method.

Miles



2002-02-10 20:34:17

by Jan Hudec

[permalink] [raw]
Subject: Re: How do I get "make install" to handle GRUB?

> I have GRUB installed with RH 7.2. I build and test
> the development kernel series. How can I get "make install"
> to work with GRUB? It seems like maybe we need a "install-grub"
> target or we need to have a way to automatically determine the
> bootloader being used and then do corresponding install method.

GRUB package should have provided /sbin/installkernel script to take
care of this properly - or some other package should have.
(In debian it's in debianutils).

Anyway - you can always provide this script yourself. Makefile gives it
four arguments: version, path to zImage, path to System.map, intall-direcotry
(the install directory is whatever is defined in kernel Makefile and if you
are not using the default (/), you can override it here)

--------------------------------------------------------------------------------
- Jan Hudec `Bulb' <[email protected]>

2002-02-10 20:56:51

by Justin Piszcz

[permalink] [raw]
Subject: Re: How do I get "make install" to handle GRUB?

ik - http://www.installkernel.com/ handles grub installations.

Miles Lane wrote:

> I have GRUB installed with RH 7.2. I build and test
> the development kernel series. How can I get "make install"
> to work with GRUB? It seems like maybe we need a "install-grub"
> target or we need to have a way to automatically determine the
> bootloader being used and then do corresponding install method.
>
> Miles
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to [email protected]
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/