Tag Archives: shutdown

How to fix a broken /sbin/reboot which powers off instead of reboots on openpogo

After getting my Seagate Dockstar, I experimented with installing openpogo and plugbox linux. In my attempt to install plugbox linux after I installed openpogo, and then installing openpogo over the plugbox installation, I succeeded in breaking my reboot command. Instead of a reboot when typing /sbin/reboot, the dockstar would just power off and I would have to unplug and reinsert the power plug back into the dockstar for it to power back on.

After some searching, I found that plugbox linux changes up the boot parameters using blparam. I figured that the /sbin/reboot was indeed working fine, but it would just freak out when trying to check for installed linux kernels on attached USB storage devices upon reboot. Reverting to the original bootload parameter worked for me and fixed /sbin/reboot so I didnt have to power cycle the unit by physically pulling the plug.

I didnt find this command easily by searching how to fix a broken reboot command so I figured I would post it on my blog for others who may run into the same problem.

To fix /sbin/reboot, SSH into your device, enable rw access to the file system and enter in:

/usr/local/cloudengines/bin/./blparam ‘bootcmd=run bootcmd_original’

you should be able to issue an /sbin/reboot and have it reboot like normal!