Displaying 3 results from an estimated 3 matches for "editenv".
Did you mean:
edited
2016 Jan 14
1
Question on booting other kernel
Hi,
In CentOS6 I do:
echo "savedefault --default=0 --once" | grub --batch
My question is how do I do the same on CentOS7?
Any ideas?
Adrian
--
Adri P. van Bloois
Antonlaan 104 email: adrian at pa0rda.nl
3701 VG Zeist voice: +31-(0)-30-6912741
The Netherlands fax: NONE
52 05'15.77"N 5 4'44.56"E
QTH-locater JO 22 OC
"Elegance is not a dispensable
2023 Mar 14
1
Kernel updates do not boot - always boots oldest kernel
...160.83.1.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-1160.81.1.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-1160.76.1.el7.x86_64) 7 (Core)
CentOS Linux (3.10.0-1160.36.2.el7.x86_64) 7 (Core)
CentOS Linux (0-rescue-a39773847cf34651bc34d02222566f53) 7 (Core)
indicating that .88.1 should boot.
sudo grub2-editenv list
gives:
saved_entry=CentOS Linux (3.10.0-1160.88.1.el7.x86_64) 7 (Core)
also as expected.
/etc/default/grub exists and contains
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTP...
2020 Apr 08
5
C8.1 Grub problem
Il 08/04/20 01:46, Jonathan Billings ha scritto:
> On Apr 7, 2020, at 04:14, Alessandro Baggi <alessandro.baggi at gmail.com> wrote:
>> thank you for your explanation. So in el8 grubby should be used to update kernel opts and grub2-mkconfig is used to generate an initial config.
>>
>> If I'm not wrong, grubby updates every single (sperated) entries on