How to Fast Reboot a System to a Specific GRUB Entry

Other Fast Reboot feature enhancements that were introduced in the OpenSolaris 2010.03 release include the capability for fast rebooting a system to the n th GRUB entry and the ability to fast reboot a system to a newly-activated boot environment (BE).

Note the you must be the root user or assume an equivalent role to perform the following tasks.

1. To fast reboot a system to the n th entry, first use the bootadm list-menu command to list all of the available BEs on the system:

# bootadm list-menu
    the location for the active GRUB menu is: /rpool/boot/grub/menu.lst
    default 0
    timeout 10
    0 snv_111
    1 snv_111 Solaris xVM
    2 snv_111 failsafe
    3 zfsbe2
    4 zfsbe2 Solaris xVM
    5 zfsbe2 failsafe

2. Then, to reboot a specific GRUB boot entry, use the reboot n command, where n is the number of the BE that you want to boot.

For example, to fast reboot the system to zfsbe2, you would type:

# reboot 3

3. To fast reboot a newly-activated BE, first activate the BE, then reboot to it, as shown in the following example:

# beactivate opensolaris-4
# reboot

For more information:

Labels

osoladmin osoladmin Delete
fastreboot fastreboot Delete
task task Delete
starting starting Delete
smallsiteadmin smallsiteadmin Delete
singleadmin singleadmin Delete
largesiteadmin largesiteadmin Delete
sundoc sundoc Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

Sign up or Log in to add a comment or watch this page.


The individuals who post here are part of the extended Sun Microsystems community and they might not be employed or in any way formally affiliated with Sun Microsystems. The opinions expressed here are their own, are not necessarily reviewed in advance by anyone but the individual authors, and neither Sun nor any other party necessarily agrees with them.

Copyright 1994-2009 Sun Microsystems, Inc.
Powered by Atlassian Confluence
Sun Guidelines on Public Discourse Privacy Policy Terms of Use Trademarks Site Map Employment Investor Relations Contact