I assume you are not using KDE? Here you can reboot to a specified system/kernel if you add your bootloader to kdmrc.
Code:
# The boot manager KDM should use for offering boot options in the
# shutdown dialog.
# "None" - no boot manager
# "Grub" - Grub boot manager
# "Lilo" - Lilo boot manager (Linux on i386 & x86-64 only)
# Default is None
BootManager=Grub
This will run the grub command
Code:
grub> savedefault --default=x --once
Maybe you can write a script that does the job.
No idea about the lilo command, however.