[5916] in RedHat Linux List
Re: Recompiling Safety
daemon@ATHENA.MIT.EDU (Jason Kau)
Sun Nov 24 22:52:32 1996
From: Jason Kau <jason@r34h11.res.gatech.edu>
To: redhat-list@redhat.com
Date: Sun, 24 Nov 1996 22:49:35 -0500 (EST)
In-Reply-To: <199611250339.WAA09601@infinity> from "Craig" at Nov 24, 96 10:39:19 pm
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
> I'd like to recompile my kernel to support my Parallel ZIP
> drive, but I'm afraid bad things will happen. I've recompiled
> it before (for sound support), so I know the process. BUT, I've
> configured my system to where it runs almost perfectly. Are
> there any suggestions for recompiling with the greatest amount
> of safety for my existing system?
make config ; make dep ; make clean ; make zImage
This will create a compressed kernel in /usr/src/linux/arch/i386/boot
called 'zImage'. Copy it over to /boot and then add it to /etc/lilo.conf
as the first image. This will boot the new kernel as the default but
leave you with the RedHat vmlinuz in place. For example, here is my
lilo.conf. I created a new 2.0.26 kernel and listed it first. But the
old vmlinuz is still there. So, if something is wrong my new kernel, I
can hold down shift, get the LILO prompt, and boot the old kernel (which I
know works). (Remember to always run '/sbin/lilo' when you make any
changes to /etc/lilo.conf!)
image=/boot/zImage
label=linuxtest
root=/dev/sdb5
initrd=/boot/initrd
read-only
image=/boot/vmlinuz
label=linux
root=/dev/sdb5
initrd=/boot/initrd
read-only
other=/dev/sda1
label=dos
table=/dev/sda
jason kau
jason.kau@btc.gatech.edu
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null