Fun with Reboot!

Home -> UNIX -> Solaris -> System administration

11712 views

From the computer of: Dave (2 recipes)
Created: Oct 26, 2003


4 comments:
View all comments

Add a comment

Add to:
Add to stumbleuponAdd to del.icio.usDigg itAdd to FURL

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!

Subscribe to the Tech-Recipes Newsletter

You can get tips like this delivered in your email every week!

Enter your Email

We will never, ever sell your email address or spam you.




4 Recipe comments: View comments

Fun with Reboot! by Anonymous
Re: Fun with Reboot! by mmenache
Re: Fun with Reboot! by lordmac
Re: Fun with Reboot! by praxis22



Related recipes:

  ZFS: Unmount or take a filesystem offline
  Troubleshoot SCSI devices with probe-scsi-all
  If you screw up your /etc/system file ......
  Automatically answer yes to all fsck questions
  Set the ethernet MAC address in Solaris
  Solaris: Mount filesystem with UFS logging enabled
  Add swap space temporarily in Solaris
  Boot Solaris from CD-ROM to solve problems
  Simple Solaris BIND/DNS Server Setup with Failover
  Configure unique MAC addresses on multiple interfaces

 

Sponsored links

 

Login

Nickname

Password

Don't have an account yet? You can create one. As a registered user you have some advantages like theme manager, comments configuration and post comments with your name.