|
HowtoCreatingandBootingaNewKernelWithautoconfig
发表日期:2006-3-5
|
|
|
|
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. | | |