I'm installing a remote system over pxe+ssh - once the ssh access is ready, how do I reboot? Note, this is _before_ even starting yast or the installation. I simply want to rerun the bootup, starting with PXE.
When I try 'reboot' I get this:
box02:~ # reboot WARNING: could not determine runlevel - doing soft reboot (it's better to use shutdown instead of reboot from the command line) shutdown: /dev/initctl: No such file or directory shutdown: cannot execute /sbin/init shutdown: /dev/initctl: No such file or directory box02:~ # Broadcast message from root@pi02 (pts/0) (Fri Feb 4 12:17:02 2011):
The system is going down for reboot NOW!
box02:~ #
But nothing happens. 'shutdown' also doesn't work.
On Sat, 05 Feb 2011, 12:23:40 +0100, Per Jessen wrote:
I'm installing a remote system over pxe+ssh - once the ssh access is ready, how do I reboot? Note, this is _before_ even starting yast or the installation. I simply want to rerun the bootup, starting with PXE.
When I try 'reboot' I get this:
box02:~ # reboot WARNING: could not determine runlevel - doing soft reboot (it's better to use shutdown instead of reboot from the command line) shutdown: /dev/initctl: No such file or directory shutdown: cannot execute /sbin/init shutdown: /dev/initctl: No such file or directory box02:~ # Broadcast message from root@pi02 (pts/0) (Fri Feb 4 12:17:02 2011):
The system is going down for reboot NOW!
box02:~ #
But nothing happens. 'shutdown' also doesn't work.
If /proc is still mounted, the following sequence should achieve what you want:
echo "b" > /proc/sysrq-trigger
HTH, cheers.
l8er manfred
Manfred Hollstein wrote:
On Sat, 05 Feb 2011, 12:23:40 +0100, Per Jessen wrote:
I'm installing a remote system over pxe+ssh - once the ssh access is ready, how do I reboot? Note, this is _before_ even starting yast or the installation. I simply want to rerun the bootup, starting with PXE.
When I try 'reboot' I get this:
box02:~ # reboot WARNING: could not determine runlevel - doing soft reboot (it's better to use shutdown instead of reboot from the command line) shutdown: /dev/initctl: No such file or directory shutdown: cannot execute /sbin/init shutdown: /dev/initctl: No such file or directory box02:~ # Broadcast message from root@pi02 (pts/0) (Fri Feb 4 12:17:02 2011):
The system is going down for reboot NOW!
box02:~ #
But nothing happens. 'shutdown' also doesn't work.
If /proc is still mounted, the following sequence should achieve what you want:
echo "b" > /proc/sysrq-trigger
thanks, I forgot about that one - it's the same as Ctrl-Alt-Sysrq ?
On Sat, 05 Feb 2011, 15:48:00 +0100, Per Jessen wrote:
Manfred Hollstein wrote:
On Sat, 05 Feb 2011, 12:23:40 +0100, Per Jessen wrote:
I'm installing a remote system over pxe+ssh - once the ssh access is ready, how do I reboot? Note, this is _before_ even starting yast or the installation. I simply want to rerun the bootup, starting with PXE.
When I try 'reboot' I get this:
box02:~ # reboot WARNING: could not determine runlevel - doing soft reboot (it's better to use shutdown instead of reboot from the command line) shutdown: /dev/initctl: No such file or directory shutdown: cannot execute /sbin/init shutdown: /dev/initctl: No such file or directory box02:~ # Broadcast message from root@pi02 (pts/0) (Fri Feb 4 12:17:02 2011):
The system is going down for reboot NOW!
box02:~ #
But nothing happens. 'shutdown' also doesn't work.
If /proc is still mounted, the following sequence should achieve what you want:
echo "b" > /proc/sysrq-trigger
thanks, I forgot about that one - it's the same as Ctrl-Alt-Sysrq ?
yep.
Cheers.
l8er manfred