You are not logged in.

#1 2013-08-27 20:08:05

uwedamm
Member
Registered: 2013-08-27
Posts: 3

Reboot from ICEWM, automatically starting other operating system?

Hello together,

I want to setup some button in ICEWM, which would reboot the computer to another operating system
(using syslinux)

Is that possible? Where can I find some documentation, which would help me to do that?

thank you

Uwe

Offline

#2 2013-08-28 09:23:33

thegala
Member
Registered: 2013-08-27
Posts: 16

Re: Reboot from ICEWM, automatically starting other operating system?

You can make a script that change default syslinux OS in syslinux.cfg.

DEFAULT your_OS

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.

Doc:you can find all at arch wiki
https://wiki.archlinux.org/index.php/Syslinux
https://wiki.archlinxu.org/index.php/IceWM


Scio me nihil scire

Offline

#3 2013-08-28 09:42:37

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: Reboot from ICEWM, automatically starting other operating system?

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


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#4 2013-08-28 21:21:02

uwedamm
Member
Registered: 2013-08-27
Posts: 3

Re: Reboot from ICEWM, automatically starting other operating system?

@thegala,
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

@progandy
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 --version
> syslinux 4.07  Copyright 1994-2013 H. Peter Anvin et al

by the way: many thanks for the feedback!

Offline

#5 2013-08-28 21:45:21

progandy
Member
Registered: 2012-05-17
Posts: 5,190

Re: Reboot from ICEWM, automatically starting other operating system?

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)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#6 2013-08-29 18:47:08

uwedamm
Member
Registered: 2013-08-27
Posts: 3

Re: Reboot from ICEWM, automatically starting other operating system?

many many thanx!!! works perfect, now I have got a button to reboot2win

best regards
Uwe

Offline

Board footer

Powered by FluxBB