grub-devel.gnu.org archive mirror
 help / color / mirror / Atom feed
From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: grub-devel@gnu.org
Subject: Re: How to pick a kernel to boot ?
Date: Fri, 25 Oct 2013 10:14:41 +0200	[thread overview]
Message-ID: <526A2871.1000001@gmail.com> (raw)
In-Reply-To: <alpine.LFD.2.00.1310241641560.21353@localhost.localdomain>

[-- Attachment #1: Type: text/plain, Size: 1049 bytes --]

On 24.10.2013 16:46, Lukáš Czerner wrote:
> Hi,
> 
> I have a simple question about grub2 which I can not find satisfying
> answer to.
> 
> What is a proper way to pick a kernel to boot from in case I have
> multiple kernels installed ? Note that picking the right kernel from
> the menu is not an option I do not always have access to the
> console.
> 
> With grub legacy, this was easy. Simply edit
> 
>  /boot/grub/menu.lst
> 
> and pick the right number. All the information I need are in that
> file.
> 
> So what is a recommended way to do this with grub2 ?
> 
You can use numbers but it's a bad idea since they change on update. Use
ids As you see in menuentry:
menuentry ... $menuentry_id_option
'gnulinux-simple-000000000000000000000000000000'
Or
menuentry ... --id 'gnulinux-simple-000000000000000000000000000000'

> 
> Thanks!
> -Lukas
> 
> _______________________________________________
> Grub-devel mailing list
> Grub-devel@gnu.org
> https://lists.gnu.org/mailman/listinfo/grub-devel
> .
> 



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 291 bytes --]

      parent reply	other threads:[~2013-10-25  8:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-24 14:46 How to pick a kernel to boot ? Lukáš Czerner
2013-10-24 16:44 ` Lennart Sorensen
2013-10-24 17:46   ` Prarit Bhargava
2013-10-25  8:14 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]

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=526A2871.1000001@gmail.com \
    --to=phcoder@gmail.com \
    --cc=grub-devel@gnu.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;
as well as URLs for NNTP newsgroup(s).