public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Rich Freeman <rich0@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] alternative kernels
Date: Fri, 31 Oct 2014 13:53:24 -0400	[thread overview]
Message-ID: <CAGfcS_k3k83qNWKL_WwBWSWobsOj=LpCmonf8QxrSYFhOiL8JA@mail.gmail.com> (raw)
In-Reply-To: <15724934.eWR0Wdy2P9@wstn>

On Fri, Oct 31, 2014 at 12:16 PM, Peter Humphrey <peter@prh.myzen.co.uk> wrote:
>
> My grub-0.99 lets me choose from four kernels and two or three run levels at
> boot time, and grub-2 can't handle this yet, or it couldn't the last time I
> checked. I don't suggest that everyone has a similar need, but at least in
> some cases the old grub does still have a place.

I doubt that grub2-mkconfig can auto-generate configs with
permutations on runlevels, but if you build a manual config for grub2
I can't see why this would not work.  You're just changing your choice
of kernel and kernel parameters.

It certainly does let you pick from multiple kernels.  Grub2-mkconfig
also supports a recovery configuration for each kernel that can have
different options, which might or might not meet your need.  You could
also create your own module for grub2-mkconfig which does whatever you
want.

Or just use manual config files.  I was doing this at first with
grub2.  I ended up ditching it for the generic mkconfig script, since
it plays well with make install on kernels and dracut.  Before I used
to make the config static and just name my kernels k/k1/k2 or some
such, rotating through names as I updated.  That works, but was a
pain.  The biggest issue I ran into with mkconfig so far was that it
doesn't always handle mainline rc kernel sorting - you'll get an rc
kernel sorted above the release version and therefore made the
default.  I did file a bug about that, so hopefully it will get fixed
some day.

--
Rich


  parent reply	other threads:[~2014-10-31 17:53 UTC|newest]

Thread overview: 63+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-26 19:09 [gentoo-user] alternative kernels Alexander Kapshuk
2014-10-26 19:23 ` Canek Peláez Valdés
2014-10-26 19:40   ` Alexander Kapshuk
2014-10-26 20:20   ` Rich Freeman
2014-10-26 20:45     ` Canek Peláez Valdés
2014-10-26 20:33   ` Giuseppe Pappalardo
2014-10-26 19:41     ` Canek Peláez Valdés
2014-10-26 19:43       ` Canek Peláez Valdés
2014-10-26 20:56         ` Giuseppe Pappalardo
2014-10-26 19:47 ` Volker Armin Hemmann
2014-10-26 19:52   ` Alexander Kapshuk
2014-10-26 19:56   ` Alec Ten Harmsel
2014-10-26 20:16     ` Canek Peláez Valdés
2014-10-26 20:21       ` Alexander Kapshuk
2014-10-26 20:42         ` Alan McKinnon
2014-10-26 20:48           ` Alexander Kapshuk
2014-10-26 20:46         ` Canek Peláez Valdés
2014-10-26 20:49           ` Alexander Kapshuk
2014-10-26 21:01       ` Volker Armin Hemmann
2014-10-26 21:16         ` Canek Peláez Valdés
2014-10-26 23:18           ` Volker Armin Hemmann
2014-10-26 23:41             ` Canek Peláez Valdés
2014-10-27  1:12               ` wabenbau
2014-10-27  1:35               ` Alec Ten Harmsel
2014-10-27  1:54                 ` wabenbau
2014-10-29 19:08                   ` Matti Nykyri
2014-10-26 21:34         ` Rich Freeman
2014-10-26 21:10       ` Alec Ten Harmsel
2014-10-26 21:23         ` Canek Peláez Valdés
2014-10-26 21:48           ` Alan McKinnon
2014-10-26 23:25         ` Volker Armin Hemmann
2014-10-30  7:56       ` J. Roeleveld
2014-10-30 10:31         ` Rich Freeman
2014-10-31  6:30           ` J. Roeleveld
2014-10-31  6:37             ` Canek Peláez Valdés
2014-10-31  7:11               ` J. Roeleveld
2014-10-31  8:22                 ` Canek Peláez Valdés
2014-10-31  9:42                   ` Gregory Woodbury
2014-10-31 11:05                 ` Tanstaafl
2014-10-31 14:09                   ` J. Roeleveld
2014-10-31 16:16                     ` Peter Humphrey
2014-10-31 17:24                       ` Volker Armin Hemmann
2014-10-31 17:53                       ` Rich Freeman [this message]
2014-10-31 20:26                       ` Neil Bothwick
2014-11-01 11:19                         ` Peter Humphrey
2014-11-01 15:38                           ` Neil Bothwick
2014-11-01 17:19                             ` Peter Humphrey
2014-11-01 22:28                               ` Neil Bothwick
2014-11-02 13:14                                 ` Volker Armin Hemmann
2014-11-02 15:28                                   ` Neil Bothwick
2014-11-03  2:09                             ` Tom H
2014-11-03  8:36                               ` Neil Bothwick
2014-11-02 23:05                       ` Tom H
2014-11-03  0:46                         ` Peter Humphrey
2014-11-03  2:26                           ` Tom H
2014-10-31 22:09                 ` Tom H
2014-10-31 22:30                   ` Rich Freeman
2014-11-01  1:03                     ` Alec Ten Harmsel
2014-11-01  9:47                       ` Rich Freeman
2014-11-01 15:50                         ` Alec Ten Harmsel
2014-11-03  1:54                         ` Tom H
2014-11-03  1:40                       ` Tom H
2014-11-03  0:22                     ` Tom H

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGfcS_k3k83qNWKL_WwBWSWobsOj=LpCmonf8QxrSYFhOiL8JA@mail.gmail.com' \
    --to=rich0@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox