• --:)欢迎访问锋网源码(:--
  • 首页
  • RSS订阅
  • 常用软件
  • 网页模板
  • 网站运作
  • 锋网学院
  • 繁體中文

  • 学院首页
  • 新闻资讯
  • 网站运营
  • 网站开发
  • 美工设计
  • 数据库类
  • 服务器类
  • 网络应用
  • 操作系统
  • 软件教学
编程开发   认证考试   网络安全   文章搜索: 高级搜索
会员登录/控制面版 您的位置: 学院首页 >> 编程开发 >> shell教程 >> 文章内容
 

精彩推荐

 
 

本类推荐文章

 
 

本类阅读排行

  • shell编程例子--一个简单的目..
  • Shell介绍
  • Shell初学者的入门知识
  • shell编程例子--一个.login例..
  • Linux程式设计-11.ShellScri..
  • Shell编程
  • 从ifconfig中得到IP地址
  • Linux程式设计-11.ShellScri..
  • Linux程式设计-11.ShellScri..
  • shell要如何分类呢?
  • Linux程式设计-11.ShellScri..
  • Shell递归程序设计-目录列表
  • 两个很详细的shell实例
  • Shell介绍
  • Linux程式设计-11.ShellScri..
  • Bash中的变量
  • 批量添加用户
  • Linux程式设计-11.ShellScri..
  • Linux程式设计-11.ShellScri..
  • 我要如何将csh的stdout与std..
 
 

HowtoCreatingandBootingaNewKernelWithautoconfig

  • 日期:2007-10-20     人气:     出处:     作者:
  • 字体大小:
  • 小
  • 中
  • 大

IwillpostsometechtipaboutIrix,hopeitwillbeusefultoeveryone.

Tobuildanewkernelafterreconfiguringthesystem,followthesesteps:
1.Becomethesuperuserbygivingthecommand:
su
2.Makeacopyofyourcurrentkernelwiththecommand:
cp/unix/unix.save
3.Givethecommand:
/etc/autoconfig-f
Thiscommandcreatesanewkernelandplacesitinthefile/unix.install.
4.Rebootyoursystemwiththecommand:
reboot
Caution:Whenyouissuetherebootcommand,thesystemoverwritesthecurrentkernel
(/unix)withthekernelyouhavejustcreated(/unix.install).Thisiswhyyoushouldalways
copythecurrentkerneltoasafeplacebeforerebooting.

RecoveringFromanUnbootableKernel

1.Ifthesystemfailstoreboot,trytorebootitagain.Ifitstillfails,interrupttheboot
processanddirectthebootPROMtobootfromyouroldsavedkernel(unix.save).
2.PresstheResetbutton.YouseetheSystemMaintenanceMenu:
SystemMaintenanceMenu
1)StartSystem.
2)InstallSystemSoftware.
3)RunDiagnostics.
4)RecoverSystem.
5)EnterCommandMonitor.
3.Chooseoption5toentertheCommandMonitor.Yousee:
CommandMonitor.Type"exit"toreturntothemenu.
>>
4.Nowatthe>>prompt,tellthePROMtobootyouroldsavedkernel.Thecommand
is:
bootunix.save
Thesystembootstheoldsavedkernel.
5.Oncethesystemisrunning,usethefollowingcommandtomoveyouroldsaved
kerneltothedefault/unixname.Thismethodalsokeepsacopyofyouroldsaved
kernelinunix.save:
cp/unix.save/unix
Thenyoucannormallybootthesystemwhileyouinvestigatetheproblemwiththenew
kernel.Trytofigureoutwhatwentwrong.Whatwaschangedthatstoppedthekernel
frombooting?Reviewthechangesthatyoumade.
?Didyouincrease/decreaseaparameterbyalargeamount?Ifso,makethechange
lessdrastic.
?Didyouchangemorethanoneparameter?Ifso,makeachangetoonlyone
parameteratatime.

相关文章
  • QQ帮你突破网吧硬盘访问限制
  • 局域网内盗用IP的安全问题
  • 邮件安全攻略:只要糖衣不要炮弹
  • 手机病毒的分类及其防范措施
  • 如何防止黒客远程盗取QQ密码
  • 始料未及,谁在控制电脑重新启动
  • 网络常见木马的手工清除方法
  • 魔高一尺 道高一丈
  • 防火墙日志记录让蠕虫病毒无处可逃
  • 提防他人动用电脑另有妙招
相关软件

  • 网友评论:
  • 查看所有评论
  • 我要发表评论
 

关于本站 | 广告联系 | 版权声明 | 网站地图 | 加入收藏 | 帮助中心 |

Copyright © 2006-2007 fwvv.net  程序支持:木翼  皖ICP备06004916号