08/28/96, How To Use The Bootlist Command SPECIAL NOTICES Information in this document is correct to the best of our knowledge at the time of this writing. Please send feedback by fax to "AIXServ Information" at (512) 823-4009. Please use this information with care. IBM will not be responsible for damages of any kind resulting from its use. The use of this information is the sole responsibility of the customer and depends on the customer's ability to eval- uate and integrate this information into the customer's operational environment. +----------------------------------------------------------+ | | | NOTE: The information in this document has NOT been | | verified for AIX 4.1. | | | +----------------------------------------------------------+ ABOUT THIS DOCUMENT This document contains examples on the following topics: For the service boot list, how to: o View o Invalidate o Set to Tape Only o Reset to Default For the normal boot list, how to: o View o Invalidate o Set to scdisk Only For the service or normal boot list, how to: Display/Alter/Erase With diag This document applies to AIX 3.1 and 3.2. How To Use The Bootlist Command 1 08/28/96, FOR THE SERVICE BOOT LIST o To view the service boot list, run the following command: bootlist -m service -r Example output: ------------------- SERVICE IPLIST at address 0xa00278 ---- 57 52 2 47 46 2 47 54 2 47 W R - G F - G T - G 43 2 47 4b 2 47 49 0 0 0 C - G K - G I - - - 0 0 0 0 0 0 0 0 0 0 - - - - - - - - - - Explanation of the output: The "57 52" is at the start of the Service list. The "2" is how many HEX bytes for the next field. The "47 46" is the group for diskette (fd). The "2" is how many HEX bytes for the next field. The "47 54" is the group for tape (rmt). The "2" is how many HEX bytes for the next field. The "47 43" is the group for CDROM (cd). The "2" is how many HEX bytes for the next field. The "47 4b" is Bus Attached Disk (badisk) The "2" is how many HEX bytes for the next field. The "47 49" is the SCSI Disk (scdisk). o To invalidate the service boot list, enter this command: bootlist -m service -i o To set the service boot list to tape only, enter this command: bootlist -m service rmt o To set the service boot list back to the default, enter this command: bootlist -m service fd rmt cd badisk scdisk FOR THE NORMAL BOOT LIST o To view the normal boot list, enter this command: bootlist -m normal -r Example output: ------------------- NORMAL IPLIST at address 0xa00224 ----- 4a 4d 2 47 49 0 0 5 26 5a J M - V - - - - Z - c6 39 76 0 0 0 0 0 0 0 9 v - - - - - - - - Explanation of the output: The "4a 4d" is at the start of the Normal Boot List. The "2" is how many HEX bytes for the next field. The "47 49" is the SCSI Disk (scdisk). Then there are two zeroes, "0 0", followed by the pv_id of the boot disk, "5265ac63976". To determine which disk has the above pv_id, run: How To Use The Bootlist Command 2 08/28/96, lspv Example output: hdisk0 000005265ac63976 rootvg hdisk1 00005264d21adb2e rootvg Notice that, in this example, the pv_id from the bootlist output matches the pv_id for hdisk0 (leading zeroes ignored). o To invalidate the normal boot list, enter this command: bootlist -m normal -i o To set the normal boot list to scdisk only, enter this command: bootlist -m normal scdisk FOR THE SERVICE OR NORMAL BOOT LIST o To display/alter/erase the boot list with the "diag" command: 1. Enter the "diag" command. 2. Press Enter again. 3. Choose "Service Aid". 4. Page down twice. Then choose "Display/Alter Bootlist". 5. Choose either "Normal mode bootlist" or "Service mode bootlist". 6. With either choice above, you will see these three options: Display Current bootlist Alter Current bootlist Erase Current bootlist Choose the appropriate option for what you want to do. If you get the message: bootlist is not properly initialized after choosing Display or Alter, then the boot list cannot be displayed or altered. You can recreate the boot list by choosing Erase and then Alter. How To Use The Bootlist Command 3 08/28/96, READER'S COMMENTS Please fax this form to (512) 823-4009, attention "AIXServ Informa- tion". You may also e-mail comments to: elizabet@austin.ibm.com. These comments should include the same customer information requested below. Use this form to tell us what you think about this document. If you have found errors in it, or if you want to express your opinion about it (such as organization, subject matter, appearance) or make sug- gestions for improvement, this is the form to use. If you need technical assistance, contact your local branch office, point of sale, or 1-800-CALL-AIX (for information about support offer- ings). These services may be billable. Faxes on a variety of sub- jects may be ordered free of charge from 1-800-IBM-4FAX. Outside the U.S. call 415-855-4329 using a fax machine phone. When you send comments to IBM, you grant IBM a nonexclusive right to use or distribute your comments in any way it believes appropriate without incurring any obligation to you. NOTE: If you have a problem report or item number, supplying that number may help us determine why a procedure did or did not work in your specific situation. Problem Report or Item #: Branch Office or Customer #: Be sure to print your name and fax number below if you would like a reply: Name: Fax Number: ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ ______________________________________________________________________ END OF DOCUMENT (bootlist.krn,) How To Use The Bootlist Command 4