I want to execute a script in Syslinux. Is this possible?
To be more specific: I want to write a one-time-windows-boot-script that does the following:
- reboot into windows,
- on the next reboot: reboot into Linux.
I thought, this should be possible by writing for (1) a script that sets my Windows partition as default in syslinux.cfg and for (2) a script that sets the Linux partition as default again.
As far as I understand Syslinux, I can only set options in the configuration but not execute scripts.. would something like this be possible with Syslinux or another bootmanager?
PS: I intent to use this with MBR.