On Mon, May 09, 2005 at 09:50:52AM -0400, Brent wrote: > Hello, im running Freebsd 4.10 , When i first setup this box i re-compiled > the kernel for firewalling and such...which worked great ...i then tried to > tighten the box down even further...by compileing ICMP_BANDLIM which caused > problems for my webserver. Anywho ...is there a way i can tell my Freebsd box > when it power cycles to boot the old kernel automatically ? At this point im > having to tell it manually to load kernel.old > > any help is greatly appreciated
Your last previous kernel and module set should normally be saved as the file /kernel.old and the directory /modules.old/ on your root file system. If you haven't gone through multiple build cycles, you can do this, or the equivalent steps: # cd / # ln kernel kernel.bad && mv kernel.old kernel # mv modules modules.bad && mv modules.old modules Then reboot: # shutdown -r now 'Reboot into restored kernel' If you went through multiple build cycles with the new parameters, then you're torqued; you'll need to go through a fresh build cycle with a corrected kernel config. This is why it's a good idea to back up a known good copy of your kernel and modules before you start tinkering. Doesn't hurt to always keep a GENERIC kernel around too. -- Clifton -- Clifton Royston -- [EMAIL PROTECTED] Tiki Technologies Lead Programmer/Software Architect "I'm gonna tell my son to grow up pretty as the grass is green And whip-smart as the English Channel's wide..." -- 'Whip-Smart', Liz Phair _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"