Friday, April 11, 2014

x86: How to Locate the Active GRUB Menu and List Current Menu Entries

Use this procedure to determine the location of the active GRUB menu and to list current GRUB menu entries.

1.Become superuser or assume an equivalent role.

Roles contain authorizations and privileged commands.
2.To list the location of the active GRUB menu and current GRUB menu entries, type:



# bootadm list-menu

list-menu
Lists the location of the active GRUB menu, as well as the current GRUB menu entries. Information about the autoboot-timeout, the default entry number, and the title of each entry is included in this listing. Applies to x86 based systems only.


--------------------------------------------------------------------------------

Example : Listing the Location of the Active GRUB Menu and Current GRUB Menu Entries



# bootadm list-menu
The location for the active GRUB menu is: /stubboot/boot/grub/menu.lst
default=0
timeout=10
(0) Solaris10
(1) Solaris10 Failsafe
(2) Linux

--------------------------------------------------------------------------------

No comments:

Post a Comment