Change GRUB's variable using a C language [closed]
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed last year . I was wondering if there is any way for me to write a C program to change the value off GRUB's variables. I need to write a program that can reboot my computer on another OS, for example : I am on Suse disk1 program changes GRUB's variable and reboot automatically. I am on Suse disk2 I would like to access