Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Need to rebuild and install the kernel. Post 30120 by pudad on Thursday 17th of October 2002 04:39:46 AM
Old 10-17-2002
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 kernel source code) so then I command it to compile? I am kinda new to Linux (but learning it well enough) so don't give me too much grief Smilie. I think I just need to run "Makefile" ...
 

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 Advanced & Expert Users

best way to rebuild a kernel

i really have an issue with the otherwise outstading FreeBSD Handbook when it comes to kernel building. information on the proper steps to take is really confusing. i think that chapters 9 and 21 need to be combined to give a very concise format on how best to deal with kernel building/rebuidling... (1 Reply)
Discussion started by: xyyz
1 Replies

3. 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

4. UNIX for Dummies Questions & Answers

Kernel panic - not syncing == While RHEL AS install

I am trying to Install RHEL AS 4 on x86 pc, through VNC and got the below error, Am not pretty sure as how to resolve this. Can some one guide me through the process, or what might be missing.... Have Installed RHEL, many a times but cudnt find this out... Wud appreciate an early reply ......... (0 Replies)
Discussion started by: Crazy_murli
0 Replies

5. 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

6. UNIX for Dummies Questions & Answers

How to install kernel source?

During installation of one of driver i needed to Remove any earlier version drivers using make clean -r command. Where i m getting following error. # make clean -r Kernel source is not installed make: *** Error 1 My kernel version # uname -r 2.6.18-128.2.1.4.9.el5xen Where... (4 Replies)
Discussion started by: pinga123
4 Replies

7. Red Hat

How to properly install kernel in fedora 10?

Hello and thank you for looking into my question. Well my question is quite straight forward. I am trying to install the latest kernel ( from kernel.org under mainline directory ). But strange error messages are coming up. Can someone please guide me through steps how did you install kernel in... (2 Replies)
Discussion started by: lynxys
2 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. Debian

Debian install - kernel panic

Hello all, I would like to install Debian Jessie on my i386 When I boot from the installiso I see the menu and pick 'install'. The bios beeps once immediately and I get the following output: I 've tried 3 cd's already...(md5 sum=ok) this computer always ran... (13 Replies)
Discussion started by: drum159
13 Replies
KERNEL-INSTALL(8)						  kernel-install						 KERNEL-INSTALL(8)

NAME
kernel-install - Add and remove kernel and initramfs images to and from /boot SYNOPSIS
kernel-install COMMAND KERNEL-VERSION [KERNEL-IMAGE] DESCRIPTION
kernel-install is used to install and remove kernel and initramfs images to and from /boot. kernel-install will execute the files located in the directory /usr/lib/kernel/install.d/ and the local administration directory /etc/kernel/install.d/. All files are collectively sorted and executed in lexical order, regardless of the directory in which they live. However, files with identical filenames replace each other. Files in /etc/kernel/install.d/ take precedence over files with the same name in /usr/lib/kernel/install.d/. This can be used to override a system-supplied executables with a local file if needed; a symbolic link in /etc/kernel/install.d/ with the same name as an executable in /usr/lib/kernel/install.d/, pointing to /dev/null, disables the executable entirely. Executables must have the extension ".install"; other extensions are ignored. An executable should return 0 on success. It may also return 77 to cause the whole operation to terminate (executables later in lexical order will be skipped). COMMANDS
The following commands are understood: add KERNEL-VERSION KERNEL-IMAGE kernel-install creates the directory /boot/MACHINE-ID/KERNEL-VERSION/ and calls executables from /usr/lib/kernel/install.d/*.install and /etc/kernel/install.d/*.install with the arguments add KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/ KERNEL-IMAGE The kernel-install plugin 50-depmod.install runs depmod for the KERNEL-VERSION. The kernel-install plugin 90-loaderentry.install copies KERNEL-IMAGE to /boot/MACHINE-ID/KERNEL-VERSION/linux. It also creates a boot loader entry according to the boot loader specification in /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. The title of the entry is the PRETTY_NAME parameter specified in /etc/os-release or /usr/lib/os-release (if the former is missing), or "Linux KERNEL-VERSION", if unset. If the file initrd is found next to the linux file, the initrd will be added to the configuration. remove KERNEL-VERSION Calls executables from /usr/lib/kernel/install.d/*.install and /etc/kernel/install.d/*.install with the arguments remove KERNEL-VERSION /boot/MACHINE-ID/KERNEL-VERSION/ kernel-install removes the entire directory /boot/MACHINE-ID/KERNEL-VERSION/ afterwards. The kernel-install plugin 90-loaderentry.install removes the file /boot/loader/entries/MACHINE-ID-KERNEL-VERSION.conf. EXIT STATUS
If every executable returns 0 or 77, 0 is returned, and a non-zero failure code otherwise. FILES
/usr/lib/kernel/install.d/*.install /etc/kernel/install.d/*.install Drop-in files which are executed by kernel-install. /etc/kernel/cmdline /proc/cmdline The content of the file /etc/kernel/cmdline specifies the kernel command line to use. If that file does not exist, /proc/cmdline is used. /etc/machine-id The content of the file specifies the machine identification MACHINE-ID. /etc/os-release /usr/lib/os-release The content of the file specifies the operating system title PRETTY_NAME. SEE ALSO
machine-id(5), os-release(5), Boot loader specification[1] NOTES
1. Boot loader specification https://www.freedesktop.org/wiki/Specifications/BootLoaderSpec systemd 237 KERNEL-INSTALL(8)
All times are GMT -4. The time now is 08:02 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy