[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to pick a kernel to boot ?
From: |
Vladimir 'φ-coder/phcoder' Serbinenko |
Subject: |
Re: How to pick a kernel to boot ? |
Date: |
Fri, 25 Oct 2013 10:14:41 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 |
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
> address@hidden
> https://lists.gnu.org/mailman/listinfo/grub-devel
> .
>
signature.asc
Description: OpenPGP digital signature