Re: installing multiple kernels
From: James E. Housley (jeh_at_FreeBSD.org)
Date: 04/15/04
- Previous message: Dag-Erling Smørgrav: "Re: installing multiple kernels"
- In reply to: Dag-Erling Smørgrav: "installing multiple kernels"
- Next in thread: Dag-Erling Smørgrav: "Re: installing multiple kernels"
- Reply: Dag-Erling Smørgrav: "Re: installing multiple kernels"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 15 Apr 2004 14:32:19 -0400 To: Dag-Erling Smørgrav <des@des.no>
Dag-Erling Smørgrav wrote:
> Currently, Makefile.inc1 will only install a single kernel. If
> KERNCONF specifies multiple kernel configs, they are all built, but
> only the first one is installed. This makes sense since otherwise the
> last one installed would simply clobber all the other ones.
>
> The attached patch changes that. It modifies kern.pre.mk to install
> each kernel in /boot/<kernelname> instead of /boot/kernel. It also
> modifies Makefile.inc1 to build and install all kernel configs listed
> in KERNCONF. It also adds a script, sys/conf/regkernel.sh, which
> keeps a list of installed kernels in /boot/kernels, making sure that
> the last one installed is always listed last.
>
> The only missing element is to make the loader read /boot/kernels and
> have $kernel default to the last kernel listed there (i.e. the most
> recently installed) instead of "kernel". It would also be nice to
> offer a kernel selection menu for the CLI-impaired. Unfortunately,
> I'm afraid my forth skills aren't quite up to the task. Any takers?
>
But isn't changing to use the last kernel instead of the first kernel a
violation of POLA? Other then that this sounds great.
Jim
-- /"\ ASCII Ribbon Campaign . \ / - NO HTML/RTF in e-mail . X - NO Word docs in e-mail . / \ ----------------------------------------------------------------- jeh@FreeBSD.org http://www.FreeBSD.org The Power to Serve jim@TheHousleys.Net http://www.TheHousleys.net --------------------------------------------------------------------- Life begins at 4.0 _______________________________________________ freebsd-arch@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-arch To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Dag-Erling Smørgrav: "Re: installing multiple kernels"
- In reply to: Dag-Erling Smørgrav: "installing multiple kernels"
- Next in thread: Dag-Erling Smørgrav: "Re: installing multiple kernels"
- Reply: Dag-Erling Smørgrav: "Re: installing multiple kernels"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
- input method on fc3?
... FC3 and soundcard ... >> without problems and sound works fine.
... What modules were loaded with kernel ... I can install and configure
samba on Linux as easily as I can install ... (Fedora) - Fedora Core 2, Averatec 3220 notebook
... I recently bought an Averatec 3220 notebook computer and have spent some ...
Following is a detailed "howto" guide for installing Linux (Fedora Core ... Linux distro,
which is easy to install and use, and for lots of answers ... We need one because the default
Fedora Core kernel doesn't grok NTFS ... (Fedora) - Re: Kernel 2.6.16 Problems FC4 and FC5
... Regardless of what I tried Star Office 6.0 would not start or could it be ...
, as well as NVIDIA drivers (Could not get it to ... Once again I did a total restore of
FC4 w kernel 2.6.15-1.1833. ... links were being broken when I tried to "install"
FC5. ... (Fedora) - NVIDIA driver on Suse 9.1
... I've got a NVIDIA FX 5600 and I'm trying to install the driver from the
... the kernel module is build 100%. ... (alt.os.linux) - Re: kernel configuration cannot be read
... I used YAST to install the package. ... Now when I open Control Panel/System
Admin/Linux Kernel, ... I tried again to install the NVIDIA drivers -- booted into
... this means that the installer will need to compile a kernel interface ... (alt.os.linux.suse)