05/30/95 Using bootlist in Maintenance Mode in AIX 3.1 or 3.2 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. | | | +----------------------------------------------------------+ REASONS YOU MAY NEED TO RUN THE BOOTLIST COMMAND You may need to run the bootlist command if the RISC System/6000 hangs on an alternating LED 223/229, alternating LED 225/229, alternating LED 233/235, alternating LED 221/229, solid LED 221, or solid LED 721 in AIX 3.1 or AIX 3.2 during boot up. These LEDs indicate that the system cannot locate the boot image. Other situations may also require that the bootlist command be run. If the bootlist command needs to be run, follow the steps below. STEPS 1. Turn the key to the Service position. 2. While booting from the hard disk, watch for the light on the diskette drive. When you see the light, turn the key to Normal position. 3. If the machine boots successfully and gives you a login prompt, LOG IN AS ROOT AND GO TO STEP 10 ON PAGE 3 . If the machine does not boot successfully, continue with step 4. 4. If the machine did not boot successfully with the pre- vious method, you will need to boot in maintenance mode. To do this, turn the key to the Service position. 5. With BOSboot or installation media OF THE SAME VERSION AND LEVEL AS THE OPERATING SYSTEM, boot the system. Using bootlist in Maintenance Mode in AIX 3.1 or 3.2 1 05/30/95 +----------------------------------------------------------+ | | | WARNING: If you boot a 3.2 system with 3.1 media, or | | boot a 3.1 system with 3.2 media, then you will not be | | able to use the standard scripts (getrootfs or | | /etc/continue) to bring your workstation into full main- | | tenance mode. | | | | Moreover, performing the scripts on a 3.1 system with | | 3.2 boot media may actually remove some files and | | prevent your system from booting successfully in normal | | mode until missing files (/etc/mount and /etc/umount) | | are replaced on the disk. | | | +----------------------------------------------------------+ NOTES: a. For information on BOSboot diskettes, refer to InfoExplorer or order fax #2462 from 1-800-IBM-4FAX (or 415-855-4FAX outside the U.S. from a fax machine phone). b. If booting from diskettes, when you see LED c07, insert the next diskette. This may be the optional display extensions diskette (required for AIX 3.2.5) or the display diskette. c. If you have AIX 3.2.5, used a fddi network install, and selected that option for the install device, you will need the communications extensions diskette. If this diskette is not available, you can build it from another system with fddi installed or call your branch office for assistance. Follow the prompts to the installation/maintenance menu. 6. Choose the maintenance shell (option 5 for AIX 3.1, option 4 for AIX 3.2). 7. Determine the hdisk# to use with the getrootfs or /etc/continue command. If you have only one disk, then "hdisk0" is the proper hdisk# to use. If you have more than one disk, do the following: o FOR AIX 3.2.4 OR LATER: Run getrootfs The output indicates the disk that should be used with getrootfs in the next step. o FOR AIX 3.1 TO 3.2.3E: Run lqueryvg -Atp hdisk# | grep hd5 Using bootlist in Maintenance Mode in AIX 3.1 or 3.2 2 05/30/95 for each hdisk# (hdisk0, hdisk1, etc.) until you get output that looks like: 00005264feb3631c.2 hd5 1 The exact output you get will be different but will follow the form large_number.x hd5 1 You may find more than one disk has this output. These will all be disks which belong to the rootvg volume group. You may use any of the disks identi- fied to be in rootvg in the following step. 8. Now access the fixed disk that contains the boot logical volume (hd5) by running /etc/continue (for AIX 3.1) or getrootfs (for AIX 3.2). ('#' is the number of the fixed disk, determined in step 7 on page 2.) For AIX 3.1 only, run /etc/continue hdisk# For AIX 3.2 only, run getrootfs hdisk# If you get errors from /etc/continue or getrootfs, do not continue with the rest of this procedure. Correct the problem causing the error. If you need assistance correcting the problem causing the error, contact one of the following: o local branch office o your point of sale o 1-800-CALL-AIX (to register for fee-based services) All of the above avenues for assistance may be billable. 9. For AIX 3.2.4 or greater, enter the following command: ODMDIR=/dev/objrepos 10. Determine which disk is the boot disk with the lslv command. The boot disk will be shown in the PV1 column of the lslv output. lslv -m hd5 11. Use the bootlist command to rebuild the boot list. ("#" is the number of the fixed disk, determined with the previous command.) bootlist -m normal hdisk# 12. With the key in Normal position, shutdown and reboot. shutdown -Fr Using bootlist in Maintenance Mode in AIX 3.1 or 3.2 3 05/30/95 13. If running the bootlist command did not fix the problem and you need further assistance, contact one of the fol- lowing: o local branch office o your point of sale o 1-800-CALL-AIX (to register for fee-based services) All of the above avenues for assistance may be billable. Using bootlist in Maintenance Mode in AIX 3.1 or 3.2 4 05/30/95 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: ______________________________________________________________________ END OF DOCUMENT (fix.bootlist.krn, 4FAX# 1470) Using bootlist in Maintenance Mode in AIX 3.1 or 3.2 5