免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 5437 | 回复: 4
打印 上一主题 下一主题

[SCO UNIX] How to Creating and Booting a New Kernel With autoconfig [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2002-08-12 22:54 |只看该作者 |倒序浏览
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, interrupt 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.

论坛徽章:
0
2 [报告]
发表于 2002-08-13 11:30 |只看该作者

How to Creating and Booting a New Kernel With autoconfig

good but too little
next time more more more .........

论坛徽章:
0
3 [报告]
发表于 2002-08-13 20:03 |只看该作者

How to Creating and Booting a New Kernel With autoconfig

Very good!
I also want to known the relation between autoconfig and lboot.
Could you post something about lboot?
Thanks!

论坛徽章:
0
4 [报告]
发表于 2002-08-13 21:36 |只看该作者

How to Creating and Booting a New Kernel With autoconfig

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!

论坛徽章:
0
5 [报告]
发表于 2002-08-16 00:43 |只看该作者

How to Creating and Booting a New Kernel With autoconfig

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!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP