Goal: keep Whonix-Host ISO kernel boot parameters synchronized with Whonix-Host Installed with no manual code changes requires as kernel boot parameters change.
In both cases…
(isolinux -> chainload grub?)
/boot/grub/grub.cfg to keep kernel boot parameters of Whonix-Host in ISO mode in sync with Whonix-Host Installed?
What I mean by
- grub supports a feature similar to bash’s
Command: configfile file
Load file as a configuration file. If file defines any menu entries, then show a menu containing them immediately. Any environment variable changes made by the commands in file will not be preserved after configfile returns.
Command: source file
Read file as a configuration file, as if its contents had been incorporated directly into the sourcing file. Unlike configfile (see configfile), this executes the contents of file without changing context: any environment variable changes made by the commands in file will be preserved after source returns, and the menu will not be shown immediately.
Ideally grub.cfg runs “
isolinux.cfg -> chainboots grub -> “
source /boot/grub/grub.cfg” might not work as if. Might need to define device somehow.