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.
howtocreatingandbootinganewkernelwithautoconfig_shell教程
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » howtocreatingandbootinganewkernelwithautoconfig_shell教程
相关推荐
-      windows vista中如何用闪存保护资料_windows vista
-      vista的新特性:懒人的安全感_windows vista
-      当windows vista系统提示“内存不足”怎么办?_windows vista
-      windows vista为什么不允许两个用户同时登录_windows vista
-      十个提高windows vista系统性能的秘密_windows vista
-      在vista系统中任意设定鼠标滚动行数_windows vista
-      将升级的windows vista驱动还原到原来的版本_windows vista
-      卸载多重引导系统中的windows vista操作系统_windows vista