4.4. How to use PALO at early boot stage ?4.4.1. The theoryYou have setup everything, rebooted your box, and suddendly you want to change something to the kernel boot arguments, or even boot another kernel. Damn it ! How could you, now that the box is booting ? Well, stay calm and relax, we have the solution ! First, you must learn how to interact with PALO during the startup sequence. You have to enter BOOT_ADMIN, as explained in Section 3.1.1. For some old models (up to 712 or so), you must add the ipl (or isl) string to your boot command in the BOOT_ADMIN console :
You just have to enter the number corresponding to the parameter you want to change. Hit ENTER, modify it and validate the changes by hiting ENTER again. The system will redisplay the new list. This modification is not permanent ! To save your changes, you will have to run /sbin/palo when your system will be up and running, and it will write on the disk all the parameters contained in the default file, (/etc/palo.conf), which you will have properly modified if needed. If you want to add a supplementary parameter, select any one and write yours on the editing line, beginning with a space :
For more informations about PALO, please take look at the PALO readme. This section is mostly inspired from Paul Bame's file as well as the page about PALO you can find at http://pateam.esiee.fr/palo.html. 4.4.2. A complete exampleThis example has been suggested by Michael Damaschke. So, let's go for the story of the happy PA/Linux user booting a kernel, also called "I don't know how to configure my workstation to use the kernel I want during boot sequence !". After switching your workstation and monitor on, a message on the screen will tell you that the workstation is about to start automatically the boot sequence, except if you hold the Esc key to stop the auto-booting. This is a very difficult step : you must hold the Esc key down ;o)
There are few differences about the way to get access to BOOT_ADMIN (see Section 3.1.1). If you have an old box, you will get an information message displayed, where the workstation's firmware tells you that it will start searching for all bootable devices, or that you can break this by holding down the Esc key. This is the same procedure as before, you must press the Esc key. You might then get a menu where you must press the a-key followed by ENTER-key. You are now facing the deadly 'BOOT_ADMIN>' prompt :^). First, we will turn off auto boot process by entering the following lines :
then hit the ENTER key. After that, you must tell the system from which boot device you would like to boot. If it's a hard drive, it must have a 'f0' partition at the beginning (see Chapter 5). In this example, the old kernel is vmlinux and the new one is vmlinux-2.4.17-pa3. The chosen SCSI boot device is designed by : SCSI.X.0, where X is the SCSI-ID of the disk you want to boot from. e.g.
At the end of the previous command line, you must add the IPL token if you have a HP 9000/7xx system to specify that you want to interact with IPL. If you have a more recent hardware, the system will ask if you want to interact with IPL anyway :
Here is the complete session log of a A500 serial console output :
That's it ! PALO has no more secrets for you :-)
Linux HOWTO full list |
|
This document, LDP HOWTO-INDEX, is copyrighted (c) 1995 - 2002 by Tim Bynum, Guylhem Aznar, Joshua Drake and Greg Ferguson. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.1 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is available at http://www.gnu.org/copyleft/fdl.html. If you have questions, please contact the LDP.
Web Design Copyright © 1999-2003. Chrisranjana Software Solutions Pvt Ltd. syndicate rss feed |