SCIENTIFIC-LINUX-USERS Archives

December 2005

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
"Robert E. Blair" <[log in to unmask]>
Reply To:
Robert E. Blair
Date:
Mon, 5 Dec 2005 12:30:11 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (34 lines)
You can replace alot of this with "make install"  but you need to make 
the modules and install them first.  The "make install" takes care of 
the kernel build, the copying and the grub bits (but it needs the 
modules to do the mkinitrd part).
Ken Teh wrote:

>I need to rebuild the SL4.1 kernel to add support for JFS and XFS.  Are 
>there clever ways to do this?  I'm familiar with the brute-force method.
>
>make menuconfig             % to add JFS and XFS
>make bzImage
>make modules
>make modules_install
>
>cp bzImage, System.map to /boot
>mkinitrd to make a new boot image; I need to add my RAID driver which is
>    not in the kernel tree.
>edit /boot/grub.conf to add the new kernel image
>
>I tried the kernel's 'make install' but that failed.  Apparently, the
>kernel-release was not set up correctly.  I'm guessing that this is set up
>in the spec file and since I was doing this manually, some things got left
>out.
>
>What I need is to build it with the given spec file, but I need the build to
>use my new config file.  Do I simply add a patch file for the .config and
>fiddle the spec file to include it?
>
>I can do all this, but I'm curious if there is a cleverer way.
>
>Ken
>  
>

ATOM RSS1 RSS2