Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #197993 > unrolled thread
| Started by | "Reiner Buehl" <reiner@buehl.net> |
|---|---|
| First post | 2018-07-25 20:00 +0200 |
| Last post | 2018-07-26 10:30 +0200 |
| Articles | 3 — 3 participants |
Back to article view | Back to linux.debian.user
Re: Re: Select between 686-pae and amd64 kernel in Grub? "Reiner Buehl" <reiner@buehl.net> - 2018-07-25 20:00 +0200
Re: Re: Select between 686-pae and amd64 kernel in Grub? Andy Smith <andy@strugglers.net> - 2018-07-26 03:00 +0200
Re: Select between 686-pae and amd64 kernel in Grub? floris <jkfloris@dds.nl> - 2018-07-26 10:30 +0200
| From | "Reiner Buehl" <reiner@buehl.net> |
|---|---|
| Date | 2018-07-25 20:00 +0200 |
| Subject | Re: Re: Select between 686-pae and amd64 kernel in Grub? |
| Message-ID | <wfweR-8n2-5@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
Many thanks, Floris! With your expression I now see the other options:
bilbo:~# awk -F"'" '/menuentry/ {print $2}' /boot/grub/grub.cfg
Debian GNU/Linux
Advanced options for Debian GNU/Linux
Debian GNU/Linux, with Linux 4.9.0-7-686-pae
Debian GNU/Linux, with Linux 4.9.0-7-686-pae (sysvinit)
Debian GNU/Linux, with Linux 4.9.0-7-686-pae (recovery mode)
Debian GNU/Linux, with Linux 4.9.0-7-amd64
Debian GNU/Linux, with Linux 4.9.0-7-amd64 (sysvinit)
Debian GNU/Linux, with Linux 4.9.0-7-amd64 (recovery mode)
Debian GNU/Linux, with Linux 4.9.0-6-686-pae
Debian GNU/Linux, with Linux 4.9.0-6-686-pae (sysvinit)
Debian GNU/Linux, with Linux 4.9.0-6-686-pae (recovery mode)
Debian GNU/Linux, with Linux 4.9.0-5-686-pae
Debian GNU/Linux, with Linux 4.9.0-5-686-pae (sysvinit)
Debian GNU/Linux, with Linux 4.9.0-5-686-pae (recovery mode)
Do you know if just specifying "Debian GNU/Linux, with Linux 4.9.0-7-amd64"
as option to grub-set-default is enough or do I need to somehow "navigate"
into the "Advanced options for Debian GNU/Linux" sub menu?
Best regards,
Reiner
[toc] | [next] | [standalone]
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Date | 2018-07-26 03:00 +0200 |
| Message-ID | <wfCNk-4bL-9@gated-at.bofh.it> |
| In reply to | #197993 |
Hello,
On Wed, Jul 25, 2018 at 07:51:11PM +0200, Reiner Buehl wrote:
> bilbo:~# awk -F"'" '/menuentry/ {print $2}' /boot/grub/grub.cfg
>
> Debian GNU/Linux
>
> Advanced options for Debian GNU/Linux
[…]
> Debian GNU/Linux, with Linux 4.9.0-7-amd64
>
> Debian GNU/Linux, with Linux 4.9.0-7-amd64 (sysvinit)
>
> Debian GNU/Linux, with Linux 4.9.0-7-amd64 (recovery mode)
> Do you know if just specifying "Debian GNU/Linux, with Linux 4.9.0-7-amd64"
> as option to grub-set-default is enough or do I need to somehow "navigate"
> into the "Advanced options for Debian GNU/Linux" sub menu?
I've never actually tried setting the menu entry name alone, instead
have always specified the full path, like:
# grub-set-default 'Advanced options for Debian GNU/Linux>Debian GNU/Linux, with Linux 4.9.0-7-amd64'
Cheers,
Andy
[toc] | [prev] | [next] | [standalone]
| From | floris <jkfloris@dds.nl> |
|---|---|
| Date | 2018-07-26 10:30 +0200 |
| Message-ID | <wfJON-iK-13@gated-at.bofh.it> |
| In reply to | #197993 |
Reiner Buehl schreef op 2018-07-25 19:51:
> Many thanks, Floris! With your expression I now see the other options:
>
> bilbo:~# awk -F"'" '/menuentry/ {print $2}' /boot/grub/grub.cfg
>
> Debian GNU/Linux
>
> Advanced options for Debian GNU/Linux
>
> Debian GNU/Linux, with Linux 4.9.0-7-686-pae
>
> Debian GNU/Linux, with Linux 4.9.0-7-686-pae (sysvinit)
>
> Debian GNU/Linux, with Linux 4.9.0-7-686-pae (recovery mode)
>
> Debian GNU/Linux, with Linux 4.9.0-7-amd64
>
> Debian GNU/Linux, with Linux 4.9.0-7-amd64 (sysvinit)
>
> Debian GNU/Linux, with Linux 4.9.0-7-amd64 (recovery mode)
>
> Debian GNU/Linux, with Linux 4.9.0-6-686-pae
>
> Debian GNU/Linux, with Linux 4.9.0-6-686-pae (sysvinit)
>
> Debian GNU/Linux, with Linux 4.9.0-6-686-pae (recovery mode)
>
> Debian GNU/Linux, with Linux 4.9.0-5-686-pae
>
> Debian GNU/Linux, with Linux 4.9.0-5-686-pae (sysvinit)
>
> Debian GNU/Linux, with Linux 4.9.0-5-686-pae (recovery mode)
>
> Do you know if just specifying "Debian GNU/Linux, with Linux
> 4.9.0-7-amd64" as option to grub-set-default is enough or do I need to
> somehow "navigate" into the "Advanced options for Debian GNU/Linux"
> sub menu?
>
> Best regards,
>
> Reiner
From grub-set-default --help
Usage: grub-set-default [OPTION] MENU_ENTRY
MENU_ENTRY is a number, a menu item title or a menu item identifier.
Specifying "Debian GNU/Linux, with Linux 4.9.0-7-amd64" should be
enough.
---
Floris
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web