[syslinux] Alternating boot default entry every reboot

Brendon Costa brendon.j.costa at gmail.com
Thu Oct 6 21:54:48 PDT 2016

On 7 October 2016 at 15:41, james harvey <jamespharvey20 at gmail.com> wrote:

> y this into a systemd .service file which would auto-run
> after boot.  You wouldn't need sudo anymore, and you wouldn't want the
> reboot command or it would auto reboot during the boot

Thanks for the quick reply!

My understanding of that script above is that it will edit the cfg file
permanently until modified a second time. Unfortunately this wont work for

It will work when I boot into clonezilla which uses Linux as it can modify
the script, but when the second menu entry boots it will boot windows which
cant easily make this change :-( which is why i need syslinux to make the
change for me.

The other option I am looking into right now is using syslinux to always
chainboot to grub on the USB and see if that will work.

More information about the Syslinux mailing list