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
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.