How to Creating and Booting a New Kernel With autoconfig
发表于:2007-05-26来源:作者:点击数:
标签:
IwillpostsometechtipaboutIrix,hopeitwillbeusefultoeveryone. Tobuildanewkernelafterreconfiguringthesystem,followthesesteps: 1.Becomethesuperuserbygivingthecommand: su 2.Makeacopyofyourcurrentkernelwiththecommand: cp/unix/unix.save 3.Givethe
I will post some tech tip about Irix , hope it will be useful to everyone.
To build a new kernel after reconfiguring the system, follow these steps:
1. Become the superuser by giving the command:
su
2. Make a copy of your current kernel with the command:
cp /unix /unix.save
3. Give the command:
/etc/autoconfig -f
This command creates a new kernel and places it in the file /unix.install.
4. Reboot your system with the command:
reboot
Caution: When you issue the reboot command, the system overwrites the current kernel
(/unix) with the kernel you have just created (/unix.install). This is why you should always
copy the current kernel to a safe place before rebooting.
Recovering From an Unbootable Kernel
1. If the system fails to reboot, try to reboot it again. If it still fails, inter
rupt the boot
process and direct the boot PROM to boot from your old saved kernel (unix.save).
2. Press the Reset button.You see the System Maintenance Menu:
System Maintenance Menu
1) Start System.
2) Install System Software.
3) Run Diagnostics.
4) Recover System.
5) Enter Command Monitor.
3. Choose option 5 to enter the Command Monitor. You see:
Command Monitor. Type "exit" to return to the menu.
>>
4. Now at the >> prompt, tell the PROM to boot your old saved kernel. The command
is:
boot unix.save
The system boots the old saved kernel.
5. Once the system is running, use the following command to move your old saved
kernel to the default /unix name. This method also keeps a copy of your old saved
kernel in unix.save:
cp /unix.save /unix
Then you can normally boot the system while you investigate the problem with the new
kernel. Try to figure out what went wrong. What
was changed that stopped the kernel
from booting? Review the changes that you made.
?Did you increase/decrease a parameter by a large amount? If so, make the change
less drastic.
?Did you change more than one parameter? If so, make a change to only one
parameter at a time.
race 回复于:2002-08-13 11:30:04
|
good but too little next time more more more .........
|
microroad 回复于:2002-08-13 20:03:17
|
Very good! I also want to known the relation between autoconfig and lboot. Could you post something about lboot? Thanks!
|
sgi 回复于:2002-08-13 21:36:59
|
I only know the autoconfig command is used invoke lboot and other commands to generate a new kernel. but I know few about lboot in detail. If you know tell me!
Good luck!
|
microroad 回复于:2002-08-16 00:43:46
|
I want to config the knerl just like config dos at all time,so i want to know the relation between autoconfig and lboot. Now ,without your help,i don`t know when my idea will coming true!
|
原文转自:http://www.ltesting.net
|