I want to setup some button in ICEWM, which would reboot the computer to another operating system
Is that possible? Where can I find some documentation, which would help me to do that?
You can make a script that change default syslinux OS in syslinux.cfg.
You can execute that script with ICEWM from toolbar launcher.
But this is really unnecessary becasue you can select OS in syslinux menu at boot.
Scio me nihil scire
You don't change the syslinux config. You should use the syslinux binary (.exe on Windows) to set --once or --menu-save. (man syslinux) For the latter see the section menu save in /usr/share/doc/syslinux/menu.txt
changing the syslinux.cfg is quit a nice idea, it works fine in the one direction, but currently I cannot access my linux partition from windows system so the way back is not possible
sudo syslinux --once arch /dev/sdasudo syslinux --once arch /dev/sda
gives the following error message:
> At least one specified option not yet implemented for this installer.
Have you got an idea
> syslinux 4.07 Copyright 1994-2013 H. Peter Anvin et al
by the way: many thanks for the feedback!
Arch installs extlinux by default (if you used syslinux-install_update), so this should work:
sudo extlinux --once arch /boot/syslinux
Edit: If you want to modify this setting from windows, you'll have to do take those bits of code from extlinux and make a windows executable. Then mount your boot partition with ext2fsd and have fun.
Last edited by progandy (2013-08-28 21:59:35)
many many thanx!!! works perfect, now I have got a button to reboot2win