Dynamically Change boot order on Dual boot systems
Before I begin, please understand I am new to Linux having been forced into administering the RHEL 6.9 desktops in our organization.
We have approximately 600 dual boot (Windows 10/RHEL 6.9) systems in our environment, and we need to be able to systematically boot to Linux on a schedule so we can patch the machines -- Windows 10 is the default boot partition. We used to use Ext2FSD to mount the Linux partition in Windows 7 and send a new grub.conf file through SCCM, but Ext2FSD does not work in Windows 10 consistently (or at all, mostly).
I wonder if it would be possible to add an "if" type statement to the grub.conf file. For example, would it be possible to set a statement where, if the time and day is Wednesday between 1 a.m. and 4 a.m., then the default is Linux?
I found this option for Ubuntu, but could not seem to find equivilents for CentOS/RHEL: https://askubuntu.com/questions/317352/can-grub-be-scheduled-this-means-changing-default-entry-auto-login-at-defi
I would also be interested in any other suggestions anyone might have. Thanks in advance.
Responses