Re: Core 3 Kernel reconfiguration.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Malcolm Candlish wrote:
Having read seemingly extensively on reconfiguring my core 3 kernel, I
thought I would write a simple method for this list. However, I have got
so far and hit a problem. Please can some one help.

Kernel reconfiguration for Fedora Core 3. (AMD64 not sure this is
relevant).

Work within a terminal.
su
password
vi /etc/sysconfig/kernel
 (Check that line beginning with UPGRADEDEFAULT ends in YES. If not,
delete no and change to YES).

Only do this if you want newly-installed kernels to be the default.

mkdir /usr/src/redhat
mkdir /usr/src/redhat/Build
mkdir /usr/src/redhat/RPMS
mkdir /usr/src/redhat/SOURCES
mkdir /usr/src/redhat/SPECS

If you have the rpm-build package installed, you will already have these directories.


 (Obtain a src.rpm.kernel from either the source CD on via the internet
by command: up2date --get-source kernel   ).

rpm -i /home/malcolm/kernel-2.6.9-1.667.src.rpm
 (Use your own path).
cd /usr/src/redhat/SPEC

"S" missing from end of directory name.

rpmbuild -bp --target=/usr/src/redhat/SPECS/kernel-2.6.spec

# rpmbuild -bp --target i686 /usr/src/redhat/SPECS/kernel-2.6.spec

Change "i686" to whatever is appropriate for your architecture.

At this point all I get is 'syntax error'.
After this point I hope to copy from old boot config to new kernel
config and then use 'make xconfig' to enable missing hardware.

Any comments will be appreciated and if successful other core 3 users
may find some value here.

Isn't this reinventing the wheel, given that the document at http://crab-lab.zool.ohiou.edu/kevin/kernel-compilation-tutorial-en/ covers most of this?


Paul.


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux