开发学院WEB开发综合 HowtoCreatingandBootingaNewKernelWithautoconfi... 阅读

HowtoCreatingandBootingaNewKernelWithautoconfig

 2006-03-05 11:32:33 来源:WEB开发网   
核心提示:IwillpostsometechtipaboutIrix,hopeitwillbeusefultoeveryone.Tobuildanewkernelafterreconfiguringthesystem,followthesesteps:1.Becomethesuperuserbygivingthecommand:

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.

[]
  • 好
  • 好的评价 如果觉得好,就请您
      0%(0)
  • 差
  • 差的评价 如果觉得差,就请您
      0%(0)
赞助商链接