Hi Adam,
I believe the steps are:
cd /usr/src/linux
make mrproper (cleans up any old compile configs, doing this after
make menuconfig will wipe your kernel config - probably what's causing you
the trouble)
make menuconfig or make xconfig
make dep
make clean
make bzImage (or bzdisk to put it on floppy to try it first - I always
do this)
cd /lib/modules
mv 2.2.13-20 2.2.13-20.old (back up the old stuff)
cd /usr/src/linux
make modules
make modules_install
cp /boot/vmlinuz-2.2.12-20 /boot/vmlinuz-2.2.12-20.old
cp /usr/src/linux/arch/i386/boot/bzImage /boot/vmlinuz-2.2.13-20 (if
you did make bzImage earlier)
/sbin/lilo
reboot
good luck
Mike
> From: Adam Getchell[SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, November 18, 1999 9:09 PM
> To: [EMAIL PROTECTED]
> Subject: Kernel compilation loop
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello all,
>
> I have a moderately working 2.2.13-20 kernel on top of a 6.1 box
> (incrementally
> upgraded from 6.0 using rpm). My current kernel does not have modules or
> sound
> support, so I want to create a new one.
>
> I do a make xconfig and load my saved configuration file (from Eric
> Sisler's
> recommendation), which has modules and sound enabled. Then I do a make dep
> and
> make mrproper.
>
> However, once I do make bzimage, it runs me back through make config as if
> I
> hadn't specified choices previously, and invariably crashes (ie the
> terminal
> window dies).
>
> I tried using make menuconfig as well, and that produced the same results
> --
> ie, using bzimage runs through config again.
>
> Here's the detailed list of steps I went through for the first kernel
> build
> that upgraded me from 2.2.5-22 to 2.2.13-20. If there are any out of
> order, I'd
> like to hear about it!
>
> unpack kernel source in /usr/src
> make xconfig
> inspect Makefile
> make dep
> make mrproper
> make bzdisk (stuck here on second go-around)
> edit lilo.conf
> lilo
> make modules (failed, module support not enabled)
> (make modules_install once previous works)
> make checkconfig
> make checkhelp
> rm -rf /usr/include/linux /usr/include/asm
> ln -sf /usr/src/linux/include/linux /usr/include/linux
> ln -sf /usr/src/linux/include/asm /usr/include/asm
> depmod -a
> copy /usr/src/linux/System.map /boot/System.map-<kernelversion>
> rm /boot/System.map
> ln -s System.map-<kernelversion> System.map
>
> --
> ****************
> * Adam Getchell
> * [EMAIL PROTECTED]
> ****************
> "Invincibility is in oneself, vulnerability in the opponent." -- Sun Tzu
>
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 6.5.1
>
> iQA/AwUBODSnXkpJObkD8YxXEQJyHQCeM4w2edqMdZe9RlzIwcziEd3Fcl4AoLE0
> PLMldS9//D0Qh0KnpOPqbHIH
> =qctQ
> -----END PGP SIGNATURE-----
>
--
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.