Sponsored Content
Full Discussion: best way to rebuild a kernel
Top Forums UNIX for Advanced & Expert Users best way to rebuild a kernel Post 33996 by WIntellect on Wednesday 29th of January 2003 04:47:42 AM
Old 01-29-2003
Kernel build?

The details you have provided are NOT for a kernel build, but are in fact for a FreeBSD upgrade - it's called a "make buildworld" process.

In fact, a kernel build (and only a kernal build) is as follows:

(1) cd /usr/src/sys/i386/conf
(2) make a copy of GENERIC and call it something else, eg MYKERNEL
(3) edit MYKERNEL correctly
(4) /sbin/config MYKERNEL
(5) cd ../../config/MYKERNEL
(6) make depend
(7) make
(8) make install
(9) if all has gone well, reboot!

I have summarised Chapter 9.3 of the handbook:
http://www.freebsd.org/doc/en_US.ISO...-building.html

Let me know if you have any further problems
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Don't Know to Rebuild Linux Kernel(URGENT)

Hello. I'm installing Oracle8i on Red Hat Linux Server 7.0. The Oracle documentation has some preinstallation request to be carried before installing the Oracle software. It asks to modify some SEMAPHORE & SHARED MEMORY values in to a specified file. And finally after updating this values it... (2 Replies)
Discussion started by: S.Vishwanath
2 Replies

2. UNIX for Dummies Questions & Answers

Need to rebuild and install the kernel.

Trying to install some ide raid drivers (to add some more hdds) and the instrcutions have toled me to modify some code in the kernel folder in usr/src (this is mandrake linux 9 btw). I need to then rebuild the kernel, how do I do this? Is there some file that I bring up for a whole c project (the... (2 Replies)
Discussion started by: pudad
2 Replies

3. UNIX for Dummies Questions & Answers

Rebuild command

I want to convert a Microfocus Sequential file to a Line Sequential Variable file. The reason I want to do this is so that I can upload the file from a UNIX box to a PC as a text file. I know that there is a command called "rebuild" that will allow me to convert the files, but I can not get it to... (1 Reply)
Discussion started by: douknownam
1 Replies

4. HP-UX

How to rebuild a new disk

Hi.... I newbee to this and wanted help on hpux11 system. Disk is being replaced and need to rebuild and what r the commands I need to perform after the disk is swapped :confused: Thanks! (1 Reply)
Discussion started by: catwomen
1 Replies

5. UNIX for Advanced & Expert Users

Error wile rebuild the kernel

Hi!!! I installed the patch: DUV40F16-C0040500-10245-Manual-20010328 to avoid a reboot problem in my server, AlphaServer 4100 with Tru64 4.0F. When the patch instalation finished I rebuild the kernel like this: # duconfig -c ORACLE-TEST Start de rebuild and a few minutes after appear... (0 Replies)
Discussion started by: irasela
0 Replies

6. Programming

Rebuild the Dev of a non UNIX kernel...

My name for this post may be a bit off but basically I would like to take go though the same proses that kernel developers went though to build other kernels that are based on UNIX such as Linux, And do it from scratch IE. starting with the base UNIX and building on to it. So I in theory could... (0 Replies)
Discussion started by: DevSer2279
0 Replies

7. BSD

rebuild the portsystem

hi Howto rebuild the whole portsystem on freeBSD? THX (3 Replies)
Discussion started by: ccc
3 Replies

8. UNIX for Dummies Questions & Answers

Kernel not rebuild

hi, system operation: unix sco 3.2.4 Kernel not rebuild, do not remove or update tcp/ip e3H0 driver. messages: cat:cannot open../sdevice.d/5 line:5.1 32 -1 fatal error:mdevice:wrong number of fields idmaster:device do not exist in therefore can not be update idinstall: cannot... (0 Replies)
Discussion started by: milen
0 Replies

9. Red Hat

redhat rebuild kernel

Hi expert, I goes to # pwd /usr/src/kernels/2.6.32-279.el6.x86_64 then I make bzImage I meet error # make CHK include/linux/version.h CHK include/linux/utsrelease.h SYMLINK include/asm -> include/asm-x86 make: *** No rule to make target `missing-syscalls'. Stop. make:... (1 Reply)
Discussion started by: yanglei_fage
1 Replies

10. Linux

I need help rebuild ext3 filesystem

hi to all I wanted to edit a enigma2 image to my box .. the image is root.img .. Analysed then I have the picture and I have this: parted root.img WARNING: You are not superuser. Watch out for permissions. GNU Parted 2.2 Using /home/soft/Bureau/enigma2/root.img Welcome to GNU Parted! Type... (3 Replies)
Discussion started by: soft
3 Replies
doconfig(8)						      System Manager's Manual						       doconfig(8)

Name
       doconfig - a program to aid system configuration

Syntax
       /etc/doconfig [-c config_file] [-e ed_script]

Description
       The  shell  script modifies a copy of the GENERIC configuration file for a new ULTRIX system kernel.  The script prompts you for the system
       name.  If the system name does not currently exist, a system configuration file with that system name is built.

       Whether the configuration file is built or not, the script then allows you to edit, configure, and build until both the	configuration  and
       the kernel build run without errors.  Additional runs of can be made to tune the configuration further.

       When new hardware is added to a system, the configuration file should be updated to reflect the new system configuration.  When updating an
       existing configuration file or creating a new configuration file with the system must be operating the generic kernel or new  hardware  may
       not be found.  To successfully complete the process, follow these steps:

       1.   Save the running as

       2.   Move to

       3.   Reboot the system to single user mode.

       4.   Check file systems.

       5.   Mount the file system.

       6.   Run the program.  (When execution is complete, make a note of the message prints showing the path and location of the new

       7.   Move to

       8.   Copy the new (from the message noted above) to

       9.   Reboot the system.

Options
       -c     The  name  of  the  existing  configuration  file should be supplied without specifying the pathname.  This file should exist in the
	      directory.  A new kernel is built using the specified configuration file.

       -e     When specified, the configuration file is edited by the ed script before building the new kernel.

Files
See Also
       ed(1), config(8)
       Basic Installation Guide
       Guide to System Configuration File Maintenance

								       RISC							       doconfig(8)
All times are GMT -4. The time now is 12:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy