Fun with Reboot!

Contributor Icon Contributed by Dave Date Icon October 26, 2003  
Tag Icon Tagged: Solaris system administration

Need to reconfiure boot a system, but can’t (or don’t want to) get to the console? Jumpstart a client without physically having to reboot and then Stop-A from the console? No problem! Let ‘reboot’ take care of it for you!


Passing options is to ‘reboot’ is easy with the “–” switch. You can use it to pass boot options just like you were at the console:

To reconfigure-boot a system from over the network:
1. Log in, become root
2. root@yourbox# reboot — -r

Which is equal to running a reboot, Stop-A, boot -r from the console!

To jumpstart a client is a little trickier, but easy still!
1. Log in, become root
2. root@yourbox# reboot — “net – install”

…and the client will jump! It’s just like walking to the console, becoming root, rebooting, Stop-A, and running a ‘boot net – install’. It’s that easy!

Previous recipe | Next recipe |
 
  • Anonymous
    An better way to do a reconfig reboot is to "touch /reconfigure" and run your favorite graceful reboot command(shutdown or init 6)
  • Anonymous
    <ul id="quote"><h6>Anonymous wrote:</h6>An better way to do a reconfig reboot is to "touch /etc/reconfigure" and run your favorite graceful reboot command(shutdown or init 6)</ul>

    *** make sure the reconfigure file is located in the /etc dir
  • lordmac
    mmenache you are wrong. The "reconfigure" file should be placed in root directory /.

    My tip:
    Try "devfsadm -v" instead of reboot - in most cases it works fine with hotplug hardware.
  • Anonymous
    reboot -- -r
blog comments powered by Disqus