[CentOS] Re: Question on booting other kernel
Yamaban
foerster at lisas.de
Thu Jan 14 18:47:33 UTC 2016
On Thu, 14 Jan 2016 19:11, adrian at ... wrote:
> 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
C7 uses grub2:
look at the man-pages of these:
grub2-set-default
grub2-editenv
grub2-reboot
grub2-once
Either grub2-set-default or direct via grub2-reboot
with the needed params.
- Yamaban.
More information about the CentOS
mailing list