Kernel Config

FreeBSD, Gentoo, openSUSE, CentOS, Ubuntu, Debian
Post Reply
cosmicboy
Posts: 146
Joined: 2003-02-04 13:28
 

Kernel Config

Post by cosmicboy »

Wenn ich einen neuen Kernel basteln will, der - bis auf eine kleine Ã?nderung - genau gleich sein soll, wie der alter Kernel, aber ich die .hdepend zerschossen habe, wie bekomme ich das dann noch hin? denn wenn ich die .hdepend lösche, dann habe ich wieder eine Standard-kernel-Konfig...

Danke für eure Tipps...
-Thorsten
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Kernel Config

Post by Joe User »

ähm, Du suchst nicht die .hdepend, sondern die .config{,.bak} :wink:
cosmicboy
Posts: 146
Joined: 2003-02-04 13:28
 

Re: Kernel Config

Post by cosmicboy »

Das dachte ich eigentlich auch. Nur statt eines "make menuconfig" machte ich ein "make dep" welches ich mit CTRL-C abbrach und sind das nicht mehr meine Konfigurationen, bzw ich konnte danach "make menuconfig" nicht mehr starten, weil in der .hdepends ein Fehler war.
User avatar
Joe User
Project Manager
Project Manager
Posts: 11191
Joined: 2003-02-27 01:00
Location: Hamburg
Contact:
 

Re: Kernel Config

Post by Joe User »

Code: Select all

cd /usr/src/linux
cp .config ..
make mrproper
cp ../.config .config
make menuconfig
make dep
make bzImage
make modules
make modules_install
cp System.map /boot/System.map-2.4.22
cp arch/i386/boot/bzImage /boot/vmlinuz-2.4.22
ln -sf vmlinuz-2.4.22 /boot/vmlinuz
cd ~
cosmicboy
Posts: 146
Joined: 2003-02-04 13:28
 

Re: Kernel Config

Post by cosmicboy »

Vielen Dank! Mr. Proper hat geholfen!
Post Reply