Re: installing multiple kernels

From: Daniel Eischen (eischen_at_vigrid.com)
Date: 04/15/04

  • Next message: Brian F. Feldman: "Re: [patch] lockf(3) user-exploitable kernel panic"
    Date: Thu, 15 Apr 2004 10:51:01 -0400 (EDT)
    To: Dag-Erling Smørgrav <des@des.no>
    
    

    On Thu, 15 Apr 2004, [iso-8859-1] 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

    I think it would be neat to install multiple KERNCONF kernels
    to /boot/kernel/<kernelname> and only install one set of
    modules.

    > 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?
    >
    > DES
    > --
    > Dag-Erling Smørgrav - des@des.no

    -- 
    Dan Eischen
    _______________________________________________
    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"
    

  • Next message: Brian F. Feldman: "Re: [patch] lockf(3) user-exploitable kernel panic"

    Relevant Pages

    • BETA5 hangs shortly after boot. Unknown cause.
      ... Just cvsup-ed to BETA5 tonight and after having built world and built ... and installed the kernel I rebooted into single user to install world. ... I must be stupid, stupid, stupid, but in my defence: ...
      (freebsd-current)
    • BETA5 hangs shortly after boot. Unknown cause.
      ... Just cvsup-ed to BETA5 tonight and after having built world and built ... and installed the kernel I rebooted into single user to install world. ... I must be stupid, stupid, stupid, but in my defence: ...
      (freebsd-current)
    • 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: install woes
      ... looking at the Fedora 9 64bit DVD: ... I'd try the acpi=off, but I didn't need any boot options, as far as I remember ... appended the kernel, probably post-install. ... but on attempting to install, it freezes up at the test media screen. ...
      (Fedora)