OxyScripts.com
Menu spacer Home Tutorials Articles Code Forums irc.freenode.net #oxyscripts
Main (PHP)
Home Forums PHP News PHP Tutorials Articles PHP Code Snippets Contact Us Sysadmin Resources Books Template Shop
3rd Party Streams
SlashDot PHPDeveloper.org PHP.Net
Resources
PHP Manual MySQL Manual Smarty Manual PEAR Manual PHP-GTK Manual Symfony Manual
Code Snippets
Authentication Database Graphics HTTP Miscellaneous Time/Date
Affiliates
Scripts TutorialMan TutorialGuide CodingForums.com PHP Scripts Cheap Web Hosting Affordable Web Hosting Dreamweaver Templates

Search This Site :     PHP Function Reference :

Compiling The Kernel

2005-01-17 16:11:05, 10402 views, from category Top Level -> Sysadmin Resources -> OS Level -> FreeBSD

DANGER - make sure you know what you're doing with this!

This works on FreeBSD 4.10 (and maybe others)

1. Go to /usr/src/sys/i386/conf

2. Copy a kernel config file for your new kernel. A good one to go with is the GENERIX kernel so you might issue cp GENERIC MYKERNEL if yoy wanted to create a new kernel called 'MYKERNEL'.

3. Make any necessary changes to the MYKERNEL file.

4. Run /usr/sbin/config MYKERNEL.

5. Type cd ../../compile/MYKERNEL to go to the kernel compile directory.

6. Type make depend

7. Type make

8. Type make install

Now your new kernel will be loaded when you reboot.

If it fails to load and you get no access at all, you'll need access to a serial console to load an old kernel. When the OS is booting, you'll get an option to 'hit any key' to stop the boot; do this and then:

1. Type unload

2. Type load kernel.GENERIC

3. Type boot

That will boot the old GENERIC kernel up.
 
   Print this page

Top Sponsor
Symantec\'s Norton SystemWorks 2006
Sponsors
CA
Sponsors
AdWords Dominator 125*125
Advertisting

Affiliates
VertexTemplates PHPFreaks CodeWalkers StarGeek DevScripts CGI & PHP Scripts PHP CMS

Shopping Rebates   Sell It 4 You   Flash Page Counters   Get Insured
GPS Tracking Service   Charity Donate Info   Web Site Hosting   VOIP Service

Privacy Policy | Links | Site Map | Advertising

All content on OxyScripts.com is (©)2002-2007

 
Powered by Adrastea - Version 1.0.0. Copyright © Rune Solutions, 2004-2005