Re: Question on booting other kernel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Thu, 14 Jan 2016 19:11, adrian@... 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.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux